This commit is contained in:
Warunee Tamkoo 2024-11-27 18:13:26 +07:00
parent 027e668fa6
commit 1f548d7459
25 changed files with 83 additions and 78 deletions

View file

@ -371,7 +371,7 @@ onMounted(() => {
<q-select
hide-bottom-space
class="inputgreen"
:rules="[(val: string) => !!val || `${'กรุณาเลือก เขต / อำเภอ'}`]"
:rules="[(val: string) => !!val || `${'กรุณาเลือกแขวง/ตำบล'}`]"
outlined
dense
lazy-rules
@ -381,7 +381,7 @@ onMounted(() => {
option-label="name"
:options="Ops.districtOps"
option-value="id"
:label="`${'เขต / อำเภอ'}`"
:label="`${'เขต/อำเภอ'}`"
@update:model-value="(value: string) => selectDistrict(value, '1')"
use-input
input-debounce="0"
@ -394,7 +394,7 @@ onMounted(() => {
<q-select
hide-bottom-space
class="inputgreen"
:rules="[(val: string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
:rules="[(val: string) => !!val || `${'กรุณาเลือกแขวง/ตำบล '}`]"
outlined
dense
lazy-rules
@ -404,7 +404,7 @@ onMounted(() => {
option-label="name"
:options="Ops.subdistrictOps"
option-value="id"
:label="`${'แขวง / ตำบล '}`"
:label="`${'แขวง/ตำบล '}`"
@update:model-value="(value: string) => selectSubDistrict(value, '1')"
use-input
input-debounce="0"
@ -496,7 +496,7 @@ onMounted(() => {
<q-select
hide-bottom-space
class="inputgreen"
:rules="[(val: string) => !!val || `${'กรุณาเลือก เขต / อำเภอ'}`]"
:rules="[(val: string) => !!val || `${'กรุณาเลือกแขวง/ตำบล'}`]"
outlined
dense
lazy-rules
@ -506,7 +506,7 @@ onMounted(() => {
option-label="name"
:options="Ops.districtCOps"
option-value="id"
:label="`${'เขต / อำเภอ'}`"
:label="`${'เขต/อำเภอ'}`"
@update:model-value="(value: string) => selectDistrict(value, '2')"
use-input
input-debounce="0"
@ -522,7 +522,7 @@ onMounted(() => {
<q-select
hide-bottom-space
class="inputgreen"
:rules="[(val: string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
:rules="[(val: string) => !!val || `${'กรุณาเลือกแขวง/ตำบล '}`]"
outlined
dense
lazy-rules
@ -532,7 +532,7 @@ onMounted(() => {
option-label="name"
:options="Ops.subdistrictCOps"
option-value="id"
:label="`${'แขวง / ตำบล '}`"
:label="`${'แขวง/ตำบล '}`"
@update:model-value="(value: string) => selectSubDistrict(value, '2')"
use-input
input-debounce="0"

View file

@ -560,7 +560,7 @@ onMounted(async () => {
:class="getClass(edit)"
:readonly="!edit"
:borderless="!edit"
:rules="[(val: string) => !!val || `${'กรุณาเลือก เขต / อำเภอ'}`]"
:rules="[(val: string) => !!val || `${'กรุณาเลือกแขวง/ตำบล'}`]"
:outlined="edit"
dense
lazy-rules
@ -570,7 +570,7 @@ onMounted(async () => {
option-label="name"
:options="Ops.districtOps"
option-value="id"
:label="`${'เขต / อำเภอ'}`"
:label="`${'เขต/อำเภอ'}`"
@update:model-value="(value: string) => selectDistrict(value, '1')"
use-input
input-debounce="0"
@ -586,7 +586,7 @@ onMounted(async () => {
:class="getClass(edit)"
:readonly="!edit"
:borderless="!edit"
:rules="[(val: string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
:rules="[(val: string) => !!val || `${'กรุณาเลือกแขวง/ตำบล '}`]"
:outlined="edit"
dense
lazy-rules
@ -596,7 +596,7 @@ onMounted(async () => {
option-label="name"
:options="Ops.subdistrictOps"
option-value="id"
:label="`${'แขวง / ตำบล '}`"
:label="`${'แขวง/ตำบล '}`"
@update:model-value="(value: string) => selectSubDistrict(value, '1')"
use-input
input-debounce="0"
@ -701,7 +701,7 @@ onMounted(async () => {
:class="getClass(edit)"
:readonly="!edit"
:borderless="!edit"
:rules="[(val: string) => !!val || `${'กรุณาเลือก เขต / อำเภอ'}`]"
:rules="[(val: string) => !!val || `${'กรุณาเลือกแขวง/ตำบล'}`]"
:outlined="edit"
dense
lazy-rules
@ -711,7 +711,7 @@ onMounted(async () => {
option-label="name"
:options="Ops.districtCOps"
option-value="id"
:label="`${'เขต / อำเภอ'}`"
:label="`${'เขต/อำเภอ'}`"
@update:model-value="(value: string) => selectDistrict(value, '2')"
use-input
input-debounce="0"
@ -730,7 +730,7 @@ onMounted(async () => {
:class="getClass(edit)"
:readonly="!edit"
:borderless="!edit"
:rules="[(val: string) => !!val || `${'กรุณาเลือก แขวง / ตำบล '}`]"
:rules="[(val: string) => !!val || `${'กรุณาเลือกแขวง/ตำบล'}`]"
:outlined="edit"
dense
lazy-rules
@ -740,7 +740,7 @@ onMounted(async () => {
option-label="name"
:options="Ops.subdistrictCOps"
option-value="id"
:label="`${'แขวง / ตำบล '}`"
:label="`${'แขวง/ตำบล '}`"
@update:model-value="(value: string) => selectSubDistrict(value, '2')"
use-input
input-debounce="0"

View file

@ -1450,7 +1450,7 @@ onMounted(async () => {
</div>
<div class="col-12 text-top2 row items-center">
<q-icon name="mdi-label" color="grey-4" class="q-pr-sm" />
3.1 องาน / ภารกจงานทมอบหมาย (ควรมมากกว 1 ภารกจงาน)
3.1 องาน/ภารกจงานทมอบหมาย (ควรมมากกว 1 ภารกจงาน)
<q-btn
v-if="isEdit == true || routeName == 'probationWorkAdd'"
round