diff --git a/src/modules/14_KPI/views/report.vue b/src/modules/14_KPI/views/report.vue index 8a1f962dd..409003368 100644 --- a/src/modules/14_KPI/views/report.vue +++ b/src/modules/14_KPI/views/report.vue @@ -255,6 +255,7 @@ function filterSelector(val: string, update: Function, type: string) { switch (type) { case "typereport": update(() => { + typeReport.value = ""; listReport.value = listReportMain.value.filter( (v: DataOption) => v.name.toLowerCase().indexOf(val) > -1 ); @@ -262,6 +263,7 @@ function filterSelector(val: string, update: Function, type: string) { break; case "organization": update(() => { + organization.value = ""; organizationOps.value = organizationOpsMain.value.filter( (v: DataOption) => v.name.toLowerCase().indexOf(val) > -1 ); @@ -493,7 +495,13 @@ onMounted(() => { @update:model-value="changOption" @filter="(inputValue: string, doneFn: Function) => filterSelector(inputValue, doneFn ,'typereport')" - /> + > + @@ -615,7 +623,13 @@ onMounted(() => { @filter="(inputValue: string, doneFn: Function) => filterSelector(inputValue, doneFn,'organization' )" - /> + > +