fix
This commit is contained in:
parent
0c419e04b4
commit
e03d2a84a5
8 changed files with 117 additions and 43 deletions
|
|
@ -308,7 +308,7 @@ function classInput(val: boolean) {
|
|||
borderless
|
||||
v-model="formData.posNo"
|
||||
hide-bottom-space
|
||||
:label="empType === '' ? 'เลขที่ตำแหน่ง' : 'ตำแหน่งเลขที่'"
|
||||
:label="empType === 'officer' ? 'เลขที่ตำแหน่ง' : 'ตำแหน่งเลขที่'"
|
||||
>
|
||||
</q-input>
|
||||
</div>
|
||||
|
|
@ -323,7 +323,7 @@ function classInput(val: boolean) {
|
|||
lazy-rules
|
||||
borderless
|
||||
v-model="formData.positionName"
|
||||
:label="empType == '' ? 'ตำแหน่งในสายงาน' : 'ตำแหน่ง'"
|
||||
:label="empType === 'officer' ? 'ตำแหน่งในสายงาน' : 'ตำแหน่ง'"
|
||||
hide-bottom-space
|
||||
/>
|
||||
</div>
|
||||
|
|
@ -338,7 +338,7 @@ function classInput(val: boolean) {
|
|||
lazy-rules
|
||||
borderless
|
||||
v-model="formData.positionType"
|
||||
:label="empType == '' ? 'ประเภทตำแหน่ง' : 'กลุ่มงาน'"
|
||||
:label="empType === 'officer' ? 'ประเภทตำแหน่ง' : 'กลุ่มงาน'"
|
||||
emit-value
|
||||
map-options
|
||||
option-label="name"
|
||||
|
|
@ -374,7 +374,7 @@ function classInput(val: boolean) {
|
|||
lazy-rules
|
||||
borderless
|
||||
v-model="formData.positionLevel"
|
||||
:label="empType == '' ? 'ระดับตำแหน่ง' : 'ระดับชั้นงาน'"
|
||||
:label="empType === 'officer' ? 'ระดับตำแหน่ง' : 'ระดับชั้นงาน'"
|
||||
emit-value
|
||||
map-options
|
||||
option-label="name"
|
||||
|
|
@ -396,7 +396,7 @@ function classInput(val: boolean) {
|
|||
</q-select>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-6 col-md-4" v-if="empType == ''">
|
||||
<div class="col-xs-6 col-sm-6 col-md-4" v-if="empType === 'officer'">
|
||||
<q-input
|
||||
:class="classInput(isReadonly)"
|
||||
:readonly="isReadonly"
|
||||
|
|
@ -411,7 +411,7 @@ function classInput(val: boolean) {
|
|||
</q-input>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-6 col-md-4" v-if="empType == ''">
|
||||
<div class="col-xs-6 col-sm-6 col-md-4" v-if="empType === 'officer'">
|
||||
<q-select
|
||||
outlined
|
||||
:class="classInput(isReadonly)"
|
||||
|
|
@ -444,7 +444,7 @@ function classInput(val: boolean) {
|
|||
>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-6 col-md-4" v-if="empType == ''">
|
||||
<div class="col-xs-6 col-sm-6 col-md-4" v-if="empType === 'officer'">
|
||||
<q-select
|
||||
:class="classInput(isReadonly)"
|
||||
:readonly="isReadonly"
|
||||
|
|
@ -477,7 +477,7 @@ function classInput(val: boolean) {
|
|||
</q-select>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-6 col-md-4" v-if="empType == ''">
|
||||
<div class="col-xs-6 col-sm-6 col-md-4" v-if="empType === 'officer'">
|
||||
<q-select
|
||||
:class="classInput(isReadonly)"
|
||||
:readonly="isReadonly"
|
||||
|
|
|
|||
|
|
@ -367,7 +367,7 @@ function classColorRow(isDelete: boolean, isEdit: boolean, isEntry: boolean) {
|
|||
return isDelete
|
||||
? "text-red"
|
||||
: isEdit
|
||||
? "text-yellow-8"
|
||||
? "text-orange"
|
||||
: isEntry
|
||||
? "text-grey"
|
||||
: "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue