diff --git a/src/modules/14_KPI/views/round.vue b/src/modules/14_KPI/views/round.vue index c3cc28753..82db03a65 100644 --- a/src/modules/14_KPI/views/round.vue +++ b/src/modules/14_KPI/views/round.vue @@ -137,6 +137,7 @@ const formQuery = reactive({ keyword: "", }); const totalList = ref(1); +const year = ref(null); const formData = reactive({ durationKPI: "", year: null, @@ -153,7 +154,7 @@ function fetchList() { http .get( config.API.kpiPeriod + - `?page=${formQuery.page}&pageSize=${formQuery.pageSize}&keyword=${formQuery.keyword}&year=${formQuery.year}` + `?page=${formQuery.page}&pageSize=${formQuery.pageSize}&keyword=${formQuery.keyword}&year=${year.value}` ) .then((res) => { const data: ResRound[] = res.data.result.data; @@ -365,8 +366,7 @@ onMounted(() => {
{ -