no message

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-03 10:49:23 +07:00
parent b21a4f53ac
commit d54ab48bc5
27 changed files with 220 additions and 418 deletions

View file

@ -230,18 +230,7 @@ onMounted(() => {
debounce="300"
>
<template v-slot:append>
<q-icon
v-if="filterKeyword == ''"
name="search"
@click.stop.prevent="filterKeyword = ''"
class="cursor-pointer"
/>
<q-icon
v-if="filterKeyword"
name="cancel"
@click.stop.prevent="filterKeyword = ''"
class="cursor-pointer"
/>
<q-icon name="search" />
</template>
</q-input>
<q-select
@ -301,7 +290,7 @@ onMounted(() => {
:grid="mode === 'card'"
:paging="true"
:visible-columns="visibleColumns"
:filter="filterKeyword"
:filter="filterKeyword.trim()"
:rows-per-page-options="[10, 25, 50, 100]"
>
<template v-slot:header="props">

View file

@ -17,7 +17,7 @@ const mixin = useCounterMixin();
const { showLoader, hideLoader, messageError, date2Thai, pathRegistryEmp } =
mixin;
/**
/**
* props
*/
const modal = defineModel<boolean>("modal", { required: true });
@ -120,6 +120,7 @@ watch(modal, (status) => {
} else {
filterKeyword.value = "";
rows.value = [];
filterKeyword.value = "";
}
});
</script>
@ -143,18 +144,7 @@ watch(modal, (status) => {
debounce="300"
>
<template v-slot:append>
<q-icon
v-if="filterKeyword == ''"
name="search"
@click.stop.prevent="filterKeyword = ''"
class="cursor-pointer"
/>
<q-icon
v-if="filterKeyword"
name="cancel"
@click.stop.prevent="filterKeyword = ''"
class="cursor-pointer"
/>
<q-icon name="search" />
</template>
</q-input>
<q-select
@ -168,7 +158,6 @@ watch(modal, (status) => {
map-options
:options="columns"
option-value="name"
style="min-width: 140px"
/>
</div>
@ -182,7 +171,7 @@ watch(modal, (status) => {
:paging="true"
:rows-per-page-options="[10, 25, 50, 100]"
:visible-columns="visibleColumns"
:filter="filterKeyword"
:filter="filterKeyword.trim()"
>
>
<template v-slot:header="props">