|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
<el-tab-pane label="跟进信息" name="follow"> |
|
|
|
|
<el-button type="primary" @click="handleAppendFollow">新增跟进人</el-button> |
|
|
|
|
<el-table :data="followList"> |
|
|
|
|
<el-table-column label="跟进人"> |
|
|
|
|
<el-table-column label="跟进人" width="180px"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="row.userId" |
|
|
|
@ -24,13 +24,23 @@ |
|
|
|
|
</el-select> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="nextFollowTime" label="下次跟进时间"> |
|
|
|
|
<el-table-column prop="nextFollowTime" label="下次跟进时间" width="180px"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="row.nextFollowTime" |
|
|
|
|
type="date" |
|
|
|
|
placeholder="选择日期时间" |
|
|
|
|
:disabled="!row.editable" |
|
|
|
|
style="width: 100%" |
|
|
|
|
/> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="content" label="跟进内容"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="row.content" |
|
|
|
|
placeholder="输入跟进内容" |
|
|
|
|
:disabled="!row.editable" |
|
|
|
|
/> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
@ -304,6 +314,7 @@ async function handleSave() { |
|
|
|
|
function handleAppendFollow() { |
|
|
|
|
followList.value.push({ |
|
|
|
|
userId: undefined, |
|
|
|
|
content: undefined, |
|
|
|
|
nextFollowTime: formatDate(new Date()), |
|
|
|
|
editable: true |
|
|
|
|
}) |
|
|
|
|