From bd42b949807795c581e9193d92834a6187fc10d2 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 15 八月 2023 18:42:59 +0800 Subject: [PATCH] 销售管理模块联调 --- src/views/client/client/index.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/client/client/index.vue b/src/views/client/client/index.vue index c321210..2b858d5 100644 --- a/src/views/client/client/index.vue +++ b/src/views/client/client/index.vue @@ -28,7 +28,6 @@ /> <div class="btn-pager"> <PublicFunctionBtnView - :duplicate-check="true" :list-button="true" :map-button="true" :statistics="true" @@ -145,11 +144,11 @@ { label: "瀹㈡埛鍚嶇О", prop: "name", min: 100, isClientClick: true }, // 瀹㈡埛鍚嶇О { label: "閿�鍞礋璐d汉", prop: "member_name" }, // 閿�鍞礋璐d汉 { label: "閲嶈绾у埆", prop: "client_level" }, // 閲嶈绾у埆 - { label: "涓嬫鍥炶鏃ユ湡", prop: "next_visit_time", isTime: true, min: 90 }, // 涓嬫鍥炶鏃ユ湡 + { label: "涓嬫鍥炶鏃ユ湡", prop: "next_visit_time", min: 90 }, // 涓嬫鍥炶鏃ユ湡 { label: "璇︾粏鍦板潃", prop: "detail_address", min: 200 }, // 璇︾粏鍦板潃 { label: "瀹㈡埛鐘舵��", prop: "client_status" }, // 瀹㈡埛鐘舵�� { label: "鑱旂郴浜哄鍚�", prop: "contact_name", isContactClick: true }, // 鑱旂郴浜哄鍚� - { label: "鎵嬫満鍙风爜", prop: "contact_phone" } // 鎵嬫満鍙风爜 + { label: "鑱旂郴浜烘墜鏈哄彿鐮�", prop: "contact_phone" } // 鎵嬫満鍙风爜 ] } this.searchOptions = [] @@ -174,11 +173,13 @@ const list = res.data.list.map((item) => { let contact_name = "" let contact_phone = "" + let contact_id = 0 if (item.contacts.length !== 0) { for (let i = 0; i < item.contacts.length; i++) { if (item.contacts[i].is_first) { contact_name = item.contacts[i].name contact_phone = item.contacts[i].phone + contact_id = item.contacts[i].id } } } @@ -187,7 +188,9 @@ contact_name: contact_name, contact_phone: contact_phone, client_level: item.client_level.name, - client_status: item.client_status.name + client_status: item.client_status.name, + contact_id: contact_id, + member_name: item.member.username } }) this.tableList.tableInfomation = list || [] @@ -225,7 +228,7 @@ addBtnClick() { this.editConfig.visible = true this.editConfig.title = "鏂板缓" - this.editConfig.infomation = {} + this.editConfig.infomation = { city_id: 0 } }, // 缂栬緫 handleClick(row) { -- Gitblit v1.8.0