From a8f67f4b4ae03095d54d538378396855eb7448af Mon Sep 17 00:00:00 2001 From: zy Date: Sun, 11 May 2025 20:54:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crm/customer/detail/index.vue | 4 ++-- .../detail/returnvisitrecord/ReturnVisitRecordForm.vue | 1 + src/views/crm/customer/detail/returnvisitrecord/index.vue | 2 ++ src/views/crm/followup/FollowUpRecordForm.vue | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue index 50ed13220..8385aa723 100644 --- a/src/views/crm/customer/detail/index.vue +++ b/src/views/crm/customer/detail/index.vue @@ -8,9 +8,9 @@ > 编辑 - + 更改成交状态 diff --git a/src/views/crm/customer/detail/returnvisitrecord/ReturnVisitRecordForm.vue b/src/views/crm/customer/detail/returnvisitrecord/ReturnVisitRecordForm.vue index 0d45ed4df..a9b39e401 100644 --- a/src/views/crm/customer/detail/returnvisitrecord/ReturnVisitRecordForm.vue +++ b/src/views/crm/customer/detail/returnvisitrecord/ReturnVisitRecordForm.vue @@ -162,6 +162,7 @@ const submitForm = async () => { const data = { ...formData.value, contactIds: formData.value.contacts.map((item) => item.id), + fileUrls: [formData.value.fileUrls] } as unknown as ReturnVisitRecordVO await ReturnVisitRecordApi.createReturnVisitRecord(data) message.success(t('common.createSuccess')) diff --git a/src/views/crm/customer/detail/returnvisitrecord/index.vue b/src/views/crm/customer/detail/returnvisitrecord/index.vue index 4efa0a1b6..316558488 100644 --- a/src/views/crm/customer/detail/returnvisitrecord/index.vue +++ b/src/views/crm/customer/detail/returnvisitrecord/index.vue @@ -155,6 +155,8 @@ const exportLoading = ref(false) // 导出的加载中 const getList = async () => { loading.value = true try { + // queryParams.bizType = props.bizType + queryParams.customerId = props.bizId const data = await ReturnVisitRecordApi.getReturnVisitRecordPage(queryParams) list.value = data.list total.value = data.total diff --git a/src/views/crm/followup/FollowUpRecordForm.vue b/src/views/crm/followup/FollowUpRecordForm.vue index 362bbb3d4..cbd2dbbe1 100644 --- a/src/views/crm/followup/FollowUpRecordForm.vue +++ b/src/views/crm/followup/FollowUpRecordForm.vue @@ -137,7 +137,8 @@ const submitForm = async () => { const data = { ...formData.value, contactIds: formData.value.contacts.map((item) => item.id), - businessIds: formData.value.businesses.map((item) => item.id) + businessIds: formData.value.businesses.map((item) => item.id), + fileUrls: [formData.value.fileUrls] } as unknown as FollowUpRecordVO await FollowUpRecordApi.createFollowUpRecord(data) message.success(t('common.createSuccess'))