|
|
@ -79,9 +79,12 @@ export function useNodeStatus(options: Options) { |
|
|
|
if (taskList.value) { |
|
|
|
if (taskList.value) { |
|
|
|
taskList.value.forEach((taskInstance: any) => { |
|
|
|
taskList.value.forEach((taskInstance: any) => { |
|
|
|
setNodeStatus(taskInstance.taskCode, taskInstance.state, taskInstance) |
|
|
|
setNodeStatus(taskInstance.taskCode, taskInstance.state, taskInstance) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (taskInstance.dependentResult) { |
|
|
|
nodeStore.updateDependentResult( |
|
|
|
nodeStore.updateDependentResult( |
|
|
|
JSON.parse(taskInstance.dependentResult) |
|
|
|
JSON.parse(taskInstance.dependentResult) |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|