|
|
@ -67,7 +67,22 @@ export function useTable(onEdit: Function) { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: t('project.task.workflow_state'), |
|
|
|
title: t('project.task.workflow_state'), |
|
|
|
key: 'processReleaseState' |
|
|
|
key: 'processReleaseState', |
|
|
|
|
|
|
|
render: (row: any) => { |
|
|
|
|
|
|
|
if (row.processReleaseState === 'OFFLINE') { |
|
|
|
|
|
|
|
return h( |
|
|
|
|
|
|
|
NTag, |
|
|
|
|
|
|
|
{ type: 'error', size: 'small' }, |
|
|
|
|
|
|
|
t('project.task.offline') |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} else if (row.processReleaseState === 'ONLINE') { |
|
|
|
|
|
|
|
return h( |
|
|
|
|
|
|
|
NTag, |
|
|
|
|
|
|
|
{ type: 'info', size: 'small' }, |
|
|
|
|
|
|
|
t('project.task.online') |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: t('project.task.task_type'), |
|
|
|
title: t('project.task.task_type'), |
|
|
|