fix search ==> ประวัติถือครองตำแหน่ง
This commit is contained in:
parent
e82bc57406
commit
f15883195c
1 changed files with 5 additions and 3 deletions
|
|
@ -199,6 +199,7 @@ function closeDialog() {
|
|||
@update:model-value="(Keyword = ''), (positionKeyword = '')"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="col-3" v-if="typeKeyword === 'no'">
|
||||
<q-input
|
||||
outlined
|
||||
|
|
@ -210,10 +211,10 @@ function closeDialog() {
|
|||
? 'เลขที่ตำแหน่ง'
|
||||
: 'ตำแหน่งเลขที่'
|
||||
"
|
||||
:rules="[(val:string) => !!val || employeeClass === 'officer'
|
||||
? 'กรุณากรอก เลขที่ตำแหน่ง'
|
||||
: 'กรุณากรอก ตำแหน่งเลขที่']"
|
||||
:rules="[(val:string) => !!val || `${employeeClass === 'officer' ? 'กรุณากรอก เลขที่ตำแหน่ง' :
|
||||
'กรุณากรอก ตำแหน่งเลขที่'}`]"
|
||||
hide-bottom-space
|
||||
@keyup.enter="clickSearch(employeeClass)"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
@ -226,6 +227,7 @@ function closeDialog() {
|
|||
placeholder="ตำแหน่ง"
|
||||
:rules="[(val:string) => !!val || `${'กรุณากรอก ตำแหน่ง'}`]"
|
||||
hide-bottom-space
|
||||
@keyup.enter="clickSearch(employeeClass)"
|
||||
/>
|
||||
</div>
|
||||
<div :class="typeKeyword ? 'offset-3 col-3' : 'col-3 offset-6'">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue