|
|
@ -147,6 +147,11 @@ export default { |
|
|
|
let processInstanceJson = JSON.parse(res.data.processInstanceJson) |
|
|
|
let processInstanceJson = JSON.parse(res.data.processInstanceJson) |
|
|
|
// tasks info
|
|
|
|
// tasks info
|
|
|
|
state.tasks = processInstanceJson.tasks |
|
|
|
state.tasks = processInstanceJson.tasks |
|
|
|
|
|
|
|
// tasks cache
|
|
|
|
|
|
|
|
state.cacheTasks = {} |
|
|
|
|
|
|
|
processInstanceJson.tasks.forEach(v => { |
|
|
|
|
|
|
|
state.cacheTasks[v.id] = v |
|
|
|
|
|
|
|
}) |
|
|
|
// global params
|
|
|
|
// global params
|
|
|
|
state.globalParams = processInstanceJson.globalParams |
|
|
|
state.globalParams = processInstanceJson.globalParams |
|
|
|
// timeout
|
|
|
|
// timeout
|
|
|
|