heyang 1 年間 前
コミット
4d26774d74
共有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"/>