|
|
@ -81,6 +81,17 @@ export default { |
|
|
|
{ |
|
|
|
colKey: 'status', |
|
|
|
title: '任务状态', |
|
|
|
cell: (h, { row }) => { |
|
|
|
if (row.status == 0) { |
|
|
|
return <t-tag theme="success">开始任务</t-tag> |
|
|
|
} else if (row.status == 1) { |
|
|
|
return <t-tag theme="warning">进行中</t-tag> |
|
|
|
} else if (row.status == 2) { |
|
|
|
return <t-tag theme="primary">继续任务</t-tag> |
|
|
|
} else { |
|
|
|
return <t-tag theme="success">已完成</t-tag> |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
colKey: 'startTime', |
|
|
|