From 66ff10d00c244ac4aac3b252f70b7ebff122eeaf Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 22 Jan 2024 09:35:59 +0800 Subject: [PATCH] =?UTF-8?q?=20CRM=EF=BC=9Acode=20review=20=E8=B7=9F?= =?UTF-8?q?=E8=BF=9B=E8=AE=B0=E5=BD=95=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/followup/index.ts | 4 ++-- src/views/crm/followup/FollowUpRecordForm.vue | 4 ++++ src/views/crm/followup/components/BusinessTableSelect.vue | 4 ++++ src/views/crm/followup/components/ContactTableSelect.vue | 4 ++++ 4 files changed, 14 insertions(+), 2 deletions(-) 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 @@ +