深海科学与工程研究所安全巡检系统
祖安之光
2025-09-17 65754ee1f4e42fe6b2a44b76fde14d134c661e9d
src/views/saftyCheckMng/securityCheckStatistic/index.vue
@@ -20,10 +20,10 @@
    <!-- 表格数据 -->
    <el-table v-loading="loading" :data="deptList" :border="true" row-key="deptId" default-expand-all :tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
      <el-table-column prop="deptName" label="部门名称" align="center"></el-table-column>
      <el-table-column prop="checkCount" label="检查状态" align="center">
      <el-table-column label="检查状态" align="center">
        <template #default="scope">
          <el-tag v-if="scope.row.checkCount > 0" type="success">已检查</el-tag>
          <el-tag v-else type="danger">未检查</el-tag>
          <el-tag v-if="scope.row.safety == '1' && scope.row.checkCount > 0" type="success">已检查</el-tag>
          <el-tag v-if="scope.row.safety == '1' && scope.row.checkCount == 0" type="danger">未检查</el-tag>
        </template>
      </el-table-column>
    </el-table>