|
|
@ -143,7 +143,7 @@ export default { |
|
|
|
state.globalParams = res.data.processDefinition.globalParamList |
|
|
|
state.globalParams = res.data.processDefinition.globalParamList |
|
|
|
// timeout
|
|
|
|
// timeout
|
|
|
|
state.timeout = res.data.processDefinition.timeout |
|
|
|
state.timeout = res.data.processDefinition.timeout |
|
|
|
// tenantId
|
|
|
|
// tenantCode
|
|
|
|
state.tenantCode = res.data.processDefinition.tenantCode || 'default' |
|
|
|
state.tenantCode = res.data.processDefinition.tenantCode || 'default' |
|
|
|
// tasks info
|
|
|
|
// tasks info
|
|
|
|
state.tasks = res.data.taskDefinitionList.map(task => _.pick(task, [ |
|
|
|
state.tasks = res.data.taskDefinitionList.map(task => _.pick(task, [ |
|
|
@ -161,7 +161,8 @@ export default { |
|
|
|
'failRetryInterval', |
|
|
|
'failRetryInterval', |
|
|
|
'timeoutFlag', |
|
|
|
'timeoutFlag', |
|
|
|
'timeoutNotifyStrategy', |
|
|
|
'timeoutNotifyStrategy', |
|
|
|
'timeout' |
|
|
|
'timeout', |
|
|
|
|
|
|
|
'environmentCode' |
|
|
|
])) |
|
|
|
])) |
|
|
|
resolve(res.data) |
|
|
|
resolve(res.data) |
|
|
|
}).catch(res => { |
|
|
|
}).catch(res => { |
|
|
@ -257,7 +258,8 @@ export default { |
|
|
|
'failRetryInterval', |
|
|
|
'failRetryInterval', |
|
|
|
'timeoutFlag', |
|
|
|
'timeoutFlag', |
|
|
|
'timeoutNotifyStrategy', |
|
|
|
'timeoutNotifyStrategy', |
|
|
|
'timeout' |
|
|
|
'timeout', |
|
|
|
|
|
|
|
'environmentCode' |
|
|
|
])) |
|
|
|
])) |
|
|
|
// startup parameters
|
|
|
|
// startup parameters
|
|
|
|
state.startup = _.assign(state.startup, _.pick(res.data, ['commandType', 'failureStrategy', 'processInstancePriority', 'workerGroup', 'warningType', 'warningGroupId', 'receivers', 'receiversCc'])) |
|
|
|
state.startup = _.assign(state.startup, _.pick(res.data, ['commandType', 'failureStrategy', 'processInstancePriority', 'workerGroup', 'warningType', 'warningGroupId', 'receivers', 'receiversCc'])) |
|
|
|