From 46ed69e3b72658140a40127f4bae16bef9a02d56 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期一, 21 八月 2023 11:23:34 +0800
Subject: [PATCH] bug修复
---
src/views/client/salesLead/index.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/client/salesLead/index.vue b/src/views/client/salesLead/index.vue
index ad1e2e0..ee03fb4 100644
--- a/src/views/client/salesLead/index.vue
+++ b/src/views/client/salesLead/index.vue
@@ -136,10 +136,10 @@
{ label: "閿�鍞嚎绱㈢紪鍙�", prop: "number", min: 130 }, // 閿�鍞嚎绱㈢紪鍙�
{ label: "鑱旂郴浜哄鍚�", prop: "contact_name", min: 130 }, // 鑱旂郴浜哄鍚�
{ label: "鎵嬫満鍙风爜", prop: "contact_phone", min: 130 }, // 鎵嬫満鍙风爜
- { label: "鍟嗘満鏉ユ簮", prop: "sales_sources_id", min: 130 }, // 鍟嗘満鏉ユ簮
+ { label: "鍟嗘満鏉ユ簮", prop: "sales_resources", min: 130 }, // 鍟嗘満鏉ユ簮
{ label: "鐪佷唤", prop: "province", min: 130 }, // 鐪佷唤
{ label: "鍩庡競", prop: "city", min: 130 }, // 鍩庡競
- { label: "璐熻矗浜�", prop: "member_id", min: 130 } // 璐熻矗浜�
+ { label: "璐熻矗浜�", prop: "member_name", min: 130 } // 璐熻矗浜�
]
}
this.searchOptions = []
@@ -161,7 +161,9 @@
return {
...item,
province: item.Province.name,
- city: item.City.name
+ city: item.City.name,
+ sales_resources: item.sales_sources.name,
+ member_name: item.member.username
}
})
this.tableList.tableInfomation = list || []
@@ -175,7 +177,7 @@
searchClick(val, content) {
console.log(val, content)
this.search_map = {
- [val]: content
+ [val.value]: content
}
this.getData()
},
@@ -187,7 +189,7 @@
addBtnClick() {
this.editSalesLeadConfig.visible = true
this.editSalesLeadConfig.title = "鏂板缓"
- this.editSalesLeadConfig.infomation = { businessStatus: "鏂板缓" }
+ this.editSalesLeadConfig.infomation = { businessStatus: "鏂板缓", city_id: 0 }
},
// 缂栬緫
handleClick(row) {
--
Gitblit v1.8.0