merge
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user