From 5f07146a88469c846d2e2b6b8021d25e582cc7b8 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Tue, 12 Mar 2024 15:12:06 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A?= =?UTF-8?q?=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4:=20UI=20=E0=B8=84=E0=B8=A7=E0=B8=B2?= =?UTF-8?q?=E0=B8=A1=E0=B8=AA=E0=B8=B2=E0=B8=A1=E0=B8=B2=E0=B8=A3=E0=B8=96?= =?UTF-8?q?=E0=B8=9E=E0=B8=B4=E0=B9=80=E0=B8=A8=E0=B8=A9+=E0=B8=9B?= =?UTF-8?q?=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/PersonalInformation/04_Family.vue | 20 + .../PersonalInformation/05_Education.vue | 123 ++++- .../PersonalInformation/06_SpecialSkill.vue | 425 +++++++++++++++++- 3 files changed, 562 insertions(+), 6 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue index de10f5f84..93004daae 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue @@ -495,6 +495,7 @@ function deleteChildren(items: any) { class="col" outlined hide-bottom-space + bg-color="white" dense v-model="fatherData.citizenId" :label="`${'เลขประจำตัวประชาชน'}`" @@ -505,6 +506,7 @@ function deleteChildren(items: any) { :disable="!fatherData.isHaveInfo" class="col" outlined + bg-color="white" lazy-rules dense v-model="fatherData.prefix" @@ -518,6 +520,7 @@ function deleteChildren(items: any) { class="col" outlined dense + bg-color="white" lazy-rules v-model="fatherData.firstName" :rules="[(val) => !!val || 'กรุณากรอกชื่อ']" @@ -529,6 +532,7 @@ function deleteChildren(items: any) { class="col" outlined dense + bg-color="white" lazy-rules v-model="fatherData.lastName" :rules="[(val) => !!val || 'กรุณากรอกนามสกุล']" @@ -539,6 +543,7 @@ function deleteChildren(items: any) { class="col" outlined dense + bg-color="white" v-model="fatherData.job" label="อาชีพ" /> @@ -582,6 +587,7 @@ function deleteChildren(items: any) { outlined hide-bottom-space dense + bg-color="white" v-model="motherData.citizenId" :label="`${'เลขประจำตัวประชาชน'}`" maxlength="13" @@ -595,6 +601,7 @@ function deleteChildren(items: any) { v-model="motherData.prefix" :rules="[(val) => !!val || 'กรุณาเลือกคำนำหน้าชื่อ']" lazy-rules + bg-color="white" :options="motherData.optionPrefix" label="คำนำหน้าชื่อ" /> @@ -602,6 +609,7 @@ function deleteChildren(items: any) { :disable="!motherData.isHaveInfo" class="col" outlined + bg-color="white" :rules="[(val) => !!val || 'กรุณากรอกชื่อ']" dense lazy-rules @@ -613,6 +621,7 @@ function deleteChildren(items: any) { :rules="[(val) => !!val || 'กรุณากรอกนามสกุล']" class="col" outlined + bg-color="white" lazy-rules dense v-model="motherData.lastName" @@ -622,6 +631,7 @@ function deleteChildren(items: any) { :disable="!motherData.isHaveInfo" class="col" outlined + bg-color="white" dense v-model="motherData.job" label="อาชีพ" @@ -666,6 +676,7 @@ function deleteChildren(items: any) { outlined hide-bottom-space dense + bg-color="white" v-model="spouseData.citizenId" :label="`${'เลขประจำตัวประชาชน'}`" maxlength="13" @@ -676,6 +687,7 @@ function deleteChildren(items: any) { :disable="!spouseData.isHave" outlined dense + bg-color="white" v-model="spouseData.prefix" :rules="[(val) => !!val || 'กรุณาเลือกคำนำหน้าชื่อ']" :options="spouseData.optionPrefix" @@ -683,6 +695,7 @@ function deleteChildren(items: any) { /> @@ -704,6 +718,7 @@ function deleteChildren(items: any) { :disable="!spouseData.isHave" outlined dense + bg-color="white" v-model="spouseData.job" label="อาชีพ" /> @@ -756,6 +771,7 @@ function deleteChildren(items: any) { v-model="items.citizenId" :label="`${'เลขประจำตัวประชาชน'}`" maxlength="13" + bg-color="white" mask="#############" /> ([ ]); const isDate = ref("false"); const educationOption = ["ใช่", "ไม่ใช่"]; - +const historyDialog = ref(false); const educationData = reactive({ level: "", institute: "", @@ -191,13 +191,24 @@ const educationData = reactive({ note: "", }); +const formFilter = reactive({ + page: 1, + pageSize: 10, + keyword: "", +}); + +const pagination = ref({ + page: formFilter.page, + rowsPerPage: formFilter.pageSize, +}); + const row = [ { level: "ประกาศนียบัตรบัณฑิต", institute: "เชียงใหม่วิทย์", degree: "ปริญญาตรี", field: "วิศวะคอม", - gpa: "", + gpa: "4.5", country: "อังกฤษ", duration: "3 ปี", durationYear: "4 ปี", @@ -293,6 +304,9 @@ async function onSubmit() { function closeDialog() { addDataDialog.value = false; } +function closeHistoryDialog() { + historyDialog.value = false; +} watch( () => isDate.value, @@ -415,7 +429,15 @@ watch( - + @@ -428,7 +450,13 @@ watch( แก่ไขข้อมุล - + ประวัติบันทึกวันที่ไม่ได้รับเงินเดือนฯ @@ -808,6 +836,93 @@ watch( + + + + + + + + + + + + + + + + + + + + + + + + + From 7e0449843f387c16cd8d91b49767590a5d888859 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Tue, 12 Mar 2024 15:37:04 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A?= =?UTF-8?q?=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4:=20=E0=B9=80=E0=B8=9E=E0=B8=B4?= =?UTF-8?q?=E0=B9=88=E0=B8=A1=E0=B8=81=E0=B8=94=E0=B8=9B=E0=B8=B8=E0=B9=88?= =?UTF-8?q?=E0=B8=A1Edit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PersonalInformation/05_Education.vue | 22 ++++++++++++++----- .../PersonalInformation/06_SpecialSkill.vue | 16 +++++++++----- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue index 435af3eef..d087cef14 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue @@ -414,7 +414,11 @@ watch( @@ -447,8 +453,14 @@ watch( > - - แก่ไขข้อมุล + + แก้ไขข้อมูล - ประวัติบันทึกวันที่ไม่ได้รับเงินเดือนฯ + ประวัติแก้ไขประวัติการศึกษา diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/06_SpecialSkill.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/06_SpecialSkill.vue index 2d6493c2f..24981971b 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/06_SpecialSkill.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/06_SpecialSkill.vue @@ -228,7 +228,7 @@ async function onSubmit() {