From f417dc0a44d225d4ed19bcb5207250eb1b669455 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 25 八月 2023 12:45:09 +0800 Subject: [PATCH] bug修复 --- src/views/client/contacts/DetailContacts.vue | 27 +++++++++++++++------------ 1 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/views/client/contacts/DetailContacts.vue b/src/views/client/contacts/DetailContacts.vue index b886609..3a1f128 100644 --- a/src/views/client/contacts/DetailContacts.vue +++ b/src/views/client/contacts/DetailContacts.vue @@ -10,7 +10,7 @@ <template slot="title"> <div class="header"> <span class="header-label">鑱旂郴浜哄鍚�</span> - <span class="header-title">{{ detailConfig.infomation.contact_name }}</span> + <span class="header-title">{{ detailConfig.infomation.name }}</span> </div> </template> <div class="content"> @@ -22,7 +22,7 @@ <div>璺熻繘璁板綍<el-badge type="primary" :value="2"> </el-badge></div> </template> --> </el-tab-pane> - <el-tab-pane label="閿�鍞槑缁嗗崟" name="detail"></el-tab-pane> + <!-- <el-tab-pane label="閿�鍞槑缁嗗崟" name="detail"></el-tab-pane> --> <el-tab-pane label="鏈嶅姟鍚堝悓" name="serviceContract"></el-tab-pane> </el-tabs> </div> @@ -112,10 +112,10 @@ <FollowupRecords :isDetail="true" :add-config="addConfig" /> </div> <div v-if="activeName === 'detail'" class="second"> - <SalesDetails :isDetail="true" /> + <SalesDetails :isDetail="true" :add-config="addConfig" /> </div> <div v-if="activeName === 'serviceContract'" class="second"> - <ServiceContract :isDetail="true" /> + <ServiceContract :isDetail="true" :add-config="addConfig" /> </div> </div> </el-drawer> @@ -157,13 +157,16 @@ created() { this.setData(this.detailConfig.infomation) this.addConfig = { - id_name: "contact_id", + id_name: "contact_name", id: this.detailConfig.infomation.id, + common_name: this.detailConfig.infomation.name, client_name: this.detailConfig.infomation.client_name, contact_name: this.detailConfig.infomation.name, client_status_id: this.detailConfig.infomation.Client.client_status_id, contact_id: this.detailConfig.infomation.id, - client_id: this.detailConfig.infomation.client_id + client_id: this.detailConfig.infomation.client_id, + keyword: this.detailConfig.infomation.name, + keywordType: "鑱旂郴浜哄鍚�" } }, mounted() {}, @@ -190,7 +193,7 @@ }, { leftStr: "棣栬鑱旂郴浜�", - leftValue: item.is_first, + leftValue: item.is_first ? "鏄�" : "鍚�", rightStr: "寰俊鍙�", rightValue: item.wechat }, @@ -201,15 +204,15 @@ rightValue: item.email }, { - leftStr: "绛惧埌", - leftValue: "", - rightStr: "涓嬫鍥炶鏃ユ湡", + leftStr: "涓嬫鍥炶鏃ユ湡", + leftValue: item.Client.next_visit_time, + rightStr: "鏈�鏂拌仈绯绘棩鏈�", rightValue: "" }, { - leftStr: "鏈�鏂拌仈绯绘棩鏈�", + leftStr: "鏈仈绯诲ぉ鏁�", leftValue: "", - rightStr: "鏈仈绯诲ぉ鏁�", + rightStr: "", rightValue: "" } ] -- Gitblit v1.8.0