diff --git a/src/modules/14_KPI/views/report.vue b/src/modules/14_KPI/views/report.vue index 848c65f86..f18a9300a 100644 --- a/src/modules/14_KPI/views/report.vue +++ b/src/modules/14_KPI/views/report.vue @@ -244,17 +244,9 @@ function changOption(val: string) { ) { persanalId.value = val === "KPI8" ? persanalId.value : ""; organization.value = val === "KPI8" ? "" : organization.value; - if (round.value && organization.value) { - fetchReport(); - } else if (round.value && persanalId.value) { - fetchReport(); - } } else { round.value = ""; organization.value = ""; - if (persanalId.value) { - fetchReport(); - } } } @@ -474,7 +466,6 @@ function onSelectPerson(data: any) { }`; onCloseModal(); - fetchReport(); } /** @@ -500,7 +491,10 @@ function clearFilter() { pdfSrc.value = undefined; dataDownload.value = undefined; fullNameShow.value = ""; + round.value = ""; + fetchRoundOption(); } + onMounted(() => { fetchRoundOption(); fetchActiveId(); @@ -748,6 +742,20 @@ onMounted(() => { +