KPI => รายงาน
This commit is contained in:
parent
9e633b83b7
commit
66e2ff2f77
1 changed files with 16 additions and 2 deletions
|
|
@ -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')"
|
||||
/>
|
||||
>
|
||||
<template v-slot:no-option>
|
||||
<q-item>
|
||||
<q-item-section class="text-grey"> ไม่มีข้อมูล </q-item-section>
|
||||
</q-item>
|
||||
</template></q-select
|
||||
>
|
||||
</div>
|
||||
|
||||
<q-space />
|
||||
|
|
@ -615,7 +623,13 @@ onMounted(() => {
|
|||
@filter="(inputValue: string,
|
||||
|
||||
doneFn: Function) => filterSelector(inputValue, doneFn,'organization' )"
|
||||
/>
|
||||
>
|
||||
<template v-slot:no-option>
|
||||
<q-item>
|
||||
<q-item-section class="text-grey"> ไม่มีข้อมูล </q-item-section>
|
||||
</q-item>
|
||||
</template></q-select
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class="q-pa-sm" v-else>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue