From 1249ca8ff44f8de7992fdb5866eae19613d606c3 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 16 八月 2023 19:37:49 +0800 Subject: [PATCH] 详情页联调 --- src/views/client/contacts/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/client/contacts/index.vue b/src/views/client/contacts/index.vue index 279ab6b..d3c4b98 100644 --- a/src/views/client/contacts/index.vue +++ b/src/views/client/contacts/index.vue @@ -122,7 +122,9 @@ if (!this.isDetail) { this.search_map = {} } else { - this.search_map = { ...this.addConfig } + this.search_map = { + [this.addConfig.id_name]: this.addConfig.client_name + } } this.getData(this.search_map) }, @@ -137,7 +139,7 @@ { label: "鑱屽姟", prop: "position", min: 120 }, // 鑱屽姟 { label: "鎵嬫満", prop: "phone", min: 100 }, // 鎵嬫満鍙风爜 { label: "閿�鍞礋璐d汉", prop: "member_name", min: 120 }, // 閿�鍞礋璐d汉 - { label: "棣栬鑱旂郴浜�", prop: "is_first", min: 90 } // 棣栬鑱旂郴浜� + { label: "棣栬鑱旂郴浜�", prop: "is_first", isFirst: true, min: 90 } // 棣栬鑱旂郴浜� ] } this.searchOptions = [] @@ -163,7 +165,6 @@ return { ...item, client_name: item.Client.name, - is_first: item.is_first ? "鏄�" : "鍚�", client_id: item.Client.id, member_name: item.member.username } @@ -200,6 +201,7 @@ addBtnClick() { this.editConfig.visible = true this.editConfig.title = "鏂板缓" + console.log(this.addIdConfig) this.editConfig.infomation = { ...this.addConfig } }, // 缂栬緫 -- Gitblit v1.8.0