From a90cf43e7a1f41dcde401ed1fd118b0f90d7c3f5 Mon Sep 17 00:00:00 2001
From: cqf
Date: 星期四, 26 五月 2022 11:41:49 +0800
Subject: [PATCH] 举一反三隐患-存在

---
 src/views/safetyproduction/checklist.vue |   65 +++++++++++++++++++++++++-------
 1 files changed, 51 insertions(+), 14 deletions(-)

diff --git a/src/views/safetyproduction/checklist.vue b/src/views/safetyproduction/checklist.vue
index 778720d..1010be4 100644
--- a/src/views/safetyproduction/checklist.vue
+++ b/src/views/safetyproduction/checklist.vue
@@ -64,34 +64,69 @@
             >
           </el-row>
           <el-row>
-            <el-col :span="2"><p class="title">企业达标标准:</p></el-col>
-            <el-col :span="9"
+            <el-col :span="2"><p class="titles">企业达标标准:</p></el-col>
+            <el-col :span="22"
               ><p class="title-type">
                 {{ item.enterpriseStandard }}
               </p></el-col
             >
-            <el-col :span="2" :offset="1"
-              ><p class="title">评审方法:</p></el-col
+            <!-- <el-col :span="2" :offset="1"
+              ><p class="titles">评审方法:</p></el-col
             >
             <el-col :span="10"
+              ><p class="title-type">
+                {{ item.reviewMethod }}
+              </p></el-col
+            > -->
+          </el-row>
+            <el-row>
+            <!-- <el-col :span="2"><p class="titles">企业达标标准:</p></el-col>
+            <el-col :span="9"
+              ><p class="title-type">
+                {{ item.enterpriseStandard }}
+              </p></el-col
+            > -->
+            <el-col :span="2"
+              ><p class="titles">评审方法:</p></el-col
+            >
+            <el-col :span="22"
               ><p class="title-type">
                 {{ item.reviewMethod }}
               </p></el-col
             >
           </el-row>
           <el-row>
-            <el-col :span="2"><p class="title">否决项:</p></el-col>
-            <el-col :span="9"
+            <el-col :span="2"><p class="titles">否决项:</p></el-col>
+            <el-col :span="22"
               ><p class="title-type">
                 {{ item.veto }}
               </p></el-col
             >
-            <el-col :span="2" :offset="1"
-              ><p class="title">扣分项:</p></el-col
+            <!-- <el-col :span="2" :offset="1"
+              ><p class="titles">扣分项:</p></el-col
             >
             <el-col :span="10"
               ><p class="title-type">
-                {{ item.deductionList[index].name}}
+                {{ item.deductionList}}
+              </p></el-col
+            > -->
+          </el-row>
+             <el-row>
+            <!-- <el-col :span="2"><p class="titles">否决项:</p></el-col>
+            <el-col :span="9"
+              ><p class="title-type">
+                {{ item.veto }}
+              </p></el-col
+            > -->
+            <el-col :span="2"
+              ><p class="titles">扣分项:</p></el-col
+            >
+            <el-col :span="22"
+              ><p class="title-type">
+                <!-- {{ item.deductionList}} -->
+                <span style="line-height:20px" v-for="(item,index) in item.deductionList" :key="index">
+                  {{item.name}}
+                </span>
               </p></el-col
             >
           </el-row>
@@ -373,11 +408,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