From 78cf30802189becef2725af73f37b5d2cb28600f Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 11 八月 2023 10:57:48 +0800 Subject: [PATCH] 新建跟进记录入参修改 --- src/views/client/contacts/DetailContacts.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/client/contacts/DetailContacts.vue b/src/views/client/contacts/DetailContacts.vue index 45574a1..98716b9 100644 --- a/src/views/client/contacts/DetailContacts.vue +++ b/src/views/client/contacts/DetailContacts.vue @@ -109,7 +109,7 @@ </div> </div> <div v-if="activeName === 'second'" class="second"> - <FollowupRecords :isDetail="true" /> + <FollowupRecords :isDetail="true" :add-config="addConfig" /> </div> <div v-if="activeName === 'detail'" class="second"> <SalesDetails :isDetail="true" /> @@ -150,11 +150,18 @@ isAddressExpand: true, // 鍦板潃淇℃伅 addressInfoList: [], isRemarkExpand: true, // 澶囨敞淇℃伅 - isAnnexExpand: true // 闄勪欢淇℃伅 + isAnnexExpand: true, // 闄勪欢淇℃伅 + addConfig: {} } }, created() { this.setData(this.detailConfig.infomation) + this.addConfig = { + contact: this.detailConfig.infomation.id, + client_name: this.detailConfig.infomation.client_name, + contact_name: this.detailConfig.infomation.name, + client_status_id: this.detailConfig.infomation.Client.client_status_id + } }, mounted() {}, methods: { -- Gitblit v1.8.0