From fc86ff1e222d0dfd7c11c36a48a9ce69ad7e6b9b Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 14 Sep 2023 14:33:48 +0700 Subject: [PATCH] =?UTF-8?q?history=20=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1?= =?UTF-8?q?=E0=B8=B9=E0=B8=A5=E0=B8=84=E0=B8=A3=E0=B8=AD=E0=B8=9A=E0=B8=84?= =?UTF-8?q?=E0=B8=A3=E0=B8=B1=E0=B8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Information/Family.vue | 369 +++++++++- .../components/ListRetirement/AddList.vue | 7 +- .../views/Information/Family.vue | 696 +++++++++--------- 3 files changed, 706 insertions(+), 366 deletions(-) diff --git a/src/modules/04_registry/components/Information/Family.vue b/src/modules/04_registry/components/Information/Family.vue index 4a222994a..0eb990250 100644 --- a/src/modules/04_registry/components/Information/Family.vue +++ b/src/modules/04_registry/components/Information/Family.vue @@ -13,7 +13,7 @@ :addEmployee="statusAdd()" /> -
+
• บิดา
@@ -548,6 +548,7 @@
+
-
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -691,7 +774,89 @@ :disable="true" />
-
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
@@ -827,7 +992,107 @@ />
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
@@ -977,7 +1242,89 @@ :disable="true" />
-
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
diff --git a/src/modules/06_retirement/components/ListRetirement/AddList.vue b/src/modules/06_retirement/components/ListRetirement/AddList.vue index 4d4b205b7..6a08a6169 100644 --- a/src/modules/06_retirement/components/ListRetirement/AddList.vue +++ b/src/modules/06_retirement/components/ListRetirement/AddList.vue @@ -193,7 +193,7 @@ const clickAdd = (props: any) => { // console.log("เพิ่มข้อมูล"); await http .put(config.API.profileRetire(retireld.value), { profileId: data }) - .then((res) => { + .then(() => { success($q, "เพิ่มข้อมูลสำเร็จ"); updateListData(retireld.value, data); }) @@ -239,10 +239,9 @@ const paginationLabel = (start: number, end: number, total: number) => { > - + - เพิ่มรายชื่อ - + เพิ่มรายชื่อ -
+
• บิดา
@@ -409,7 +409,7 @@
@@ -586,90 +586,90 @@ :disable="true" />
-
- -
-
- +
+ +
+
+ + /> +
+
+ +
+
+ +
+
+ +
- -
- -
-
- -
-
- -
-
+
• มารดา
-
- -
-
- +
+ +
+
+ -
- -
- -
-
- -
-
- + /> +
+
+ +
+
+ +
+
+ +
+
-
- -
- + +
+
+ -
- -
- -
-
- -
-
- -
-
- + /> +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -977,86 +963,87 @@ :disable="true" />
-
- -
-
- +
+ +
+
+ -
-
- -
-
- -
-
- + /> +
+
+ +
+
+ +
+
+ +
@@ -1126,7 +1113,14 @@ const route = useRoute(); const $q = useQuasar(); const mixin = useCounterMixin(); -const { date2Thai, success, messageError, showLoader, hideLoader ,dialogConfirm} = mixin; +const { + date2Thai, + success, + messageError, + showLoader, + hideLoader, + dialogConfirm, +} = mixin; const edit = ref(false); const fix = ref(true); const myform = ref(null); @@ -1456,9 +1450,9 @@ const addData = async () => { // await changeBirth(informaData.value.birthDate ?? new Date()); // }); }; -const saveData = () =>{ - dialogConfirm($q,() => Datasave()) -} +const saveData = () => { + dialogConfirm($q, () => Datasave()); +}; const Datasave = async () => { await myform.value?.validate().then(async (success: boolean) => { if (success) {