diff --git a/src/api/crm/followup/index.ts b/src/api/crm/followup/index.ts index 852d8079..504879d3 100644 --- a/src/api/crm/followup/index.ts +++ b/src/api/crm/followup/index.ts @@ -7,8 +7,8 @@ export interface FollowUpRecordVO { bizId: number // 数据编号 type: number // 跟进类型 content: string // 跟进内容 - picUrls: string[] - fileUrls: string[] + picUrls: string[] // 图片 + fileUrls: string[] // 附件 nextTime: Date // 下次联系时间 businessIds: number[] // 关联的商机编号数组 contactIds: number[] // 关联的联系人编号数组 diff --git a/src/views/crm/followup/FollowUpRecordForm.vue b/src/views/crm/followup/FollowUpRecordForm.vue index 294f0495..5a0bdf61 100644 --- a/src/views/crm/followup/FollowUpRecordForm.vue +++ b/src/views/crm/followup/FollowUpRecordForm.vue @@ -141,14 +141,18 @@ const submitForm = async () => { } } +/** 关联联系人 */ const contactTableSelectRef = ref>() const handleAddContact = () => { contactTableSelectRef.value?.open() } + +/** 关联商机 */ const businessTableSelectRef = ref>() const handleAddBusiness = () => { businessTableSelectRef.value?.open() } + /** 重置表单 */ const resetForm = () => { formRef.value?.resetFields() diff --git a/src/views/crm/followup/components/BusinessTableSelect.vue b/src/views/crm/followup/components/BusinessTableSelect.vue index 5a34484e..de2db616 100644 --- a/src/views/crm/followup/components/BusinessTableSelect.vue +++ b/src/views/crm/followup/components/BusinessTableSelect.vue @@ -1,3 +1,4 @@ +