|
|
@ -143,6 +143,9 @@ 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 |
|
|
|
|
|
|
|
// executionType
|
|
|
|
|
|
|
|
state.executionType = res.data.processDefinition.executionType |
|
|
|
|
|
|
|
// tenantId
|
|
|
|
// tenantCode
|
|
|
|
// tenantCode
|
|
|
|
state.tenantCode = res.data.processDefinition.tenantCode || 'default' |
|
|
|
state.tenantCode = res.data.processDefinition.tenantCode || 'default' |
|
|
|
// tasks info
|
|
|
|
// tasks info
|
|
|
@ -240,6 +243,8 @@ export default { |
|
|
|
state.globalParams = processDefinition.globalParamList |
|
|
|
state.globalParams = processDefinition.globalParamList |
|
|
|
// timeout
|
|
|
|
// timeout
|
|
|
|
state.timeout = processDefinition.timeout |
|
|
|
state.timeout = processDefinition.timeout |
|
|
|
|
|
|
|
// executionType
|
|
|
|
|
|
|
|
state.executionType = processDefinition.executionType |
|
|
|
// tenantCode
|
|
|
|
// tenantCode
|
|
|
|
state.tenantCode = res.data.tenantCode || 'default' |
|
|
|
state.tenantCode = res.data.tenantCode || 'default' |
|
|
|
// tasks info
|
|
|
|
// tasks info
|
|
|
@ -282,6 +287,7 @@ export default { |
|
|
|
taskDefinitionJson: JSON.stringify(state.tasks), |
|
|
|
taskDefinitionJson: JSON.stringify(state.tasks), |
|
|
|
taskRelationJson: JSON.stringify(state.connects), |
|
|
|
taskRelationJson: JSON.stringify(state.connects), |
|
|
|
tenantCode: state.tenantCode, |
|
|
|
tenantCode: state.tenantCode, |
|
|
|
|
|
|
|
executionType: state.executionType, |
|
|
|
description: _.trim(state.description), |
|
|
|
description: _.trim(state.description), |
|
|
|
globalParams: JSON.stringify(state.globalParams), |
|
|
|
globalParams: JSON.stringify(state.globalParams), |
|
|
|
timeout: state.timeout |
|
|
|
timeout: state.timeout |
|
|
@ -303,6 +309,7 @@ export default { |
|
|
|
taskDefinitionJson: JSON.stringify(state.tasks), |
|
|
|
taskDefinitionJson: JSON.stringify(state.tasks), |
|
|
|
taskRelationJson: JSON.stringify(state.connects), |
|
|
|
taskRelationJson: JSON.stringify(state.connects), |
|
|
|
tenantCode: state.tenantCode, |
|
|
|
tenantCode: state.tenantCode, |
|
|
|
|
|
|
|
executionType: state.executionType, |
|
|
|
description: _.trim(state.description), |
|
|
|
description: _.trim(state.description), |
|
|
|
globalParams: JSON.stringify(state.globalParams), |
|
|
|
globalParams: JSON.stringify(state.globalParams), |
|
|
|
timeout: state.timeout, |
|
|
|
timeout: state.timeout, |
|
|
|