From 7716b459ac7c76f12678069adf07f122f9819862 Mon Sep 17 00:00:00 2001 From: Tanyalak Date: Tue, 7 Nov 2023 11:00:53 +0700 Subject: [PATCH 1/5] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20Layo?= =?UTF-8?q?ut=20=E0=B9=80=E0=B8=A3=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=E0=B8=A3=E0=B9=89=E0=B8=AD=E0=B8=87=E0=B9=80=E0=B8=A3=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/1_Complaint/Form.vue | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/modules/11_discipline/components/1_Complaint/Form.vue b/src/modules/11_discipline/components/1_Complaint/Form.vue index d995f64a3..cb7c6b941 100644 --- a/src/modules/11_discipline/components/1_Complaint/Form.vue +++ b/src/modules/11_discipline/components/1_Complaint/Form.vue @@ -228,7 +228,7 @@ watch(props.data, async () => {
{ option-label="name" emit-value map-options + hide-bottom-space :rules="[(val) => !!val || `${'กรุณาเลือกผู้ร้องเรียน'}`]" lazy-rules @update:model-value=" @@ -278,6 +279,7 @@ watch(props.data, async () => { label="รายชื่อจากทะเบียรประวัติ" option-value="id" option-label="name" + hide-bottom-space emit-value map-options :rules="[(val) => !!val || `${'กรุณาเลือกรายชื่อ'}`]" @@ -305,6 +307,7 @@ watch(props.data, async () => { name="office" ref="officeRef" dense + hide-bottom-space outlined v-model="formData.office" label="เลือกสำนักงาน" @@ -323,6 +326,7 @@ watch(props.data, async () => { label="หน่วยงานที่พิจารณา" option-value="id" option-label="name" + hide-bottom-space emit-value map-options :rules="[(val) => !!val || `${'กรุณาเลือกหน่วยงาน'}`]" @@ -347,6 +351,7 @@ watch(props.data, async () => { ref="topicComplaintRef" dense outlined + hide-bottom-space v-model="formData.topicComplaint" :rules="[(val) => !!val || 'กรุณาการข้อมูล']" lazy-rules @@ -361,6 +366,7 @@ watch(props.data, async () => { ref="detailRef" dense outlined + hide-bottom-space v-model="formData.detail" :rules="[(val) => !!val || 'กรุณาการข้อมูล']" lazy-rules @@ -391,6 +397,7 @@ watch(props.data, async () => { ref="datereceiveRef" outlined dense + hide-bottom-space class="full-width datepicker" :model-value=" formData.datereceive != null @@ -428,6 +435,7 @@ watch(props.data, async () => { option-value="id" option-label="name" emit-value + hide-bottom-space map-options :rules="[(val) => !!val || `${'กรุณาเลือกระดับการพิจารณา'}`]" lazy-rules @@ -464,6 +472,7 @@ watch(props.data, async () => { : null " label="วันที่กำหนดวันพิจารณา" + hide-bottom-space :rules="[ (val) => !!val || `${'กรุณาเลือกวันที่กำหนดวันพิจารณา'}`, ]" @@ -493,6 +502,7 @@ watch(props.data, async () => { option-value="id" option-label="name" emit-value + hide-bottom-space map-options :rules="[(val) => !!val || `${'กรุณาเลือกลักษณะความผิด'}`]" lazy-rules @@ -521,6 +531,7 @@ watch(props.data, async () => { ref="datewarnRef" outlined dense + hide-bottom-space class="full-width datepicker" :model-value=" formData.datewarn != null @@ -557,6 +568,7 @@ watch(props.data, async () => { label="รับเรื่องร้องเรียน" option-value="id" option-label="name" + hide-bottom-space emit-value map-options :rules="[(val) => !!val || `${'กรุณาเลือกรับเรื่องร้องเรียน'}`]" @@ -573,16 +585,18 @@ watch(props.data, async () => { label="ผู้ร้องเรียน" :rules="[(val) => !!val || `${'กรุณากรอกข้อมูล'}`]" lazy-rules + hide-bottom-space type="textarea" rows="5" />
-
+
Date: Tue, 7 Nov 2023 12:03:20 +0700 Subject: [PATCH 2/5] ui specialTime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit เพิ่มตัวแปร checkIn checkOut --- .../4_specialTime/DialogApprove.vue | 58 +++++++------------ .../09_leave/interface/request/specialTime.ts | 2 + .../interface/response/specialTime.ts | 10 ++-- .../09_leave/stores/SpecialTimeStore.ts | 2 + .../09_leave/views/SpecialTimeMain.vue | 6 ++ 5 files changed, 34 insertions(+), 44 deletions(-) diff --git a/src/modules/09_leave/components/4_specialTime/DialogApprove.vue b/src/modules/09_leave/components/4_specialTime/DialogApprove.vue index ab93f817b..c2f4f249a 100644 --- a/src/modules/09_leave/components/4_specialTime/DialogApprove.vue +++ b/src/modules/09_leave/components/4_specialTime/DialogApprove.vue @@ -14,24 +14,22 @@ const $q = useQuasar(); const mixin = useCounterMixin(); const { dialogConfirm, date2Thai } = mixin; const currentDate = ref(new Date()); -const startTimeMorningRef = ref(null); -const endTimeMorningRef = ref(null); +const checkInRef = ref(null); +const checkOutRef = ref(null); const checkInStatusRef = ref(null); const checkOutStatusRef = ref(null); const formData = reactive({ - startTimeMorning: "", - endTimeMorning: "", - startTimeAfternoon: "", - endTimeAfternoon: "", + checkIn: "", + checkOut: "", note: "", checkInStatus: "", checkOutStatus: "", }); const objectRound: MyObjectRoundRef = { - startTimeMorning: startTimeMorningRef, - endTimeMorning: endTimeMorningRef, + checkIn: checkInRef, + checkOut: checkOutRef, checkInStatus: checkInStatusRef, checkOutStatus: checkOutStatusRef, }; @@ -81,17 +79,13 @@ watch( () => props.modal, (newDetailData, oldDetailData) => { if (props.editCheck === "APPROVE") { - formData.startTimeMorning = ""; - formData.endTimeMorning = ""; - formData.startTimeAfternoon = ""; - formData.endTimeAfternoon = ""; + formData.checkIn = ""; + formData.checkOut = ""; formData.note = ""; } else if (props.editCheck === "PENDING") { if (props.detailData) { - formData.startTimeMorning = props.detailData.startTimeMorning; - formData.endTimeMorning = props.detailData.endTimeMorning; - formData.startTimeAfternoon = props.detailData.startTimeAfternoon; - formData.endTimeAfternoon = props.detailData.endTimeAfternoon; + formData.checkIn = props.detailData.checkIn; + formData.checkOut = props.detailData.checkOut; formData.note = props.detailData.note; } } @@ -174,27 +168,21 @@ watch(

เวลาเข้างาน

เวลาออกงาน

{ endTimeMorning: e.endTimeMorning, startTimeAfternoon: e.startTimeAfternoon, endTimeAfternoon: e.endTimeAfternoon, + checkIn: e.checkOut, + checkOut: e.checkOut, status: e.status, checkInStatus: convertStatus(e.checkInStatus), checkOutStatus: convertStatus(e.checkOutStatus), diff --git a/src/modules/09_leave/views/SpecialTimeMain.vue b/src/modules/09_leave/views/SpecialTimeMain.vue index c64a61901..93b42e65c 100644 --- a/src/modules/09_leave/views/SpecialTimeMain.vue +++ b/src/modules/09_leave/views/SpecialTimeMain.vue @@ -76,6 +76,8 @@ onMounted(async () => { status: "PENDING", checkInStatus: "normal", checkOutStatus: "late", + checkIn: "08:00", + checkOut: "12.00", }, { id: "00000000-0000-0000-0000-000000000000", @@ -89,6 +91,8 @@ onMounted(async () => { status: "APPROVE", checkInStatus: "normal", checkOutStatus: "late", + checkIn: "08:00", + checkOut: "12.00", }, { id: "00000000-0000-0000-0000-000000000000", @@ -102,6 +106,8 @@ onMounted(async () => { status: "REJECT", checkInStatus: "normal", checkOutStatus: "late", + checkIn: "08:00", + checkOut: "12.00", }, ]); }); From 960f996ebc2ae6d4496a38835e207405f7d5c2ea Mon Sep 17 00:00:00 2001 From: Tanyalak Date: Tue, 7 Nov 2023 12:13:42 +0700 Subject: [PATCH 3/5] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20Layo?= =?UTF-8?q?ut=20=E0=B8=AA=E0=B8=B7=E0=B8=9A=E0=B8=AA=E0=B8=A7=E0=B8=99?= =?UTF-8?q?=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B9=80=E0=B8=97=E0=B9=87=E0=B8=88?= =?UTF-8?q?=E0=B8=88=E0=B8=A3=E0=B8=B4=E0=B8=87,=E0=B8=AA=E0=B8=AD?= =?UTF-8?q?=E0=B8=9A=E0=B8=AA=E0=B8=A7=E0=B8=99=E0=B8=84=E0=B8=A7=E0=B8=B2?= =?UTF-8?q?=E0=B8=A1=E0=B8=9C=E0=B8=B4=E0=B8=94=E0=B8=97=E0=B8=B2=E0=B8=87?= =?UTF-8?q?=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/2_InvestigateFacts/Form.vue | 654 +++++++++--------- .../3_InvestigateDisciplinary/Dialogbody.vue | 65 +- .../3_InvestigateDisciplinary/Form.vue | 345 +++++---- .../6_BasicInformation/Director/Form.vue | 4 + .../11_discipline/interface/index/Main.ts | 1 + .../interface/request/director.ts | 2 + .../store/InvestigateDisStore.ts | 11 + 7 files changed, 577 insertions(+), 505 deletions(-) diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue index e45ff916e..2bdc487aa 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue @@ -117,341 +117,340 @@ watch(props.data, async () => { diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Dialogbody.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Dialogbody.vue index 38349b77b..4e030bfd1 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Dialogbody.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Dialogbody.vue @@ -22,6 +22,7 @@ const visibleColumns2 = ref([ "duty", "email", "telephone", + "role" ]); const columns2 = ref([ { @@ -90,6 +91,17 @@ const columns2 = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, + { + name: "role", + align: "left", + label: "จำนวนเรื่องสืบสวน", + sortable: true, + field: "role", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + sort: (a: string, b: string) => + a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + }, ]); const props = defineProps({ @@ -138,35 +150,28 @@ watchEffect(() => { - -
-
- - - - - -
-
- + + + + { + + { duty: "ประธาน", email: "e@email.com", telephone: "0800808080", + role: "4", }, { nameDirector: "นาย สรวิชญ์ พลสิทธิ์", @@ -37,6 +38,7 @@ onMounted(async () => { duty: "เลขานุการ", email: "g@gmail.com", telephone: "0614565145", + role: "6", }, ]); await hideLoader(); @@ -213,10 +215,8 @@ watch(props.data, async () => {
-
-
- -
+
+
{ for="#Complaint" ref="complaintRef" label="เรื่องร้องเรียน" + hide-bottom-space type="textarea" :rules="[(val:string) => !!val || `${'กรุณากรอกเรื่องร้องเรียน'}`]" /> @@ -251,6 +252,7 @@ watch(props.data, async () => { outlined dense class="full-width datepicker" + hide-bottom-space :model-value=" dateInvestigate != null ? date2Thai(dateInvestigate) @@ -293,6 +295,7 @@ watch(props.data, async () => { outlined dense class="col-xs-12 col-sm-4" + hide-bottom-space :model-value=" dateAllegation != null ? date2Thai(dateAllegation) @@ -338,6 +341,7 @@ watch(props.data, async () => { outlined dense class="full-width datepicker" + hide-bottom-space :model-value=" dateEvident != null ? date2Thai(dateEvident) : null " @@ -358,65 +362,70 @@ watch(props.data, async () => { -
- กรรมการ - - เพิ่มกรรมการ - +
+ +
+ กรรมการ + + เพิ่มกรรมการ + +
+
+
+ + +
+
+
-
- - -
-
- { v-model="formData.casefault" for="#casefault" label="กรณีมีความผิด" + hide-bottom-space :rules="[(val) => !!val || `${'กรุณากรอกกรณีมีความผิด'}`]" lazy-rules /> { option-value="id" emit-value map-options + hide-bottom-space :options="investigateDis.optionsTypefault" label="ลักษณะความผิด" /> @@ -464,13 +476,15 @@ watch(props.data, async () => { option-value="id" emit-value map-options + hide-bottom-space :options="investigateDis.optionsfaultLevel" label="ระดับโทษความผิด" /> { class="col-12" dense outlined + hide-bottom-space for="#detailComplaint" ref="detailComplaintRef" v-model="formData.detailComplaint" @@ -495,6 +510,7 @@ watch(props.data, async () => { class="col-12" dense outlined + hide-bottom-space for="#trueDetail" ref="trueDetailRef" v-model="formData.trueDetail" @@ -502,90 +518,123 @@ watch(props.data, async () => { type="textarea" :rules="[(val:string) => !!val || `${'กรุณากรอกรายละเอียดสืบสวนข้อเท็จจริง'}`]" /> - - - - - - - - - - - - +
+ +
+ หลักฐานสนับสนุนข้อกล่าวหา +
+
+
+ + + + +
+
+
+
+ +
+ บันทึกถ้อยคำของผู้กล่าวหา +
+
+
+ + + + +
+
+
+
+ +
+ พยานและการบันทึกถ้อยคำ +
+
+
+ + + + +
+
+
{ ref="InvestResultsRef" v-model="formData.InvestResults" label="ผลการสอบสวน" + hide-bottom-space type="textarea" :rules="[(val:string) => !!val || `${'กรุณากรอกผลการสอบสวน'}`]" /> @@ -615,7 +665,6 @@ watch(props.data, async () => {
-
diff --git a/src/modules/11_discipline/components/6_BasicInformation/Director/Form.vue b/src/modules/11_discipline/components/6_BasicInformation/Director/Form.vue index ac2e3b1e5..cc2a953ca 100644 --- a/src/modules/11_discipline/components/6_BasicInformation/Director/Form.vue +++ b/src/modules/11_discipline/components/6_BasicInformation/Director/Form.vue @@ -29,6 +29,7 @@ const formData = reactive({ position: "", phone: "", email: "", + role: "", }); watch(props.data, async () => { @@ -39,6 +40,7 @@ watch(props.data, async () => { formData.position = props.data.position; formData.phone = props.data.phone; formData.email = props.data.email; + formData.role = props.data.role; }); // เพิ่มบุคลากร @@ -55,6 +57,7 @@ const lastnameRef = ref(null); const positionRef = ref(null); const phoneRef = ref(null); const emailRef = ref(null); +const roleRef = ref(null); const formRef: FormRef = { prefix: prefixRef, firstname: firstnameRef, @@ -62,6 +65,7 @@ const formRef: FormRef = { position: positionRef, phone: phoneRef, email: emailRef, + role: roleRef, }; function onValidate() { diff --git a/src/modules/11_discipline/interface/index/Main.ts b/src/modules/11_discipline/interface/index/Main.ts index 7ea6a448f..6ecb18bd3 100644 --- a/src/modules/11_discipline/interface/index/Main.ts +++ b/src/modules/11_discipline/interface/index/Main.ts @@ -29,6 +29,7 @@ interface directorType { duty: string; email: string; telephone: string; + role: string; } export type { diff --git a/src/modules/11_discipline/interface/request/director.ts b/src/modules/11_discipline/interface/request/director.ts index ef4ffc25f..2dc5e971a 100644 --- a/src/modules/11_discipline/interface/request/director.ts +++ b/src/modules/11_discipline/interface/request/director.ts @@ -5,6 +5,7 @@ interface FormData { position: string; phone: string; email: string; + role: string; responsibilities:string } interface FormRef { @@ -14,6 +15,7 @@ interface FormRef { position: object | null; phone: object | null; email: object | null; + role: object | null; [key: string]: any; } diff --git a/src/modules/11_discipline/store/InvestigateDisStore.ts b/src/modules/11_discipline/store/InvestigateDisStore.ts index 7fa168358..182bd5a0d 100644 --- a/src/modules/11_discipline/store/InvestigateDisStore.ts +++ b/src/modules/11_discipline/store/InvestigateDisStore.ts @@ -51,6 +51,7 @@ export const useInvestigateDisStore = defineStore( duty: e.duty, email: e.email, telephone: e.telephone, + role: e.role, })); rows2.value = datalistDirector; selected.value = rows2.value; @@ -204,6 +205,7 @@ export const useInvestigateDisStore = defineStore( "duty", "email", "telephone", + "role", ]); const columnsDirector = ref([ { @@ -260,6 +262,15 @@ export const useInvestigateDisStore = defineStore( headerStyle: "font-size: 14px", style: "font-size: 14px", }, + { + name: "role", + align: "left", + label: "จำนวนเรื่องสืบสวน", + sortable: true, + field: "role", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, ]); return { fecthList, From f2df09c28e795f4c42ed39b71268a57fb85900d1 Mon Sep 17 00:00:00 2001 From: Tanyalak Date: Tue, 7 Nov 2023 13:01:28 +0700 Subject: [PATCH 4/5] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20ui?= =?UTF-8?q?=20=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5?= =?UTF-8?q?=E0=B8=9E=E0=B8=B7=E0=B9=89=E0=B8=99=E0=B8=90=E0=B8=B2=E0=B8=99?= =?UTF-8?q?=20=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/2_InvestigateFacts/Form.vue | 3 +- .../3_InvestigateDisciplinary/Form.vue | 2 + .../6_BasicInformation/Channel/AddPage.vue | 7 +- .../6_BasicInformation/Director/Form.vue | 238 +++++++++--------- .../interface/request/director.ts | 2 - 5 files changed, 129 insertions(+), 123 deletions(-) diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue index 2bdc487aa..b3697a957 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue @@ -219,7 +219,7 @@ watch(props.data, async () => {
-
+
วันที่สืบสวน { v-model="formData.clickTime" label="ขยายเวลา" color="primary" + dense class="text-weight-medium q-ml-sm" keep-color /> diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue index a4b53484c..26e28d948 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue @@ -370,7 +370,9 @@ watch(props.data, async () => { size="12px" flat round + dense color="add" + class="q-ml-sm" @click="popup()" icon="mdi-plus" > diff --git a/src/modules/11_discipline/components/6_BasicInformation/Channel/AddPage.vue b/src/modules/11_discipline/components/6_BasicInformation/Channel/AddPage.vue index 9e6ef04f0..deb9e7fff 100644 --- a/src/modules/11_discipline/components/6_BasicInformation/Channel/AddPage.vue +++ b/src/modules/11_discipline/components/6_BasicInformation/Channel/AddPage.vue @@ -71,6 +71,7 @@ const clickBack = () => { outlined v-model="channel" for="channel" + hide-bottom-space label="กรอกชื่อช่องทาง" :rules="[(val:string) => !!val || `${'กรุณากรอกชื่อช่องทาง'}`]" /> @@ -78,17 +79,13 @@ const clickBack = () => {
-
- {{ edit ? "แก้ไขข้อมูล" : "บันทึกข้อมูล" }}
diff --git a/src/modules/11_discipline/components/6_BasicInformation/Director/Form.vue b/src/modules/11_discipline/components/6_BasicInformation/Director/Form.vue index cc2a953ca..f670ac922 100644 --- a/src/modules/11_discipline/components/6_BasicInformation/Director/Form.vue +++ b/src/modules/11_discipline/components/6_BasicInformation/Director/Form.vue @@ -29,7 +29,6 @@ const formData = reactive({ position: "", phone: "", email: "", - role: "", }); watch(props.data, async () => { @@ -40,7 +39,6 @@ watch(props.data, async () => { formData.position = props.data.position; formData.phone = props.data.phone; formData.email = props.data.email; - formData.role = props.data.role; }); // เพิ่มบุคลากร @@ -57,7 +55,6 @@ const lastnameRef = ref(null); const positionRef = ref(null); const phoneRef = ref(null); const emailRef = ref(null); -const roleRef = ref(null); const formRef: FormRef = { prefix: prefixRef, firstname: firstnameRef, @@ -65,7 +62,6 @@ const formRef: FormRef = { position: positionRef, phone: phoneRef, email: emailRef, - role: roleRef, }; function onValidate() { @@ -85,117 +81,129 @@ function onValidate() { } diff --git a/src/modules/11_discipline/interface/request/director.ts b/src/modules/11_discipline/interface/request/director.ts index 2dc5e971a..ef4ffc25f 100644 --- a/src/modules/11_discipline/interface/request/director.ts +++ b/src/modules/11_discipline/interface/request/director.ts @@ -5,7 +5,6 @@ interface FormData { position: string; phone: string; email: string; - role: string; responsibilities:string } interface FormRef { @@ -15,7 +14,6 @@ interface FormRef { position: object | null; phone: object | null; email: object | null; - role: object | null; [key: string]: any; } From 92ecb81bfe38d25e8e1eeee55eb0ce5b27408501 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 7 Nov 2023 16:53:17 +0700 Subject: [PATCH 5/5] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B9=89=20showload=20=E0=B8=84=E0=B9=89=E0=B8=B2=E0=B8=87=20?= =?UTF-8?q?=E0=B8=AA=E0=B9=88=E0=B8=A7=E0=B8=99=20=E0=B8=A2=E0=B8=B7?= =?UTF-8?q?=E0=B8=A1-=E0=B8=84=E0=B8=B7=E0=B8=99=E0=B9=80=E0=B8=84?= =?UTF-8?q?=E0=B8=A3=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=8A=E0=B8=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/07_insignia/components/5_Borrow/DialogForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/07_insignia/components/5_Borrow/DialogForm.vue b/src/modules/07_insignia/components/5_Borrow/DialogForm.vue index 3d6069993..53989b675 100644 --- a/src/modules/07_insignia/components/5_Borrow/DialogForm.vue +++ b/src/modules/07_insignia/components/5_Borrow/DialogForm.vue @@ -223,8 +223,8 @@ const clickSave = async () => { // ค้นหาคนจากเลขประจำตัวประชาชน const searchcardid = async () => { - showLoader(); if (cardid.value.length === 13) { + showLoader(); const node = await listPerson.value.find( (e: any) => e.citizenId === cardid.value );