修复 修改阶段直接进行仿真策划,阶段显示bug

This commit is contained in:
魏保林
2026-04-13 16:20:13 +08:00
parent 3b5894b6f4
commit c0fa8c8f0c
2 changed files with 5 additions and 3 deletions

View File

@@ -165,8 +165,8 @@ const updateBaseInfo = (info: any) => {
}
};
const refresh = () => {
getNodeDetailFun();
const refresh = async () => {
await getNodeDetailFun();
};
onMounted(() => {

View File

@@ -360,11 +360,13 @@ const updateCurrentProjectBaseInfo = (projectInfo: any) => {
const loadcaseRef = ref();
const completeFun = (page: string) => {
const completeFun = async (page: string) => {
if (page === 'projectBasePage') {
basePageRef.value.refresh();
}
if (page === 'phasePage') {
// 先刷新阶段信息 刷新currentProjectInfo.currentPhase
await basePageRef.value.refresh();
loadcaseRef.value.refreshPhaseList();
}
if (page === 'taskPlanPage') {