no message

main
HUOJIN\92525 2026-02-09 11:34:51 +08:00
parent ce685ac774
commit 0267bff56c
1 changed files with 24 additions and 0 deletions

View File

@ -286,6 +286,30 @@ export const taskColumns: JVxeColumn[] = [
defaultValue: '0', defaultValue: '0',
disabled: true, disabled: true,
}, },
{
title: '任务状态',
key: 'taskStatus',
type: JVxeTypes.normal,
width: '80px',
defaultValue: '1',
//task的状态 1表示 已创建,任务自动下发TES 当作是执行中
formatter: ({ cellValue }) => {
const statusMap = {
1: '执行中',
4: '已完成',
5: '已关闭',
};
// 状态颜色映射
const statusColorMap = {
: 'cyan',
: 'green',
: 'green',
};
const text = statusMap[cellValue] || '未知状态';
const color = statusColorMap[text] || 'red';
return render.renderTag(text, color);
},
},
{ {
title: '整托/拆托', title: '整托/拆托',
key: 'izAll', key: 'izAll',