|
|
|
@ -301,7 +301,9 @@ |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
<el-button v-if="!remarkInfo.isEnroll" type="primary" @click="handleSave">提 交</el-button> |
|
|
|
<el-button v-if="!remarkInfo.isEnroll && info.clueId" type="primary" @click="handleSave"> |
|
|
|
|
|
|
|
提 交 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -321,6 +323,7 @@ import { getSimpleFieldList } from '@/api/clue/orderField' |
|
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
|
import { getDictOptions } from '@/utils/dict' |
|
|
|
import { getDictOptions } from '@/utils/dict' |
|
|
|
import { componentMap } from '@/components/Form/src/componentMap' |
|
|
|
import { componentMap } from '@/components/Form/src/componentMap' |
|
|
|
|
|
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
|
|
|
|
|
|
|
|
|
const form = ref({}) |
|
|
|
const form = ref({}) |
|
|
|
|
|
|
|
|
|
|
|
@ -337,6 +340,7 @@ const formLoading = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
const route = useRoute() |
|
|
|
const route = useRoute() |
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
|
|
|
|
|
const userStore = useUserStore() |
|
|
|
|
|
|
|
|
|
|
|
const showSchema = ref([]) |
|
|
|
const showSchema = ref([]) |
|
|
|
|
|
|
|
|
|
|
|
@ -350,24 +354,32 @@ onMounted(() => { |
|
|
|
// 这里可以调用API获取会议详情数据 |
|
|
|
// 这里可以调用API获取会议详情数据 |
|
|
|
getClueRemarkByRemarkId({ remarkId: route.params.id }).then((response) => { |
|
|
|
getClueRemarkByRemarkId({ remarkId: route.params.id }).then((response) => { |
|
|
|
remarkInfo.value = response |
|
|
|
remarkInfo.value = response |
|
|
|
resetForm() |
|
|
|
if ( |
|
|
|
getOptions() |
|
|
|
userStore.getUser?.id != remarkInfo.value.remarkUser && |
|
|
|
getDiyFields() |
|
|
|
userStore.getUser?.id != remarkInfo.value.followUser |
|
|
|
ClueApi.getClue(remarkInfo.value.clueId).then((data) => { |
|
|
|
) { |
|
|
|
info.value = { ...data, ...data.diyParams, signInfo: remarkInfo.value.signInfo } |
|
|
|
message.error('无权限操作该登记页面!') |
|
|
|
let str = '' |
|
|
|
return |
|
|
|
if (!remarkInfo.value.remarkContent.includes(data.name)) { |
|
|
|
} else { |
|
|
|
// 提示姓名不一致 |
|
|
|
resetForm() |
|
|
|
str += '学员姓名不一致' |
|
|
|
getOptions() |
|
|
|
} |
|
|
|
getDiyFields() |
|
|
|
if (!remarkInfo.value.remarkContent.includes(data.phone)) { |
|
|
|
ClueApi.getClue(remarkInfo.value.clueId).then((data) => { |
|
|
|
// 提示姓名不一致 |
|
|
|
info.value = { ...data, ...data.diyParams, signInfo: remarkInfo.value.signInfo } |
|
|
|
str += '手机号不一致' |
|
|
|
let str = '' |
|
|
|
} |
|
|
|
if (!remarkInfo.value.remarkContent.includes(data.name)) { |
|
|
|
if (str.length) { |
|
|
|
// 提示姓名不一致 |
|
|
|
message.warning(`请注意:${str}`) |
|
|
|
str += '学员姓名不一致' |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
if (!remarkInfo.value.remarkContent.includes(data.phone)) { |
|
|
|
|
|
|
|
// 提示姓名不一致 |
|
|
|
|
|
|
|
str += '手机号不一致' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (str.length) { |
|
|
|
|
|
|
|
message.warning(`请注意:${str}`) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// 关闭网页 |
|
|
|
// 关闭网页 |
|
|
|
|