File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ import {
3131 StopOutlined ,
3232 GlobalOutlined ,
3333 IssuesCloseOutlined ,
34- SendOutlined
34+ SendOutlined ,
35+ HistoryOutlined
3536} from '@vicons/antd'
3637import { format , parseISO } from 'date-fns'
3738import _ from 'lodash'
@@ -275,6 +276,14 @@ export const tasksState = (t: any): ITaskStateConfig => ({
275276 icon : SendOutlined ,
276277 isSpin : false ,
277278 classNames : 'dispatch'
279+ } ,
280+ PENDING : {
281+ id : 18 ,
282+ desc : `${ t ( 'project.workflow.pending' ) } ` ,
283+ color : '#5101be' ,
284+ icon : HistoryOutlined ,
285+ isSpin : false ,
286+ classNames : 'pending'
278287 }
279288} )
280289
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export type ITaskState =
3333 | 'FORCED_SUCCESS'
3434 | 'SERIAL_WAIT'
3535 | 'DISPATCH'
36+ | 'PENDING'
3637
3738export type ITaskStateConfig = {
3839 [ key in ITaskState ] : {
Original file line number Diff line number Diff line change @@ -498,6 +498,7 @@ const project = {
498498 forced_success : 'Forced success' ,
499499 serial_wait : 'Serial wait' ,
500500 dispatch : 'Dispatch' ,
501+ pending : 'Pending' ,
501502 executing : 'Executing' ,
502503 startup_type : 'Startup Type' ,
503504 complement_range : 'Complement Range' ,
Original file line number Diff line number Diff line change @@ -495,6 +495,7 @@ const project = {
495495 forced_success : '强制成功' ,
496496 serial_wait : '串行等待' ,
497497 dispatch : '派发' ,
498+ pending : '挂起' ,
498499 executing : '正在执行' ,
499500 startup_type : '启动类型' ,
500501 complement_range : '补数范围' ,
You can’t perform that action at this time.
0 commit comments