From f15ce3dcdbe624e6510cb16733a3c8bf12026074 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Wed, 13 Sep 2023 14:18:33 +0700 Subject: [PATCH 01/10] =?UTF-8?q?auto=20text=20=E0=B9=83=E0=B8=AB=E0=B9=89?= =?UTF-8?q?=E0=B8=95=E0=B8=B2=E0=B8=A1=E0=B9=80=E0=B8=AD=E0=B8=81=E0=B8=AA?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88?= =?UTF-8?q?=E0=B8=87=E0=B8=95=E0=B9=88=E0=B8=B2=E0=B8=87=E0=B9=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../10_order/components/step/step01.vue | 56 ++++++++++++++++++- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/src/modules/10_order/components/step/step01.vue b/src/modules/10_order/components/step/step01.vue index f6b15dc5b..9d3cdf5dd 100644 --- a/src/modules/10_order/components/step/step01.vue +++ b/src/modules/10_order/components/step/step01.vue @@ -53,7 +53,7 @@ const CommandOption = ref([]); //Main const typeOrder = ref([]); -const nameOrder = ref(""); +const nameOrder = ref(""); const command = ref(); const dateYear = ref(new Date().getFullYear()); const dateCommand = ref(new Date()); @@ -317,11 +317,63 @@ const fecthCommand = async () => { console.log(e); }); }; + +const nameOrderFilter = (selectOrder: any) => { + console.log(selectOrder); + switch (selectOrder) { + case "C-PM-01": + return "บรรจุและแต่งตั้งผู้สอบแข่งขันได้"; + case "C-PM-02": + return "บรรจุและแต่งตั้งผู้ได้รับคัดเลือก"; + case "C-PM-03": + return "แต่งตั้งข้าราชการ"; + case "C-PM-04": + return "ย้ายข้าราชการ"; + case "C-PM-05": + return "แต่งตั้งข้าราชการ"; + case "C-PM-06": + return "แต่งตั้งข้าราชการ"; + case "C-PM-07": + return "ย้ายข้าราชการ"; + case "C-PM-08": + return "บรรจุและแต่งตั้งข้าราชการกรุงเทพมหานครสามัญกลับเข้ารับราชการ"; + case "C-PM-09": + return "บรรจุและแต่งตั้งผู้ออกไปรับราชการทหารกลับเข้ารับราชการ"; + case "C-PM-10": + return "แต่งตั้งคณะกรรมการประเมินผลการทดลองปฏิบัติหน้าที่ราชการ"; + case "C-PM-11": + return "ให้ข้าราชการกรุงเทพมหานครสามัญซึ่งมีผลการทดลองปฏิบัติหน้าที่ราชการไม่ต่ำกว่ามาตรฐานที่กำหนดรับราชการต่อไป"; + case "C-PM-12": + return "ให้ข้าราชการกรุงเทพมหานครสามัญออกจากราชการเพราะผลการทดลองปฏิบัติหน้าที่ราชการต่ำกว่ามาตรฐานที่กำหนด"; + case "C-PM-13": + return "ให้โอนข้าราชการกรุงเทพมหานครสามัญ"; + case "C-PM-14": + return "รับโอนข้าราชการกรุงเทพมหานครสามัญ"; + case "C-PM-15": + return "ให้ข้าราชการช่วยราชการ"; + case "C-PM-16": + return "ให้ข้าราชการกลับไปปฎิบัติงานทางต้นสังกัดเดิม"; + case "C-PM-17": + return "อนุญาตให้ข้าราชการลาออกจากราชการ"; + case "C-PM-18": + return "ลงโทษให้ออกจากราชการ"; + case "C-PM-19": + return "ลงโทษปลดออกจากราชการ"; + case "C-PM-20": + return "ลงโทษไล่ออกจากราชการ"; + case "C-PM-21": + return "จ้างและแต่งตั้งลูกจ้างประจำ"; + + default: + return "error"; + } +}; const selectCMP = (selectOrder: any) => { fecthExamRoundOption(selectOrder.commandCode); if (selectOrder.commandCode === "C-PM-10") { nodeTree(); } + nameOrder.value = nameOrderFilter(selectOrder.commandCode); //01-04 examRound.value = ""; conclusionRegisterNo.value = ""; @@ -2354,7 +2406,7 @@ const getClass = (val: boolean) => { !!val || `${'กรุณากรอก มติที่ประชุม(เรื่องการดำเนินการทางวินัย)'}`, ]" - :label="`${'มติที่ประชุม(เรื่องการดำเนินการทางวินัย)'}`" + :label="`${'มติที่ประชุม (เรื่องการดำเนินการทางวินัย)'}`" hide-bottom-space /> From bc41809f86316eb585d4fa416013c2f38c1ef4a6 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Wed, 13 Sep 2023 14:57:30 +0700 Subject: [PATCH 02/10] =?UTF-8?q?=E0=B9=80=E0=B9=80=E0=B8=81=E0=B9=89=20in?= =?UTF-8?q?put=20=E0=B8=A5=E0=B8=AD=E0=B8=A2=20=E0=B8=95=E0=B8=AD=E0=B8=99?= =?UTF-8?q?=20validate=20=E0=B9=80=E0=B8=94=E0=B9=89=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AppointMent/Detail.vue | 9 +- .../05_placement/components/Other/Detail.vue | 15 +- .../components/Receive/information.vue | 3 +- .../components/Receive/receiveDetail2.vue | 2 +- .../components/Repatriate/RepatriatebyId.vue | 13 +- .../components/Transfer/transferRegistry.vue | 293 +++++----- .../helpgovernment/governmentDetail.vue | 6 +- .../Discharged/dischargedRegistry.vue | 13 +- .../components/DismissOrder/outRegistry.vue | 12 +- .../Expulsion/expulsionRegistry.vue | 13 +- .../components/resign/ResignByid.vue | 16 +- .../08_registryEmployee/views/information.vue | 539 +++++++++--------- 12 files changed, 475 insertions(+), 459 deletions(-) diff --git a/src/modules/05_placement/components/AppointMent/Detail.vue b/src/modules/05_placement/components/AppointMent/Detail.vue index 7bbb72107..73b1d3391 100644 --- a/src/modules/05_placement/components/AppointMent/Detail.vue +++ b/src/modules/05_placement/components/AppointMent/Detail.vue @@ -289,7 +289,7 @@ const getClass = (val: boolean) => { -
+
{ />
-
+
{ />
-
+
{ />
-
+
- -
+
{
-
+
ข้อมูลส่วนตัว
diff --git a/src/modules/05_placement/components/Repatriate/RepatriatebyId.vue b/src/modules/05_placement/components/Repatriate/RepatriatebyId.vue index 5b5e78dd7..cac535c14 100644 --- a/src/modules/05_placement/components/Repatriate/RepatriatebyId.vue +++ b/src/modules/05_placement/components/Repatriate/RepatriatebyId.vue @@ -276,7 +276,7 @@ onMounted(async () => { />
-
+
{ />
-
+
{ />
-
+
{ />
-
+
- + +
+
-
-
-
+ +
+ +
+
+
+ +
+
+ + + + + +
+
+
+
-
-
- - - - - -
-
-
- -
diff --git a/src/modules/05_placement/components/helpgovernment/governmentDetail.vue b/src/modules/05_placement/components/helpgovernment/governmentDetail.vue index 56c18d9b1..0ff19a1a9 100644 --- a/src/modules/05_placement/components/helpgovernment/governmentDetail.vue +++ b/src/modules/05_placement/components/helpgovernment/governmentDetail.vue @@ -349,7 +349,7 @@ onMounted(async () => {
-->
-
+
{ />
-
+
{
-
+
-
+
-
+
-
+
-
+
-
-
- + +
+
+ + /> +
+
+ +
+
+ +
- -
- -
-
- -
-
- - - - - -
-
- -
-
- +
+ + + + + +
+
+ +
+
+ -
-
- + + /> +
+
+ +
+
+ +
-
- -
-
- -
-
- +
+ -
-
- + -
-
- + + mask="##########" + /> +
{ await fetchData(); }; const calculateMaxDate = () => { - const today = new Date(); - - today.setDate(today.getDate() - 1); - return today; - } + const today = new Date(); + + today.setDate(today.getDate() - 1); + return today; +}; const calRetire = async (birth: Date) => { - console.log(birth) + console.log(birth); const body = { birthDate: dateToISO(birth), }; From ff99f0c0db217bbc34e026eb89442d80aa2ab4f6 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Wed, 13 Sep 2023 15:13:02 +0700 Subject: [PATCH 03/10] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20flexbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/10_order/components/step/step01.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/10_order/components/step/step01.vue b/src/modules/10_order/components/step/step01.vue index 9d3cdf5dd..d6160ecd9 100644 --- a/src/modules/10_order/components/step/step01.vue +++ b/src/modules/10_order/components/step/step01.vue @@ -765,7 +765,7 @@ const getClass = (val: boolean) => { hide-bottom-space />
-
+
Date: Wed, 13 Sep 2023 15:51:37 +0700 Subject: [PATCH 04/10] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=20popup=20layout=20=E0=B8=88=E0=B8=B1=E0=B8=94?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2=E0=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dialogs/Information.vue | 25 +- src/components/Dialogs/PopupReason.vue | 58 +-- .../07_insignia/components/2_Manage/Tab1.vue | 418 ++++-------------- 3 files changed, 127 insertions(+), 374 deletions(-) diff --git a/src/components/Dialogs/Information.vue b/src/components/Dialogs/Information.vue index 05747f2de..28373e805 100644 --- a/src/components/Dialogs/Information.vue +++ b/src/components/Dialogs/Information.vue @@ -1,4 +1,6 @@ From cec54961d2503a2e6eb6e2a4fdadbebd9ba620db Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 13 Sep 2023 15:52:32 +0700 Subject: [PATCH 05/10] =?UTF-8?q?fix=20bug=20=E0=B8=9A=E0=B8=A3=E0=B8=A3?= =?UTF-8?q?=E0=B8=88=E0=B8=B8=E0=B9=80=E0=B8=A3=E0=B8=B7=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=87=20pagination=20=E0=B9=81=E0=B8=A5=E0=B8=B0=E0=B8=8B?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=99=E0=B9=80=E0=B8=A1=E0=B8=99=E0=B8=B9?= =?UTF-8?q?=E0=B9=80=E0=B8=A1=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=9A=E0=B8=A3?= =?UTF-8?q?=E0=B8=A3=E0=B8=88=E0=B8=B8=E0=B9=81=E0=B8=A5=E0=B9=89=E0=B8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PersonalList/Table.vue | 414 ++++-------------- 1 file changed, 94 insertions(+), 320 deletions(-) diff --git a/src/modules/05_placement/components/PersonalList/Table.vue b/src/modules/05_placement/components/PersonalList/Table.vue index 9f4dd9cbe..82e0b38b9 100644 --- a/src/modules/05_placement/components/PersonalList/Table.vue +++ b/src/modules/05_placement/components/PersonalList/Table.vue @@ -572,50 +572,31 @@ const paginationLabel = (start: number, end: number, total: number) => { if (paging.value == true) return " " + start + "-" + end + " ใน " + total; else return start + "-" + end + " ใน " + total; }; + +const pagination = ref({ + page: 1, + rowsPerPage: 10, +}); +