From 46129e27c760b767b43c258423a3b07ad724f38d Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: Thu, 07 Apr 2022 15:49:56 +0800
Subject: [PATCH] fix
---
src/views/safetyproduction/checklist.vue | 27 +++++++++++++++++++++++----
1 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/src/views/safetyproduction/checklist.vue b/src/views/safetyproduction/checklist.vue
index 4c0019b..0e5bdec 100644
--- a/src/views/safetyproduction/checklist.vue
+++ b/src/views/safetyproduction/checklist.vue
@@ -79,6 +79,22 @@
</p></el-col
>
</el-row>
+ <el-row>
+ <el-col :span="2"><p class="title">否决项:</p></el-col>
+ <el-col :span="9"
+ ><p class="title-type">
+ {{ item.veto }}
+ </p></el-col
+ >
+ <el-col :span="2" :offset="1"
+ ><p class="title">扣分项:</p></el-col
+ >
+ <el-col :span="10"
+ ><p class="title-type">
+ {{ item.deductionList}}
+ </p></el-col
+ >
+ </el-row>
</div>
</div>
<!-- 修改 -->
@@ -357,10 +373,13 @@
});
},
safetyInspectionItemL(data) {
- this.listQuery.filter.elementB = data.value;
- safetyInspectionItemList(this.listQuery).then((res) => {
- this.list = res.data.result.records;
- });
+ 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