diff --git a/src/views/task/execution/components/filterProject/index.vue b/src/views/task/execution/components/filterProject/index.vue index ef13e2a2..de0da227 100644 --- a/src/views/task/execution/components/filterProject/index.vue +++ b/src/views/task/execution/components/filterProject/index.vue @@ -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;