This commit is contained in:
qsh
2024-06-26 18:24:45 +08:00
parent f63104591b
commit 848830a21b
9 changed files with 169 additions and 145 deletions

View File

@@ -24,10 +24,10 @@
</el-select>
</template>
</el-table-column>
<el-table-column prop="followTime" label="下次跟进时间">
<el-table-column prop="nextFollowTime" label="下次跟进时间">
<template #default="{ row }">
<el-date-picker
v-model="row.followTime"
v-model="row.nextFollowTime"
type="date"
placeholder="选择日期时间"
:disabled="!row.editable"
@@ -266,7 +266,7 @@ async function handleSave() {
message.info('请将跟进人填写完整!')
return
}
if (!address.value) {
if (appStore.getAppInfo?.instanceType == 1 && !address.value) {
message.info('请选择学员位置!')
return
}
@@ -304,7 +304,7 @@ async function handleSave() {
function handleAppendFollow() {
followList.value.push({
userId: undefined,
followTime: formatDate(new Date()),
nextFollowTime: formatDate(new Date()),
editable: true
})
}