This commit is contained in:
2026-03-23 10:40:55 +08:00

View File

@@ -217,12 +217,12 @@ const getPhaseListFun = async (val?: any) => {
pheseList.value = res.data;
if (pheseList.value.length) {
if (val) {
filterFormData.phaseName = val;
const currentPahse: any = pheseList.value.find((item: any) => {
return item.uuid === filterFormData.phaseName;
});
if (currentPahse) {
filterFormData.phaseName = val;
filterFormData.phaseCodeName = currentPahse.nodeName;
} else {
filterFormData.phaseName = pheseList.value[0].uuid;