From 43141e95f812f4f44173e58ab2755616269939f3 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Mon, 4 Mar 2024 15:28:49 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20lazy=20=E0=B9=80?= =?UTF-8?q?=E0=B8=89=E0=B8=9E=E0=B8=B2=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=99?= =?UTF-8?q?=E0=B8=97=E0=B8=B5=E0=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../02_organizationalNew/components/DialogAddPosition.vue | 7 +++++++ .../11_discipline/components/8_AppealComplain/Form.vue | 6 ++++++ .../12_evaluatePersonal/components/Director/Form.vue | 4 ++++ 3 files changed, 17 insertions(+) diff --git a/src/modules/02_organizationalNew/components/DialogAddPosition.vue b/src/modules/02_organizationalNew/components/DialogAddPosition.vue index 37bee9259..812cb5818 100644 --- a/src/modules/02_organizationalNew/components/DialogAddPosition.vue +++ b/src/modules/02_organizationalNew/components/DialogAddPosition.vue @@ -305,6 +305,7 @@ watch( outlined for="#positionName" label="ตำแหน่งในสายงาน" + lazy-rules hide-bottom-space :rules=" !isDisValidate @@ -322,6 +323,7 @@ watch( outlined for="#positionField" label="สายงาน" + lazy-rules hide-bottom-space :rules=" !isDisValidate @@ -344,6 +346,7 @@ watch( outlined option-label="name" option-value="id" + lazy-rules hide-bottom-space :rules=" !isDisValidate @@ -366,6 +369,7 @@ watch( outlined option-label="name" option-value="id" + lazy-rules hide-bottom-space :rules=" !isDisValidate @@ -387,6 +391,7 @@ watch( outlined option-label="name" option-value="id" + lazy-rules hide-bottom-space clearable /> @@ -400,6 +405,7 @@ watch( outlined for="#positionExecutiveField" label="ด้านทางการบริหาร" + lazy-rules hide-bottom-space /> @@ -412,6 +418,7 @@ watch( outlined for="#positionArea" label="ด้าน/สาขา" + lazy-rules hide-bottom-space /> diff --git a/src/modules/11_discipline/components/8_AppealComplain/Form.vue b/src/modules/11_discipline/components/8_AppealComplain/Form.vue index c024f1d03..ce2ddbba5 100644 --- a/src/modules/11_discipline/components/8_AppealComplain/Form.vue +++ b/src/modules/11_discipline/components/8_AppealComplain/Form.vue @@ -357,6 +357,7 @@ onMounted(() => { outlined emit-value map-options + lazy-rules option-label="name" option-value="id" :options="dataStore.typeOptions" @@ -374,6 +375,7 @@ onMounted(() => { bg-color="white" outlined emit-value + lazy-rules :rules="[(val) => !!val || `${'กรุณาเลือกสถานะ'}`]" map-options hide-bottom-space @@ -485,6 +487,7 @@ onMounted(() => { outlined hide-bottom-space v-model="formData.title" + lazy-rules :rules="[ (val) => !!val || 'กรุณากรอกเรื่องอุทธรณ์/ร้องทุกข์', ]" @@ -501,6 +504,7 @@ onMounted(() => { outlined hide-bottom-space v-model="formData.description" + lazy-rules :rules="[ (val) => !!val || 'กรุณากรอกรายละเอียดอุทธรณ์/ร้องทุกข์', ]" @@ -552,6 +556,7 @@ onMounted(() => { v-model="formData.caseType" dense outlined + lazy-rules :rules="[(val) => !!val || 'กรุณากรอกประเภทคดี']" hide-bottom-space label="ประเภทคดี" @@ -564,6 +569,7 @@ onMounted(() => { v-model="formData.caseNumber" dense outlined + lazy-rules :rules="[(val) => !!val || 'กรุณากรอกเลขที่คดี']" label="เลขที่คดี" hide-bottom-space diff --git a/src/modules/12_evaluatePersonal/components/Director/Form.vue b/src/modules/12_evaluatePersonal/components/Director/Form.vue index f14e11c52..d6b8fd09b 100644 --- a/src/modules/12_evaluatePersonal/components/Director/Form.vue +++ b/src/modules/12_evaluatePersonal/components/Director/Form.vue @@ -374,6 +374,7 @@ function updatemodalPersonal(modal: boolean) { for="prefixRef" hide-bottom-space :rules="[(val: string) => val !== null && val !== '' || `${'กรุณากรอกคำนำหน้า'}`]" + lazy-rules />
@@ -387,6 +388,7 @@ function updatemodalPersonal(modal: boolean) { for="firstnameRef" hide-bottom-space :rules="[(val: string) => val !== null && val !== '' || `${'กรุณากรอกชื่อ'}`]" + lazy-rules />
@@ -400,6 +402,7 @@ function updatemodalPersonal(modal: boolean) { for="lastnameRef" hide-bottom-space :rules="[(val: string) => !!val || `${'กรุณากรอกนามสกุล'}`]" + lazy-rules />
@@ -413,6 +416,7 @@ function updatemodalPersonal(modal: boolean) { for="positionRef" hide-bottom-space :rules="[(val: string) => !!val || `${'กรุณากรอกตำแหน่ง'}`]" + lazy-rules />