From 574e3e7390170182bef474164597ce719b2327bd Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期三, 24 七月 2024 17:44:57 +0800
Subject: [PATCH] fix:解决crm,之前改了域名,处理各种异常状态,跳转也会出现异常等问题。
---
src/views/client/followupRecords/index.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/views/client/followupRecords/index.vue b/src/views/client/followupRecords/index.vue
index 592b2bb..5edba03 100644
--- a/src/views/client/followupRecords/index.vue
+++ b/src/views/client/followupRecords/index.vue
@@ -50,7 +50,7 @@
</div>
</div>
<!-- 鏂板缓/缂栬緫璺熻繘璁板綍 -->
- <AddFollowupRecordsDialog v-if="editConfig.visible" :edit-contacts-config="editConfig" />
+ <AddFollowupRecordsDialog :is-detail="isDetail" v-if="editConfig.visible" :edit-contacts-config="editConfig" />
<!-- 鑱旂郴浜鸿鎯� -->
<DetailContacts v-if="contactsDeail.visible" :contacts-detail="contactsDeail" />
<!-- 瀹㈡埛璇︽儏 -->
@@ -171,10 +171,11 @@
if (this.addConfig.keywordType === "閿�鍞満浼�") {
content = this.addConfig.id
} else {
- content = this.addConfig.common_name
+ content = this.addConfig.id
}
this.search_map = {
- [this.addConfig.id_name]: content
+ // [this.addConfig.id_name]: content
+ contact_id: content
}
}
this.getData(this.search_map)
@@ -249,21 +250,24 @@
},
// 鎼滅储
onFilterSearch(searchText) {
- this.search_map.name = searchText ?? ""
+ this.search_map.client_name = searchText ?? ""
this.pagerOptions.currPage = 1
this.getData()
},
// 鏂板缓
addBtnClick() {
this.editConfig.title = "鏂板缓"
- this.editConfig.infomation = { ...this.addConfig }
+ this.editConfig.infomation = { ...this.addConfig ,contact_name:"",sales_leads_name:"",sale_chance_name:""}
this.editConfig.visible = true
},
// 缂栬緫
handleClick(row) {
console.log(row)
this.editConfig.title = "缂栬緫"
- this.editConfig.infomation = { ...row, sale_chance_name: "", sales_leads_name: "" }
+ let config=JSON.parse(JSON.stringify(row));
+ config.client_status_id=config.client_status_id?config.client_status_id:null
+ config.contact_information_id=config.contact_information_id?config.contact_information_id:null
+ this.editConfig.infomation = { ...config, sale_chance_name:row.sale_chance.name, sales_leads_name: "" }
this.editConfig.visible = true
},
// 鍒犻櫎
--
Gitblit v1.8.0