forked from drone/command-center-dashboard

张含笑
2025-04-18 f6081ae6fe292e4e68a8adbcf9606bbb205ba054
feat: 修改任务状态
1 files modified
8 ■■■■ changed files
src/views/TaskManage/TaskIntermediateContent/TaskIntermediateContent.vue 8 ●●●● patch | view | raw | blame | history
src/views/TaskManage/TaskIntermediateContent/TaskIntermediateContent.vue
@@ -20,10 +20,10 @@
        <el-table-column label="任务状态" >
          <template #default="scope">
            <span :style="{
              color: scope.row.status === 1 ? '#e36913' :
                     scope.row.status === 2 ? '#ffc398' :
                     scope.row.status === 3 ? '#afd9fb' :
                     scope.row.status === 4 ? '#11c4ff' : '8cfea7'
              color: scope.row.status === 1 ? '#ffe17e' :
                     scope.row.status === 2 ? '#ffa768' :
                     scope.row.status === 3 ? '#8effac' :
                     scope.row.status === 5 ? '#ff8e8e':''
            }">
              {{ scope.row.status ? getStatusText(scope.row.status) : '' }}
            </span>