| | |
| | | </el-table-column> |
| | | <el-table-column prop="taskStatus" show-overflow-tooltip label="巡查任务状态"> |
| | | <template v-slot="{ row }"> |
| | | {{ getDictLabel(row.taskStatus, dictObj.taskStatus) }} |
| | | <span :style="{color: colors?.[row?.taskStatus]}"> |
| | | {{ getDictLabel(row.taskStatus, dictObj.taskStatus) }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="executeTime" show-overflow-tooltip label="任务执行时间" /> |
| | |
| | | const activeName = ref('all') |
| | | provide('dictObj', dictObj) |
| | | |
| | | const colors = { |
| | | 0: '#F6A000',//0待签收 |
| | | 1: '#FF0202',//1拒绝签收 |
| | | 2: '#FF0202',//2已撤回 |
| | | 3: '#212BF4',//3待审核 |
| | | 4: '#FF0000',//4审核驳回 |
| | | 5: '#0068F0',//5审核通过 |
| | | 6: '#FD6716',//6待验收 |
| | | 7: '#FF0000',//7拒绝验收 |
| | | 8: '#019612',//8验收通过 |
| | | } |
| | | |
| | | |
| | | // 获取列表 |
| | | async function getList() { |
| | | const range = dateRangeFormat(dateRange.value) |