From 1f18f7c7073a53bc53a3df0eba1021ea60e0ced7 Mon Sep 17 00:00:00 2001 From: Tanyalak Date: Thu, 5 Oct 2023 14:31:39 +0700 Subject: [PATCH] =?UTF-8?q?-=20[x]=20=E0=B8=AB=E0=B8=A1=E0=B8=94=E0=B9=80?= =?UTF-8?q?=E0=B8=82=E0=B8=95=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=AA=E0=B8=A1?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=A3=E0=B8=AA=E0=B8=AD=E0=B8=9A=20?= =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1=20icon=20?= =?UTF-8?q?=E0=B8=81=E0=B8=B1=E0=B8=9A=E0=B8=AA=E0=B8=B5=20-=20[=20]=20?= =?UTF-8?q?=E0=B8=82=E0=B8=B2=E0=B8=94=20=E0=B8=A3=E0=B8=A7=E0=B8=A1?= =?UTF-8?q?=E0=B8=A3=E0=B8=B0=E0=B8=A2=E0=B8=B0=E0=B9=80=E0=B8=A7=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=20>=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20row=20=E0=B8=A3=E0=B8=A7=E0=B8=A1=E0=B8=A3=E0=B8=B0=E0=B8=A2?= =?UTF-8?q?=E0=B8=B0=E0=B9=80=E0=B8=A7=E0=B8=A5=E0=B8=B2=20=E0=B9=83?= =?UTF-8?q?=E0=B8=99=E0=B8=95=E0=B8=B2=E0=B8=A3=E0=B8=B2=E0=B8=87=E0=B9=83?= =?UTF-8?q?=E0=B8=99=E0=B9=81=E0=B8=A5=E0=B9=89=E0=B8=A7=20=E0=B9=80?= =?UTF-8?q?=E0=B8=AB=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B9=81=E0=B8=84=E0=B9=88?= =?UTF-8?q?=E0=B8=95=E0=B9=88=E0=B8=AD=20api=20=E0=B8=84=E0=B9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0=B8=B1?= =?UTF-8?q?=E0=B8=A7=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=8A=E0=B8=B2=E0=B8=8A?= =?UTF-8?q?=E0=B8=99=E0=B9=83=E0=B8=AB=E0=B9=89=E0=B8=96=E0=B8=B9=E0=B8=81?= =?UTF-8?q?=E0=B8=95=E0=B9=89=E0=B8=AD=E0=B8=87=20-=20[x]=20=20=E0=B8=AB?= =?UTF-8?q?=E0=B8=B1=E0=B8=A7=E0=B8=82=E0=B9=89=E0=B8=AD=20=E0=B8=82?= =?UTF-8?q?=E0=B8=B2=E0=B8=94=E0=B8=A3=E0=B8=B0=E0=B8=94=E0=B8=B1=E0=B8=9A?= =?UTF-8?q?=E0=B8=97=E0=B9=89=E0=B8=B2=E0=B8=A2=E0=B8=95=E0=B8=B3=E0=B9=81?= =?UTF-8?q?=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Table.vue | 4 + src/modules/01_exam/components/ExamCard.vue | 4 +- .../01_exam/components/ExamFinished.vue | 2 +- .../01_exam/components/Form/Career.vue | 17 +- .../01_exam/components/Form/Contact.vue | 153 ++++++++++++++++++ .../01_exam/components/Form/Information.vue | 5 +- .../01_exam/components/Form/Profile.vue | 20 ++- src/modules/01_exam/views/ExamDetail.vue | 32 ++-- src/stores/mixin.ts | 2 +- 9 files changed, 203 insertions(+), 36 deletions(-) create mode 100644 src/modules/01_exam/components/Form/Contact.vue diff --git a/src/components/Table.vue b/src/components/Table.vue index 52e85d0..0f1f610 100644 --- a/src/components/Table.vue +++ b/src/components/Table.vue @@ -77,6 +77,9 @@ + - diff --git a/src/modules/01_exam/components/Form/Contact.vue b/src/modules/01_exam/components/Form/Contact.vue new file mode 100644 index 0000000..389714a --- /dev/null +++ b/src/modules/01_exam/components/Form/Contact.vue @@ -0,0 +1,153 @@ + + + + \ No newline at end of file diff --git a/src/modules/01_exam/components/Form/Information.vue b/src/modules/01_exam/components/Form/Information.vue index e64bd45..671e10c 100644 --- a/src/modules/01_exam/components/Form/Information.vue +++ b/src/modules/01_exam/components/Form/Information.vue @@ -23,7 +23,7 @@ :class="getClass(status == 'register' || status == 'rejectRegister')" :borderless="!(status == 'register' || status == 'rejectRegister')" :rules="[ - (val) => (val != null && val.length == 13) || `${'กรุณากรอก เลขประจำตัวประชาชน'}`, + (val) => (val != null && val.length == 13) || `${'กรุณากรอกเลขประจำตัวประชาชนให้ถูกต้อง'}`, (val) => /^[0-9]*$/.test(val) || `${'กรุณากรอกเลขประจำตัวประชาชนให้ถูกต้อง'}` ]" v-model="defaultInformation.cardid" @@ -145,7 +145,6 @@
- -
-
-
- +