From 16dd4c2fe8e34806c99758fed8eca191c5a4813f Mon Sep 17 00:00:00 2001 From: Tanyalak Date: Tue, 3 Oct 2023 17:10:00 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20dialog=20=E0=B8=81=E0=B8=A3=E0=B8=AD=E0=B8=81=E0=B8=9A?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=A3,=20=E0=B8=9B=E0=B8=A3=E0=B8=B1?= =?UTF-8?q?=E0=B8=9A=20input=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B9=80=E0=B8=95=E0=B8=B4=E0=B8=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../01_exam/components/Form/Address.vue | 14 +-- .../01_exam/components/Form/Career.vue | 41 ++++++++- .../01_exam/components/Form/Education.vue | 28 ++---- .../01_exam/components/Form/Information.vue | 87 +++++++++++++++++-- 4 files changed, 135 insertions(+), 35 deletions(-) diff --git a/src/modules/01_exam/components/Form/Address.vue b/src/modules/01_exam/components/Form/Address.vue index 6886d77..fa1c43b 100644 --- a/src/modules/01_exam/components/Form/Address.vue +++ b/src/modules/01_exam/components/Form/Address.vue @@ -87,10 +87,11 @@ :class="getClass(status == 'register' || status == 'rejectRegister')" dense lazy-rules - readonly - borderless + :readonly="!(status == 'rejectRegister')" + :borderless="!(status == 'register' || status == 'rejectRegister')" + :outlined="status == 'register' || status == 'rejectRegister'" v-model="defaultAddress.code" - :style="!(status == 'register' || status == 'rejectRegister') ? '' : 'padding:0 12px;'" + bottom-slots :label="`${'รหัสไปรษณีย์'}`" /> @@ -198,10 +199,11 @@ :class="getClass(status == 'register' || status == 'rejectRegister')" dense lazy-rules - readonly - borderless + bottom-slots + :readonly="!(status == 'rejectRegister')" + :borderless="!(status == 'register' || status == 'rejectRegister')" + :outlined="status == 'register' || status == 'rejectRegister'" v-model="defaultAddress.codeC" - :style="!(status == 'register' || status == 'rejectRegister') ? '' : 'padding:0 12px;'" :label="`${'รหัสไปรษณีย์'}`" /> diff --git a/src/modules/01_exam/components/Form/Career.vue b/src/modules/01_exam/components/Form/Career.vue index 72810aa..0f61a45 100644 --- a/src/modules/01_exam/components/Form/Career.vue +++ b/src/modules/01_exam/components/Form/Career.vue @@ -73,6 +73,22 @@ />
+ +
+
('') + +const type = ref() +const opType = ref(['ลูกจ้างประจำ','ลูกจ้างชั่วคราว','ผู้ปฏิบัติงานอื่นในกรุงเทพมหานคร']) + const position = ref() const group = ref() const pile = ref() @@ -292,9 +312,10 @@ const visibleColumns = ref([]) examData.career.columns.length == 0 ? (visibleColumns.value = [ 'position', - 'group', + /* 'group', 'pile', - 'org', + 'org', */ + 'type', 'startDate', 'endDate', 'rangeDate' @@ -313,7 +334,19 @@ const columns = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: 'base' }) }, + { + name: 'type', + align: 'left', + label: 'ประเภท', + sortable: true, + field: 'type', + headerStyle: 'font-size: 14px', + style: 'font-size: 14px', + sort: (a: string, b: string) => + a.localeCompare(b, undefined, { numeric: true, sensitivity: 'base' }) + }, + /* { name: 'group', align: 'left', label: 'กลุ่ม/ฝ่าย', @@ -345,7 +378,7 @@ const columns = ref([ style: 'font-size: 14px', sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: 'base' }) - }, + }, */ { name: 'startDate', align: 'left', diff --git a/src/modules/01_exam/components/Form/Education.vue b/src/modules/01_exam/components/Form/Education.vue index 7274ccd..c67daaa 100644 --- a/src/modules/01_exam/components/Form/Education.vue +++ b/src/modules/01_exam/components/Form/Education.vue @@ -10,8 +10,8 @@ />
-
-
+
+
-
+
-
+
-
-
-
+
-
+
-
+
-
+
--> -
+
--> + + + + + +
กรอกเลขประจำตัวประชาชน
+
+ + + + + + + + + + +
+