gaoluyang
2026-08-20 293a46e85cff3af59633cff50a2514cdbd7e8c0b
src/views/equipmentManagement/inspectionManagement/index.vue
@@ -52,7 +52,7 @@
                  total: total,
                  layout: 'total, sizes, prev, pager, next, jumper'
                }"
                  :table-style="{ width: '100%', height: 'calc(100vh - 23em)' }">
                  :table-style="{ width: '100%'}">
          <template #inspector="{ row }">
            <div class="person-tags">
              <!-- 调试信息,上线时删除 -->
@@ -71,12 +71,18 @@
            </div>
          </template>
          <template #status="{ row }">
            <el-tag v-if="row.status === 'EXPIRED'"
            <el-tag v-if="row.status === 'COMPLETED'"
                    type="success"
                    size="small">已完成巡检</el-tag>
            <el-tag v-else-if="row.status === 'IN_PROGRESS_EXPIRED'"
                    type="danger"
                    size="small">已过期</el-tag>
                    size="small">巡检中(已过期)</el-tag>
            <el-tag v-else-if="row.status === 'IN_PROGRESS'"
                    type="warning"
                    size="small">巡检中</el-tag>
            <el-tag v-else-if="row.status === 'EXPIRED'"
                    type="danger"
                    size="small">已过期</el-tag>
            <el-tag v-else
                    type="info"
                    size="small">待巡检</el-tag>