From 860da528ddb1d5f09e28fd888d250375cd7e714a Mon Sep 17 00:00:00 2001 From: oat_dev Date: Mon, 1 Apr 2024 14:04:26 +0700 Subject: [PATCH 1/7] =?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=81=E0=B8=81=E0=B9=89?= =?UTF-8?q?=E0=B9=84=E0=B8=82=E0=B9=82=E0=B8=AB=E0=B8=A5=E0=B8=94=E0=B8=84?= =?UTF-8?q?=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=82=E0=B8=AD=E0=B8=87=E0=B8=9B?= =?UTF-8?q?=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B8=82?= =?UTF-8?q?=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5=E0=B8=84=E0=B8=A3?= =?UTF-8?q?=E0=B8=AD=E0=B8=9A=E0=B8=84=E0=B8=A3=E0=B8=B1=E0=B8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/PersonalInformation/04_Family.vue | 66 +++++++++---------- 1 file changed, 32 insertions(+), 34 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 96b2b6b48..e197f856e 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue @@ -36,32 +36,29 @@ const index = ref(1); const fatherData = reactive({ isHaveInfo: 1, isLive: 0, - citizenId: "123123213", - prefix: "นาย", - optionPrefix: ["นาย", "จ่าสิบเอก"], - firstName: "ณัฐพัฐ", - lastName: "ดิษยบุตร", - job: "ตำรวจ", + citizenId: "", + prefix: "", + firstName: "", + lastName: "", + job: "", }); const motherData = reactive({ isHaveInfo: 1, isLive: 0, - citizenId: "222222222", - prefix: "นาง", - optionPrefix: ["นาง", "นางสาว"], - firstName: "นางอริญกัญญา", - lastName: "ดิษยบุตร", - job: "พยาบาล", + citizenId: "", + prefix: "", + firstName: "", + lastName: "", + job: "", }); const spouseData = reactive({ isHave: 1, isLive: 0, - citizenId: "44444444", - prefix: "นาย", - optionPrefix: ["นาย", "นาง", "นางสาว"], - firstName: "กัญจาพล", - lastName: "ดิอุรุกษา", - job: "ค้าขาย", + citizenId: "", + prefix: "", + firstName: "", + lastName: "", + job: "", }); const rows = ref([]); @@ -294,25 +291,25 @@ onMounted(async () => {
เลขบัตรประจำตัวประชาชน
- {{ fatherData.citizenId }} + {{ fatherData.citizenId ? fatherData.citizenId : "-" }}
คำนำหน้าชื่อ
- {{ fatherData.prefix }} + {{ fatherData.prefix ? fatherData.prefix : "-" }}
ชื่อ
- {{ fatherData.firstName }} + {{ fatherData.firstName ? fatherData.firstName : "-" }}
นามสกุล
- {{ fatherData.lastName }} + {{ fatherData.lastName ? fatherData.lastName : "-" }}
อาชีพ
- {{ fatherData.job }} + {{ fatherData.job ? fatherData.job : "-" }}
@@ -336,25 +333,25 @@ onMounted(async () => {
เลขบัตรประจำตัวประชาชน
- {{ motherData.citizenId }} + {{ motherData.citizenId ? motherData.citizenId : "-" }}
คำนำหน้าชื่อ
- {{ motherData.prefix }} + {{ motherData.prefix ? motherData.prefix : "-" }}
ชื่อ
- {{ motherData.firstName }} + {{ motherData.firstName ? motherData.firstName : "-" }}
นามสกุล
- {{ motherData.lastName }} + {{ motherData.lastName ? motherData.lastName : "-" }}
อาชีพ
- {{ motherData.job }} + {{ motherData.job ? motherData.job : "-" }}
@@ -378,25 +375,25 @@ onMounted(async () => {
เลขบัตรประจำตัวประชาชน
- {{ spouseData.citizenId }} + {{ spouseData.citizenId ? spouseData.citizenId : "-" }}
คำนำหน้าชื่อ
- {{ spouseData.prefix }} + {{ spouseData.prefix ? spouseData.prefix : "-" }}
ชื่อ
- {{ spouseData.firstName }} + {{ spouseData.firstName ? spouseData.firstName : "-" }}
นามสกุล
- {{ spouseData.lastName }} + {{ spouseData.lastName ? spouseData.lastName : "-" }}
อาชีพ
- {{ spouseData.job }} + {{ spouseData.job ? spouseData.job : "-" }}
@@ -1041,7 +1038,8 @@ onMounted(async () => { /> -
+
ไม่พบข้อมูล
+
From c8bc52a9fc46c686be521e6dd7b8bec96aa429e8 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Mon, 1 Apr 2024 14:27:46 +0700 Subject: [PATCH 2/7] =?UTF-8?q?-=20=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20?= =?UTF-8?q?dialog=20fixed=20header=20&=20footer=20-=20=E0=B9=81=E0=B8=81?= =?UTF-8?q?=E0=B9=89=E0=B8=84=E0=B8=B3=E0=B8=9C=E0=B8=B4=E0=B8=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/PersonalInformation/01_Profile.vue | 2 +- .../PersonalInformation/05_Education.vue | 788 +++++++++--------- src/style/quasar-variables.sass | 4 + 3 files changed, 408 insertions(+), 386 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue index 996adf546..850de1dfe 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue @@ -378,7 +378,7 @@ onMounted(async () => { แก้ไขข้อมูล - ประวัติข้อมูลส่วนตัว + ประวัติแก้ไขข้อมูลส่วนตัว
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 1238e5941..e9687418f 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue @@ -948,225 +948,276 @@ onMounted(async () => { - + - - - - -
-
-
- + + + + + + +
+
+ + :rules="[(val) => !!val || `${'กรุณาเลือกระดับการศึกษา'}`]" + label="ระดับการศึกษา" + class="inputgreen" + hide-bottom-space + /> +
+
+ +
-
- -
-
- -
- - -
-
-
- +
+ + +
+
+
+ - - - - -
-
- {{ year + 543 }} + + + +
+
+ - - - - + > + + + + +
-
-
-
- +
+ - - - - -
-
- {{ year + 543 }} + + + +
+
+ + + + + +
+
+ +
+
+ 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 e9687418f..fd0234685 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/05_Education.vue @@ -951,7 +951,7 @@ onMounted(async () => { From ac846a66f484e1d99e2eda8617bb016242541fed Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Mon, 1 Apr 2024 15:05:14 +0700 Subject: [PATCH 5/7] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20dialog=20hist?= =?UTF-8?q?ory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/PersonalInformation/01_Profile.vue | 172 +++++++++--------- 1 file changed, 83 insertions(+), 89 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue index 939bd37c6..0e5439d72 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue @@ -779,99 +779,93 @@ onMounted(async () => { style="height: 80vh; min-width: 80%" class="bg-white" > - - - - - - - + + + + + + - - -
- - - - - -
- - + +
+ + - > - From 47da6ec404b84537e65f8039a430647346004ba0 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Mon, 1 Apr 2024 17:12:19 +0700 Subject: [PATCH 6/7] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A?= =?UTF-8?q?=E0=B8=AA=E0=B8=B5=E0=B8=9B=E0=B8=8F=E0=B8=B4=E0=B8=97=E0=B8=B4?= =?UTF-8?q?=E0=B8=99=20=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99?= =?UTF-8?q?=E0=B9=88=E0=B8=87=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B9=80?= =?UTF-8?q?=E0=B8=94=E0=B8=B7=E0=B8=AD=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/detail/Salary/01_PositionSalary.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/04_registryNew/components/detail/Salary/01_PositionSalary.vue b/src/modules/04_registryNew/components/detail/Salary/01_PositionSalary.vue index ba19133c2..066dd2e15 100644 --- a/src/modules/04_registryNew/components/detail/Salary/01_PositionSalary.vue +++ b/src/modules/04_registryNew/components/detail/Salary/01_PositionSalary.vue @@ -575,7 +575,12 @@ onMounted(() => { hide-bottom-space > From 6af0f7f1b8bdd4e11ce02cca6a3d7c04c088010e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 1 Apr 2024 17:24:54 +0700 Subject: [PATCH 7/7] =?UTF-8?q?popup=20=E0=B8=AB=E0=B8=99=E0=B9=88?= =?UTF-8?q?=E0=B8=A7=E0=B8=A2=E0=B8=87=E0=B8=B2=E0=B8=99=E0=B8=97=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=9C=E0=B8=B4=E0=B8=94?= =?UTF-8?q?=E0=B8=8A=E0=B8=AD=E0=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../15_development/components/BasicInfo.vue | 21 ++- .../components/DialogSelectAgency.vue | 151 ++++++++++++++++++ 2 files changed, 169 insertions(+), 3 deletions(-) create mode 100644 src/modules/15_development/components/DialogSelectAgency.vue diff --git a/src/modules/15_development/components/BasicInfo.vue b/src/modules/15_development/components/BasicInfo.vue index 90022418a..ab7f6ee68 100644 --- a/src/modules/15_development/components/BasicInfo.vue +++ b/src/modules/15_development/components/BasicInfo.vue @@ -4,6 +4,8 @@ import { useQuasar } from "quasar"; import type { FormBasicinfo } from "@/modules/15_development/interface/request/Main"; +import DialogSelectAgency from "@/modules/15_development/components/DialogSelectAgency.vue"; + import { useCounterMixin } from "@/stores/mixin"; const $q = useQuasar(); @@ -11,7 +13,7 @@ const { showLoader, hideLoader, dialogConfirm } = useCounterMixin(); const formData = reactive({ year: new Date().getFullYear(), - org: "สำนักงานคณะกรรมการข้าราชการกรุงเทพมหานครกองบริหารทั้วไป", + org: "", projectName: "", reason: "", objective: "", @@ -25,6 +27,14 @@ function onSubmit() { dialogConfirm($q, () => {}); } +const modalDialogSelect = ref(false); +function selectAgency() { + modalDialogSelect.value = true; +} +function updateAgency(name: string) { + formData.org = name; +} + onMounted(() => { console.log("ข้อมูลเบื้องต้น"); }); @@ -66,14 +76,14 @@ onMounted(() => {
- diff --git a/src/modules/15_development/components/DialogSelectAgency.vue b/src/modules/15_development/components/DialogSelectAgency.vue new file mode 100644 index 000000000..516fc1855 --- /dev/null +++ b/src/modules/15_development/components/DialogSelectAgency.vue @@ -0,0 +1,151 @@ + + + +