浏览代码

Merge branch '3.3.7-scxjy' of http://192.168.1.43:3000/git/sass-lab-web into 3.3.7-scxjy

dedsudiyu 1 年之前
父节点
当前提交
b15bd25136
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/safetyCheck/dataStatistics/safetyHazardStatistics.vue

+ 3 - 1
src/views/safetyCheck/dataStatistics/safetyHazardStatistics.vue

@@ -91,7 +91,9 @@
       </el-table-column>
       <el-table-column label="不符合项" align="center" prop="hazardCheckPoint" show-overflow-tooltip width="260">
         <template slot-scope="scope">
-          {{scope.row.hazardCheckCode}} {{scope.row.hazardCheckPoint}}
+          <span>{{scope.row.hazardCheckCode}}</span>
+          <span v-if="scope.row.checkCategory==1">{{scope.row.hazardCheckPoint}}</span>
+          <span v-if="scope.row.checkCategory!=1">{{scope.row.hazardCheckName}}</span>
         </template>
       </el-table-column>
       <el-table-column label="历史出现次数" align="center" prop="sumTotal" show-overflow-tooltip width="120"/>