From 8d02c80fbed5887266bcf99d9ab9b2b3938449c6 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期五, 01 四月 2022 17:13:47 +0800
Subject: [PATCH] 自查清单

---
 src/views/safetyproduction/gojudging.vue |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/views/safetyproduction/gojudging.vue b/src/views/safetyproduction/gojudging.vue
index ef0c5e1..30a46e0 100644
--- a/src/views/safetyproduction/gojudging.vue
+++ b/src/views/safetyproduction/gojudging.vue
@@ -16,7 +16,7 @@
           </el-row>
           <el-row>
             <el-col :span="24">
-              <el-table border :data="item.child">
+              <el-table border :data="item.child" :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}">
                 <el-table-column
                   prop="standardizationRequirements"
                   align="center"
@@ -41,10 +41,10 @@
                 <el-table-column align="center" label="评审结果">
                   <template slot-scope="scope">
                     <span v-if="(scope.row.safetyInspectionItemResult== 0)"
-                      >是</span
+                      >否决</span
                     >
                     <span v-if="(scope.row.safetyInspectionItemResult == 1)"
-                      >否</span
+                      >扣分</span
                     >
                   </template>
                 </el-table-column>
@@ -72,7 +72,7 @@
                 </template>
                 </el-table-column>
                 <el-table-column
-                  prop=""
+                  prop="remark"
                   align="center"
                   label="备注"
                 ></el-table-column>
@@ -124,14 +124,12 @@
   methods: {
     safeInitem(id) {
       safetySelfInspectionInfo({ id: id }).then((res) => {
-        // console.log("数据", res);
         if (res.data.code == 200) this.list = res.data.result;
         var arr = this.checkSameDataA(this.list.itemList);
         for (var i = 0; i < arr.length; i++) {
           arr[i].child = this.checkSameData(arr[i].child);
         }
         this.lists = arr;
-        console.log(this.lists)
       });
     },
     checkSameDataA(resData) {
@@ -165,7 +163,6 @@
       return list;
     },
     handleClick(data) {
-      console.log(data.id);
       this.$router.push({
         path: "/review",
         query: {
@@ -198,4 +195,4 @@
 .titles {
   font-size: 14px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.2