From 42c2e3eaa5eacdf5de44482de146130c0b590e41 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期一, 16 十月 2023 20:24:35 +0800 Subject: [PATCH] 跟进记录,联系人、销售机会、销售线索表格根据客户名称筛选 --- src/views/other/commonDialog/SelectContactDialog.vue | 5 +++-- src/views/other/commonDialog/SelectChanceDialog.vue | 5 +++-- src/views/other/commonDialog/SelectLeadDialog.vue | 5 +++-- src/views/client/followupRecords/AddFollowupRecordsDialog.vue | 6 ++++++ 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/views/client/followupRecords/AddFollowupRecordsDialog.vue b/src/views/client/followupRecords/AddFollowupRecordsDialog.vue index 1fa08a8..32f712f 100644 --- a/src/views/client/followupRecords/AddFollowupRecordsDialog.vue +++ b/src/views/client/followupRecords/AddFollowupRecordsDialog.vue @@ -492,16 +492,19 @@ editVisible: false, title: "", infomation: {}, + search_map:{} }, editSelectChanceConfig: { editVisible: false, title: "", infomation: {}, + search_map:{}, }, editSelectLeadConfig: { editVisible: false, title: "", infomation: {}, + search_map:{}, }, clientId: this.editContactsConfig.infomation.client_id, contactId: this.editContactsConfig.infomation.contact_id, @@ -668,6 +671,9 @@ }, async handleSelectClient(value, item) { if (value === "client") { + this.editSelectContactConfig.search_map.client_id=item.id + this.editSelectChanceConfig.search_map.client_id=item.id + this.editSelectLeadConfig.search_map.client_id=item.id await getContactList({ search_map:{ client_id:item.id diff --git a/src/views/other/commonDialog/SelectChanceDialog.vue b/src/views/other/commonDialog/SelectChanceDialog.vue index 2814fbc..2d8af06 100644 --- a/src/views/other/commonDialog/SelectChanceDialog.vue +++ b/src/views/other/commonDialog/SelectChanceDialog.vue @@ -54,7 +54,8 @@ return { editVisible: false, title: "", - infomation: {} + infomation: {}, + search_map:{} } } } @@ -121,7 +122,7 @@ async getData() { this.loading = true await getSaleChanceList({ - search_map: this.search_map, + search_map: this.editCommonConfig.search_map, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }) diff --git a/src/views/other/commonDialog/SelectContactDialog.vue b/src/views/other/commonDialog/SelectContactDialog.vue index 7e578d5..515a796 100644 --- a/src/views/other/commonDialog/SelectContactDialog.vue +++ b/src/views/other/commonDialog/SelectContactDialog.vue @@ -54,7 +54,8 @@ return { editVisible: false, title: "", - infomation: {} + infomation: {}, + search_map:{}, } } } @@ -120,7 +121,7 @@ async getData() { this.loading = true await getContactList({ - search_map: this.search_map, + search_map: this.editCommonConfig.search_map, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }) diff --git a/src/views/other/commonDialog/SelectLeadDialog.vue b/src/views/other/commonDialog/SelectLeadDialog.vue index f60f85a..df7f079 100644 --- a/src/views/other/commonDialog/SelectLeadDialog.vue +++ b/src/views/other/commonDialog/SelectLeadDialog.vue @@ -59,7 +59,8 @@ return { editVisible: false, title: "", - infomation: {} + infomation: {}, + search_map:{}, } } } @@ -93,7 +94,7 @@ async getData() { this.loading = true await getSalesLeadsList({ - search_map: this.search_map, + search_map: this.editCommonConfig.search_map, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }) -- Gitblit v1.8.0