From 6291de84d5f68f1f1cd90031c18183a2c1489555 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 11 八月 2023 18:20:04 +0800
Subject: [PATCH] 销售模块 删除和查询

---
 src/views/client/followupRecords/index.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/client/followupRecords/index.vue b/src/views/client/followupRecords/index.vue
index bb04e8b..060adca 100644
--- a/src/views/client/followupRecords/index.vue
+++ b/src/views/client/followupRecords/index.vue
@@ -129,10 +129,13 @@
   created() {
     this.setTable()
     if (!this.isDetail) {
-      this.getData()
+      this.search_map = {}
     } else {
-      this.tableList.tableInfomation = this.followRecord
+      this.search_map = {
+        [this.addConfig.id_name]: this.addConfig.id
+      }
     }
+    this.getData(this.search_map)
   },
   methods: {
     setTable() {
@@ -146,7 +149,7 @@
           { label: "鑱旂郴鏂瑰紡", prop: "phone", min: 100 }, // 鑱旂郴鏂瑰紡
           { label: "鑱旂郴浜烘棩鏈�", prop: "follow_time", isTime: true, min: 130 }, // 鑱旂郴浜烘棩鏈�
           { label: "涓嬫鍥炶鏃ユ湡", prop: "next_follow_time", isTime: true, min: 130 }, // 涓嬫鍥炶鏃ユ湡
-          { label: "璐熻矗浜�", prop: "member_id", min: 110 }, // 璐熻矗浜�
+          { label: "璐熻矗浜�", prop: "member_name", min: 110 }, // 璐熻矗浜�
           { label: "璺熻繘璁板綍", prop: "record", min: 130 } // 璺熻繘璁板綍
         ]
       }
@@ -175,7 +178,8 @@
                   client_name: item.client.name,
                   contact_name: item.contact.name,
                   client_status_id: item.client.client_status_id,
-                  phone: item.contact.phone
+                  phone: item.contact.phone,
+                  member_name: item.member.username
                 }
               })
               this.tableList.tableInfomation = list || []

--
Gitblit v1.8.0