From 84dfaf7b7ee6f4fccf5dfe7534c81ab2687a2b07 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期五, 13 十月 2023 17:19:48 +0800 Subject: [PATCH] feat: 所有请求都走拦截器 --- src/views/client/followupRecords/index.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/client/followupRecords/index.vue b/src/views/client/followupRecords/index.vue index e593d33..0e14e4a 100644 --- a/src/views/client/followupRecords/index.vue +++ b/src/views/client/followupRecords/index.vue @@ -255,16 +255,19 @@ }, // 鏂板缓 addBtnClick() { - this.editConfig.visible = true this.editConfig.title = "鏂板缓" this.editConfig.infomation = { ...this.addConfig } + this.editConfig.visible = true }, // 缂栬緫 handleClick(row) { console.log(row) - this.editConfig.visible = true 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: "", sales_leads_name: "" } + this.editConfig.visible = true }, // 鍒犻櫎 delClick(id) { -- Gitblit v1.8.0