From 46129e27c760b767b43c258423a3b07ad724f38d Mon Sep 17 00:00:00 2001 From: songhuangfeng123 <shf18767906695@163.com> Date: 星期四, 07 四月 2022 15:49:56 +0800 Subject: [PATCH] fix --- src/views/safetyproduction/checklist.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/safetyproduction/checklist.vue b/src/views/safetyproduction/checklist.vue index 778720d..0e5bdec 100644 --- a/src/views/safetyproduction/checklist.vue +++ b/src/views/safetyproduction/checklist.vue @@ -91,7 +91,7 @@ > <el-col :span="10" ><p class="title-type"> - {{ item.deductionList[index].name}} + {{ item.deductionList}} </p></el-col > </el-row> @@ -373,11 +373,13 @@ }); }, safetyInspectionItemL(data) { - this.listQuery.filter.elementB = data.value; - safetyInspectionItemList(this.listQuery).then((res) => { - this.list = res.data.result.records; - console.log("xxx",this.list) - }); + if (data.type== 1) { + this.listQuery.filter.elementB = data.value; + safetyInspectionItemList(this.listQuery).then((res) => { + this.list = res.data.result.records; + console.log(123,this.list) + }); + } }, safetyInspectionItemC(id, type) { this.show = false; -- Gitblit v1.9.2