From ee6ea1e6886d9432dc31d42158786a6b06027760 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 13 三月 2025 13:20:58 +0800 Subject: [PATCH] 实验室检测能力档案-编辑弹框复制报错 --- src/views/CNAS/process/method/standardMethod/index.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/CNAS/process/method/standardMethod/index.vue b/src/views/CNAS/process/method/standardMethod/index.vue index 03f64ba..20ed971 100644 --- a/src/views/CNAS/process/method/standardMethod/index.vue +++ b/src/views/CNAS/process/method/standardMethod/index.vue @@ -194,12 +194,7 @@ name: "缂栬緫", type: "text", clickFun: (row) => { - this.title = "缂栬緫"; - this.addForm = row; - this.addForm.structureTestObjectId = JSON.parse( - this.addForm.structureTestObjectId - ); - this.addDlog = true; + this.openEdit(row) }, }, { @@ -281,6 +276,14 @@ this.addForm = {}; this.addDlog = true; }, + openEdit(row) { + this.title = "缂栬緫"; + this.addDlog = true; + this.addForm = this.HaveJson(row) + this.addForm.structureTestObjectId = JSON.parse( + this.addForm.structureTestObjectId + ); + }, getQualificationList() { this.getDicts("cnas_method_qualification").then((response) => { let arr = response.data.map((m) => { @@ -353,6 +356,7 @@ } }); }, + // 鍒犻櫎 handleDelete(row) { this.$confirm("鏄惁鍒犻櫎璇ユ潯鏁版嵁?", "鎻愮ず", { confirmButtonText: "纭畾", -- Gitblit v1.9.3