From 90943dd32237e9e1c9f0cd66e33b2145c26883ff Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期一, 25 九月 2023 14:14:47 +0800
Subject: [PATCH] feat: 侧边栏样式调整; 表格组件样式调整; 新增搜索组件; 销售线索模块布局样式调整

---
 src/views/sales/salesOpportunity/index.vue |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/views/sales/salesOpportunity/index.vue b/src/views/sales/salesOpportunity/index.vue
index 7d04bf4..7ba373f 100644
--- a/src/views/sales/salesOpportunity/index.vue
+++ b/src/views/sales/salesOpportunity/index.vue
@@ -159,10 +159,10 @@
           { label: "閿�鍞満浼氱紪鍙�", prop: "number" }, // 閿�鍞満浼氱紪鍙�
           { label: "鑱旂郴浜哄鍚�", prop: "contact_name", min: 100, isContactClick: true }, // 鑱旂郴浜哄鍚�
           { label: "閿�鍞樁娈�", prop: "sale_stage_name" }, // 閿�鍞樁娈�
-          { label: "鍙兘鎬�(%)", prop: "possibilities" }, // 鍙兘鎬�
+          { label: "鍙兘鎬�(%)", prop: "possibility_name" }, // 鍙兘鎬�
           { label: "棰勮鎴愪氦鏃ユ湡", prop: "expected_time", min: 130 }, // 棰勮鎴愪氦鏃ユ湡
           { label: "棰勮鍚堝悓閲戦", prop: "projected_amount" }, // 棰勮鍚堝悓閲戦
-          { label: "棰勭畻缁濆鍊�", prop: "capital_budget" }, // 棰勭畻缁濆鍊�
+          { label: "棰勭畻缁濆鍊�", prop: "budget" }, // 棰勭畻缁濆鍊�
           { label: "閿�鍞礋璐d汉", prop: "member_name" } // 閿�鍞礋璐d汉
         ]
       }
@@ -190,7 +190,9 @@
                   ...item,
                   client_name: item.client.name,
                   contact_name: item.contact.name,
-                  sale_stage_name: item.sale_stage.name
+                  sale_stage_name: item.sale_stage.name,
+                  member_name: item.member.username,
+                  possibility_name: item.possibility.name
                 }
               })
               this.tableList.tableInfomation = list || []
@@ -281,7 +283,13 @@
     selContactsClick(row) {
       console.log(row)
       this.contactsDeail.visible = true
-      this.contactsDeail.infomation = { ...row.contact, sale_chance_name: row.name, sale_chance_id: row.id }
+      this.contactsDeail.infomation = {
+        ...row.contact,
+        sale_chance_name: row.name,
+        sale_chance_id: row.id,
+        Client: { name: row.client.name, client_status_id: row.client.client_status_id },
+        client_name: row.name
+      }
     },
     // 鏈轰細鍚嶇О璇︽儏
     selCommonClick(row) {

--
Gitblit v1.8.0