fixing employee label

This commit is contained in:
Warunee Tamkoo 2025-02-25 11:37:37 +07:00
parent e47184c4d4
commit b25bd1d1f0
3 changed files with 11 additions and 7 deletions

View file

@ -151,7 +151,11 @@ watch(
<div class="col-xs-6 col-sm-3 row">
<div class="col-12">
<div class="col-12 text-top">
{{ props.type == "employee" ? "กลุ่มงาน" : "ประเภทตำแหน่ง" }}
{{
props.type.toLowerCase() == "employee"
? "กลุ่มงาน"
: "ประเภทตำแหน่ง"
}}
</div>
<div class="col-12 text-detail">
{{ profile.positionLevel }}

View file

@ -1279,9 +1279,9 @@ onMounted(async () => {
:readonly="!edit"
:borderless="!edit"
v-model="positionLevelOld"
:rules="[(val:string) => !!val || `${'กรุณากรอกระดับตำแหน่ง'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกระดับชั้นงาน'}`]"
hide-bottom-space
:label="`${'ระดับตำแหน่ง'}`"
:label="`${'ระดับชั้นงาน'}`"
/>
</div>
</div>

View file

@ -274,9 +274,9 @@ onMounted(async () => {
:readonly="!edit"
:borderless="!edit"
v-model="positionTypeOld"
:rules="[(val:string) => !!val || `${'กรุณากรอกประเภทตำแหน่ง'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกกลุ่มงาน'}`]"
hide-bottom-space
:label="`${'ประเภทตำแหน่ง'}`"
:label="`${'กลุ่มงาน'}`"
/>
</div>
</div>
@ -290,9 +290,9 @@ onMounted(async () => {
:readonly="!edit"
:borderless="!edit"
v-model="positionLevelOld"
:rules="[(val:string) => !!val || `${'กรุณากรอกระดับ'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกระดับชั้นงาน'}`]"
hide-bottom-space
:label="`${'ระดับ'}`"
:label="`${'ระดับชั้นงาน'}`"
/>
</div>
</div>