From 23d80c1b64f23ede237ab8e89ebc2ee2aaf43f26 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 19 七月 2023 19:32:10 +0800
Subject: [PATCH] 销售模块接口联调

---
 src/views/client/contacts/index.vue |   61 ++++++++++++++++--------------
 1 files changed, 32 insertions(+), 29 deletions(-)

diff --git a/src/views/client/contacts/index.vue b/src/views/client/contacts/index.vue
index 00d264c..bf3e1e8 100644
--- a/src/views/client/contacts/index.vue
+++ b/src/views/client/contacts/index.vue
@@ -118,21 +118,23 @@
       this.editConfig.visible = true
       this.editConfig.title = "鏂板缓"
       this.editConfig.infomation = {
-        customName: "",
-        contactNumber: "LEA50",
-        contactName: "",
-        contactDuties: "",
-        phoneNumber: "",
-        businessStatus: "鏂板缓",
-        businessSource: "1",
-        owner: "",
+        name: "",
+        number: "",
+        client_id: "",
+        phone: "",
         position: "",
-        map: "",
-        country: "1",
-        province: "1",
-        city: "1",
-        region: "1",
-        address: ""
+        member_id: "",
+        is_first: false,
+        wechat: "",
+        birthday: "",
+        email: "",
+        nextFollowupDate: "",
+        country_id: "",
+        province_id: "",
+        city_id: "",
+        region_id: "",
+        postalCode: "",
+        desc: ""
       }
     },
     // 缂栬緫
@@ -141,21 +143,22 @@
       this.editConfig.visible = true
       this.editConfig.title = "缂栬緫"
       this.editConfig.infomation = {
-        customName: row.customName,
-        saleLeadNumber: row.saleLeadNumber,
-        contactName: row.contactName,
-        contactDuties: row.contactDuties,
-        phoneNumber: row.phoneNumber,
-        businessStatus: "鏂板缓",
-        businessSource: row.businessSource,
-        owner: row.owner,
-        position: "",
-        map: "",
-        country: "1",
-        province: "1",
-        city: "1",
-        region: "1",
-        address: ""
+        id: row.id,
+        birthday: row.birthday,
+        city_id: row.city_id,
+        client_id: 0,
+        country_id: row.country_id,
+        desc: row.desc,
+        email: row.email,
+        is_first: row.is_first || false,
+        member_id: row.member_id,
+        name: row.name,
+        number: row.number,
+        phone: row.phone,
+        position: row.position,
+        province_id: row.province_id,
+        region_id: row.region_id,
+        wechat: row.wechat
       }
     }
   }

--
Gitblit v1.8.0