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 |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/src/views/client/contacts/DetailContacts.vue b/src/views/client/contacts/DetailContacts.vue
index 83f8206..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>
@@ -164,7 +164,9 @@
       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() {},
@@ -191,7 +193,7 @@
         },
         {
           leftStr: "棣栬鑱旂郴浜�",
-          leftValue: item.is_first,
+          leftValue: item.is_first ? "鏄�" : "鍚�",
           rightStr: "寰俊鍙�",
           rightValue: item.wechat
         },
@@ -202,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