forked from drone/command-center-dashboard

罗广辉
2025-04-07 da2a4e58ecc7c5da0a3ec726708a16c21e7f60e3
src/views/TaskManage/TaskIntermediateContent/TaskIntermediateContent.vue
@@ -15,9 +15,7 @@
      <el-table-column prop="ai_type_str" label="关联算法"  />
      <el-table-column prop="status" label="任务状态" >
        <template #default="scope">
          <el-tag :type="getStatusType(scope.row.status)">
            {{ getStatusText(scope.row.status) }}
          </el-tag>
          {{ scope.row.status ? getStatusText(scope.row.status) : ''  }}
        </template>
      </el-table-column>
      <el-table-column prop="industry_type_str" label="任务类型" />
@@ -66,6 +64,7 @@
};
// 状态文字
const getStatusText = (status) => {
  console.log('哒哒哒',status)
  const statusMap = {
    1: '待执行',
    2: '执行中',