修复编辑流程工况绑定bug

This commit is contained in:
魏保林
2026-03-21 15:02:28 +08:00
parent 4acc6ac228
commit daa80e785f
2 changed files with 2 additions and 1 deletions

View File

@@ -218,6 +218,7 @@ const saveDraftFun = async (callback?: () => void) => {
uuid: props.flowUuid,
viewContent: JSON.stringify(dataJson),
templateContent: JSON.stringify(nodeRelation.value),
simulationPoolInfoList: props.updateSimulationPoolInfoList,
});
if (!callback) {
if (res.code === 200) {

View File

@@ -379,7 +379,6 @@ const addOrEditFun = ({ type, uuid, tVersion, simulationPoolInfoList }: any) =>
flowUuid.value = uuid;
if (type === 'next') {
templateVersion.value = tVersion;
goFlowDetailFun(uuid);
showDialog.value = false;
// 有工况升版需要更新
if (simulationPoolInfoList) {
@@ -387,6 +386,7 @@ const addOrEditFun = ({ type, uuid, tVersion, simulationPoolInfoList }: any) =>
} else {
updateSimulationPoolInfoList.value = [];
}
goFlowDetailFun(uuid);
}
};