fix ค้นหาคนครอง
This commit is contained in:
parent
3d858a7a2f
commit
1864033938
2 changed files with 29 additions and 14 deletions
|
|
@ -536,6 +536,7 @@ watch(
|
|||
label="ค้นหาจากชื่อ-นามสกุล หรือเลขประจำตัวประชาชน"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
@keydown.enter.prevent="getSearch()"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
|
|
@ -549,6 +550,7 @@ watch(
|
|||
label="ตำแหน่ง"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
@keydown.enter.prevent="getSearch()"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
|
|
@ -560,20 +562,24 @@ watch(
|
|||
:options="typeOps"
|
||||
emit-value
|
||||
dense
|
||||
@update:model-value="updateSelectType"
|
||||
@update:model-value="
|
||||
updateSelectType(formData.positionType), getSearch()
|
||||
"
|
||||
map-options
|
||||
outlined
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
><template v-if="formData.positionType" v-slot:append>
|
||||
>
|
||||
<template v-if="formData.positionType" v-slot:append>
|
||||
<q-icon
|
||||
name="cancel"
|
||||
@click.stop.prevent="clearPosition()"
|
||||
@click.stop.prevent="clearPosition(), getSearch()"
|
||||
class="cursor-pointer"
|
||||
/> </template
|
||||
></q-select>
|
||||
/>
|
||||
</template>
|
||||
</q-select>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<q-select
|
||||
|
|
@ -591,14 +597,18 @@ watch(
|
|||
option-value="id"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
@update:model-value="getSearch()"
|
||||
>
|
||||
<template v-if="formData.positionLevel" v-slot:append>
|
||||
<q-icon
|
||||
name="cancel"
|
||||
@click.stop.prevent="formData.positionLevel = ''"
|
||||
@click.stop.prevent="
|
||||
(formData.positionLevel = ''), getSearch()
|
||||
"
|
||||
class="cursor-pointer"
|
||||
/> </template
|
||||
></q-select>
|
||||
/>
|
||||
</template>
|
||||
</q-select>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<q-btn
|
||||
|
|
@ -606,7 +616,7 @@ watch(
|
|||
color="teal-5"
|
||||
class="full-height"
|
||||
icon="search"
|
||||
@click="getSearch()"
|
||||
@click.prevent="getSearch()"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -534,6 +534,7 @@ watch(
|
|||
label="ค้นหาจากชื่อ-นามสกุล หรือเลขประจำตัวประชาชน"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
@keydown.enter.prevent="getSearch()"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
|
|
@ -547,6 +548,7 @@ watch(
|
|||
label="ตำแหน่ง"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
@keydown.enter.prevent="getSearch()"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
|
|
@ -564,13 +566,16 @@ watch(
|
|||
option-value="id"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
><template v-if="formData.positionType" v-slot:append>
|
||||
@update:model-value="getSearch()"
|
||||
>
|
||||
<template v-if="formData.positionType" v-slot:append>
|
||||
<q-icon
|
||||
name="cancel"
|
||||
@click.stop.prevent="clearPosition()"
|
||||
@click.stop.prevent="clearPosition(), getSearch()"
|
||||
class="cursor-pointer"
|
||||
/> </template
|
||||
></q-select>
|
||||
/>
|
||||
</template>
|
||||
</q-select>
|
||||
</div>
|
||||
<!-- <div class="col-2">
|
||||
<q-select
|
||||
|
|
@ -607,7 +612,7 @@ watch(
|
|||
outline
|
||||
/>
|
||||
</div>
|
||||
|
||||
<q-space />
|
||||
<q-select
|
||||
for="#select"
|
||||
v-model="visibleColumnsResult"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue