@@ -31,7 +31,8 @@ import {
StopOutlined,
GlobalOutlined,
IssuesCloseOutlined,
- SendOutlined
+ SendOutlined,
+ HistoryOutlined
} from '@vicons/antd'
import { format, parseISO } from 'date-fns'
import _ from 'lodash'
@@ -275,6 +276,14 @@ export const tasksState = (t: any): ITaskStateConfig => ({
icon: SendOutlined,
isSpin: false,
classNames: 'dispatch'
+ },
+ PENDING: {
+ id: 18,
+ desc: `${t('project.workflow.pending')}`,
+ color: '#5101be',
+ icon: HistoryOutlined,
+ isSpin: false,
+ classNames: 'pending'
}
})
@@ -33,6 +33,7 @@ export type ITaskState =
| 'FORCED_SUCCESS'
| 'SERIAL_WAIT'
| 'DISPATCH'
+ | 'PENDING'
export type ITaskStateConfig = {
[key in ITaskState]: {
@@ -498,6 +498,7 @@ const project = {
forced_success: 'Forced success',
serial_wait: 'Serial wait',
dispatch: 'Dispatch',
+ pending: 'Pending',
executing: 'Executing',
startup_type: 'Startup Type',
complement_range: 'Complement Range',
@@ -495,6 +495,7 @@ const project = {
forced_success: '强制成功',
serial_wait: '串行等待',
dispatch: '派发',
+ pending: '挂起',
executing: '正在执行',
startup_type: '启动类型',
complement_range: '补数范围',