From 9628517b8bd8174f2774a8160bf98c694d6032ac Mon Sep 17 00:00:00 2001 From: puhui999 Date: Sat, 20 Jan 2024 18:56:24 +0800 Subject: [PATCH] =?UTF-8?q?CRM:=20=E8=B7=9F=E8=BF=9B=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crm/followup/FollowUpRecordForm.vue | 21 ++--- .../crm/followup/components/BusinessList.vue | 2 +- .../components/BusinessListSelectForm.vue | 79 ----------------- .../components/BusinessTableSelect.vue | 84 +++++++++++++++++++ .../crm/followup/components/ContactList.vue | 2 +- .../components/ContactTableSelect.vue | 83 ++++++++++++++++++ src/views/crm/followup/components/index.ts | 4 +- 7 files changed, 183 insertions(+), 92 deletions(-) delete mode 100644 src/views/crm/followup/components/BusinessListSelectForm.vue create mode 100644 src/views/crm/followup/components/BusinessTableSelect.vue create mode 100644 src/views/crm/followup/components/ContactTableSelect.vue diff --git a/src/views/crm/followup/FollowUpRecordForm.vue b/src/views/crm/followup/FollowUpRecordForm.vue index c15315c0..294f0495 100644 --- a/src/views/crm/followup/FollowUpRecordForm.vue +++ b/src/views/crm/followup/FollowUpRecordForm.vue @@ -31,7 +31,6 @@ /> - @@ -72,13 +71,13 @@ 取 消 + + diff --git a/src/views/crm/followup/components/BusinessTableSelect.vue b/src/views/crm/followup/components/BusinessTableSelect.vue new file mode 100644 index 00000000..5a34484e --- /dev/null +++ b/src/views/crm/followup/components/BusinessTableSelect.vue @@ -0,0 +1,84 @@ + + + diff --git a/src/views/crm/followup/components/ContactList.vue b/src/views/crm/followup/components/ContactList.vue index 2cd7ccf0..5e31718a 100644 --- a/src/views/crm/followup/components/ContactList.vue +++ b/src/views/crm/followup/components/ContactList.vue @@ -69,7 +69,7 @@ const props = withDefaults(defineProps<{ contactIds: number[] }>(), { const list = ref([] as ContactApi.ContactVO[]) const getContactList = async () => { list.value = (await ContactApi.getContactListByIds( - props.contactIds + unref(props.contactIds) )) as unknown as ContactApi.ContactVO[] } watch( diff --git a/src/views/crm/followup/components/ContactTableSelect.vue b/src/views/crm/followup/components/ContactTableSelect.vue new file mode 100644 index 00000000..6790d6e1 --- /dev/null +++ b/src/views/crm/followup/components/ContactTableSelect.vue @@ -0,0 +1,83 @@ + + + diff --git a/src/views/crm/followup/components/index.ts b/src/views/crm/followup/components/index.ts index b3e7f257..48d90daa 100644 --- a/src/views/crm/followup/components/index.ts +++ b/src/views/crm/followup/components/index.ts @@ -1,4 +1,6 @@ import BusinessList from './BusinessList.vue' +import BusinessTableSelect from './BusinessTableSelect.vue' import ContactList from './ContactList.vue' +import ContactTableSelect from './ContactTableSelect.vue' -export { BusinessList, ContactList } +export { BusinessList, BusinessTableSelect, ContactList, ContactTableSelect }