no message

This commit is contained in:
setthawutttty 2024-12-03 10:46:30 +07:00
parent b21a4f53ac
commit 511d17db80
3 changed files with 6 additions and 10 deletions

View file

@ -267,6 +267,8 @@ onMounted(async () => {
option-value="id" option-value="id"
option-label="year" option-label="year"
lazy-rules lazy-rules
hide-selected
fill-input
use-input use-input
hide-bottom-space hide-bottom-space
:readonly="false" :readonly="false"

View file

@ -215,13 +215,7 @@ onMounted(async () => {
placeholder="ค้นหา" placeholder="ค้นหา"
> >
<template v-slot:append> <template v-slot:append>
<q-icon v-if="filterKeyword == ''" name="search" /> <q-icon name="search" />
<q-icon
v-if="filterKeyword !== ''"
name="clear"
class="cursor-pointer"
@click="resetFilter"
/>
</template> </template>
</q-input> </q-input>
@ -244,7 +238,7 @@ onMounted(async () => {
ref="table" ref="table"
:columns="columns" :columns="columns"
:rows="rows" :rows="rows"
:filter="filterKeyword" :filter="filterKeyword.trim()"
row-key="Order" row-key="Order"
flat flat
bordered bordered

View file

@ -228,7 +228,7 @@ function updateValue() {
function getPerson() { function getPerson() {
const body = { const body = {
rootId: rootId.value ? rootId.value : "", rootId: rootId.value ? rootId.value : "",
type: group.value, type: props.systemName == "SALARY_EMP" ? "" : group.value,
}; };
const pathAPI = const pathAPI =
@ -474,7 +474,7 @@ watch(modal, async () => {
</div> </div>
<!-- กล --> <!-- กล -->
<div class="col-12"> <div class="col-12" v-if="props.systemName !== 'SALARY_EMP'">
<q-select <q-select
v-model="group" v-model="group"
:label="`${'กลุ่ม'}`" :label="`${'กลุ่ม'}`"