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: '执行中',