From 5d8ea1ce7d7df1dcecebd66319f75d2e2b6fc95b Mon Sep 17 00:00:00 2001 From: oat_dev Date: Thu, 13 Jun 2024 11:09:56 +0700 Subject: [PATCH 01/18] =?UTF-8?q?fix:=20=E0=B8=8B=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=99=E0=B8=84=E0=B8=B3=E0=B8=AB=E0=B8=99=E0=B9=89=E0=B8=B2?= =?UTF-8?q?=E0=B8=8A=E0=B8=B7=E0=B9=88=E0=B8=AD=20=E0=B8=96=E0=B9=89?= =?UTF-8?q?=E0=B8=B2=E0=B9=80=E0=B8=9B=E0=B9=87=E0=B8=99null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/05_placement/components/Other/Main.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/05_placement/components/Other/Main.vue b/src/modules/05_placement/components/Other/Main.vue index 1b5d81286..3402dd0f4 100644 --- a/src/modules/05_placement/components/Other/Main.vue +++ b/src/modules/05_placement/components/Other/Main.vue @@ -71,7 +71,9 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", format(val, row) { - return `${row.prefix}${row.firstName} ${row.lastName}`; + return `${row.prefix === null ? "" : row.prefix}${row.firstName} ${ + row.lastName + }`; }, }, { From 9dae77573f68c461f076c8f0b949daa935c14089 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 13 Jun 2024 11:16:20 +0700 Subject: [PATCH 02/18] updated route leave sys --- src/interface/request/main/main.ts | 32 ++++++++---------------------- src/modules/09_leave/router.ts | 26 ++++++++---------------- 2 files changed, 16 insertions(+), 42 deletions(-) diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index 3d8f56bef..03cbd560e 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -46,7 +46,6 @@ const menuList = readonly([ { key: 1, icon: "mdi-home-variant-outline", - activeIcon: "mdi-home-variant", label: "หน้าแรก", path: "dashboard", role: "dashboard", @@ -54,7 +53,6 @@ const menuList = readonly([ // { // key: 2, // icon: "o_person", - // activeIcon: "person", // label: "ข้อมูลหลัก", // path: "metadataNew", // role: "metadata", @@ -89,7 +87,6 @@ const menuList = readonly([ { key: 2, icon: "o_person", - activeIcon: "person", label: "ข้อมูลการประเมิน", path: "metadataNew", role: "evaluateKPI", @@ -133,7 +130,6 @@ const menuList = readonly([ { key: 3, icon: "o_groups", - activeIcon: "groups", label: "โครงสร้างอัตรากำลัง", path: "organizationalNew", role: "organization", @@ -162,7 +158,6 @@ const menuList = readonly([ { key: 4, icon: "verified", - activeIcon: "verified", label: "รายการรอตรวจสอบ", path: "verified", role: "registryverify", @@ -170,7 +165,6 @@ const menuList = readonly([ { key: 6, icon: "mdi-file-certificate-outline", - activeIcon: "order", label: "ออกคำสั่ง", path: "order", role: "order", @@ -178,7 +172,6 @@ const menuList = readonly([ { key: 7, icon: "o_search", - activeIcon: "search", label: "สรรหา", path: "recruiting", role: "recruit", @@ -246,7 +239,6 @@ const menuList = readonly([ key: 8, path: "placement", icon: "how_to_reg", - activeIcon: "how_to_reg", label: "บรรจุ แต่งตั้ง ย้าย โอน", role: "placement", children: [ @@ -305,7 +297,6 @@ const menuList = readonly([ { key: 81, icon: "badge", - activeIcon: "badge", label: "ทดลองปฏิบัติหน้าที่ราชการ", path: "probation", role: "probation", @@ -313,7 +304,6 @@ const menuList = readonly([ { key: 9, icon: "mdi-account-cancel-outline", - activeIcon: "mdi-account-cancel", label: "พ้นจากราชการ", path: "retirement", role: "retirement", @@ -348,7 +338,6 @@ const menuList = readonly([ { key: 10, icon: "mdi-medal-outline", - activeIcon: "mdi-medal", label: "เครื่องราชฯ", path: "insignia", role: "insignia", @@ -388,39 +377,38 @@ const menuList = readonly([ { key: 11, icon: "mdi-calendar", - activeIcon: "mdi-calendar", label: "การลา", path: "leave", role: "leave", children: [ { label: "รอบการปฏิบัติงาน", - path: "/round-time", + path: "roundTime", role: "leave", }, { label: "แก้ไขรอบการปฎิบัติงานผู้ใช้งาน", - path: "/change-round", + path: "changeRound", role: "leave", }, { label: "รายการลงเวลาปฏิบัติงาน", - path: "/work-list", + path: "workList", role: "leave", }, { label: "ลงเวลากรณีพิเศษ", - path: "/timestamp-special", + path: "timestampSpecial", role: "leave", }, { label: "รายการลา", - path: "/leave", + path: "leave", role: "leave", }, { label: "รายงานสถิติการลา", - path: "/leave-report", + path: "leaveReport", role: "leave", }, ], @@ -428,7 +416,6 @@ const menuList = readonly([ { key: 12, icon: "mdi-scale-balance", - activeIcon: "mdi-scale-balance", label: "วินัย", role: "discipline", children: [ @@ -497,7 +484,6 @@ const menuList = readonly([ { key: 13, icon: "mdi-account-check", - activeIcon: "mdi-account-check", label: "ประเมินบุคคล", role: "evaluate", children: [ @@ -530,12 +516,11 @@ const menuList = readonly([ { key: 14, icon: "mdi-cash", - activeIcon: "mdi-cash", label: "เงินเดือน/ค่าจ้าง", role: "salary", children: [ { - label: "ผังบัญชีเงินเดือนข้าราชการ ฯ", + label: "ผังบัญชีเงินเดือนข้าราชการฯ", path: "salaryChart", role: "salary", }, @@ -550,7 +535,7 @@ const menuList = readonly([ role: "salary", }, { - label: "เลื่อนเงินเดือนข้าราชการ ฯ", + label: "เลื่อนเงินเดือนข้าราชการฯ", path: "salaryLists", role: "salary", }, @@ -569,7 +554,6 @@ const menuList = readonly([ { key: 15, icon: "mdi-account-star", - activeIcon: "mdi-account-star", label: "ประเมินผลการปฏิบัติราชการระดับบุคคล", role: "evaluateKPI", children: [ diff --git a/src/modules/09_leave/router.ts b/src/modules/09_leave/router.ts index abcdc7ff7..ecf45eaf1 100644 --- a/src/modules/09_leave/router.ts +++ b/src/modules/09_leave/router.ts @@ -14,7 +14,7 @@ const leaveReport = () => export default [ { path: "/round-time", - name: "/round-time", + name: "roundTime", component: RoundMain, meta: { Auth: true, @@ -24,7 +24,7 @@ export default [ }, { path: "/change-round", - name: "/change-round", + name: "changeRound", component: ChangeRoundMain, meta: { Auth: true, @@ -34,17 +34,7 @@ export default [ }, { path: "/work-list", - name: "/work-list", - component: workMain, - meta: { - Auth: true, - Key: [9], - Role: "leave", - }, - }, - { - path: "/work-list", - name: "/work-list", + name: "workList", component: workMain, meta: { Auth: true, @@ -54,7 +44,7 @@ export default [ }, { path: "/timestamp-special", - name: "/timestamp-special", + name: "timestampSpecial", component: SpecialTimeMain, meta: { Auth: true, @@ -64,7 +54,7 @@ export default [ }, { path: "/leave", - name: "/leave", + name: "leave", component: leaveMain, meta: { Auth: true, @@ -74,7 +64,7 @@ export default [ }, { path: "/leave/detail/:id", - name: "/leave/detail", + name: "leaveDetail", component: leaveDetail, meta: { Auth: true, @@ -84,7 +74,7 @@ export default [ }, { path: "/leave-reject/detail/:id", - name: "/leave-reject/detail", + name: "leaveRejectDetail", component: leaveDetailReject, meta: { Auth: true, @@ -94,7 +84,7 @@ export default [ }, { path: "/leave-report", - name: "/leave-report", + name: "leaveReport", component: leaveReport, meta: { Auth: true, From c48355b052fa24a37d754c70fe05531973139be2 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 13 Jun 2024 11:43:38 +0700 Subject: [PATCH 03/18] =?UTF-8?q?KPI=20=3D>=20ui=20=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B8=87=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/14_KPI/views/report.vue | 325 +++++++++++++++++++++++++++- 1 file changed, 324 insertions(+), 1 deletion(-) diff --git a/src/modules/14_KPI/views/report.vue b/src/modules/14_KPI/views/report.vue index 69797bfc7..0cc79434c 100644 --- a/src/modules/14_KPI/views/report.vue +++ b/src/modules/14_KPI/views/report.vue @@ -1,3 +1,326 @@ + + + + From a1820982896e309d7114bd511100f1f7714425a0 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 13 Jun 2024 11:47:59 +0700 Subject: [PATCH 04/18] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B9=80=E0=B8=87=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=99?= =?UTF-8?q?=E0=B9=84=E0=B8=82=E0=B8=AA=E0=B8=A1=E0=B8=B1=E0=B8=84=E0=B8=A3?= =?UTF-8?q?=E0=B8=AA=E0=B8=AD=E0=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/02_qualify/DisablePeriodAdd.vue | 15 +++++++++------ .../03_recruiting/views/02_qualify/PeriodAdd.vue | 8 ++++---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/modules/03_recruiting/views/02_qualify/DisablePeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/DisablePeriodAdd.vue index e506a8f23..f81a44e49 100644 --- a/src/modules/03_recruiting/views/02_qualify/DisablePeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/DisablePeriodAdd.vue @@ -20,7 +20,7 @@
-
+
-
+
-
+
diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index 10945c281..f317d94fc 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -378,12 +378,12 @@ lazy-rules v-model="props.row.code" :rules="[ - (val) => - val.length >= 3 || - `${'กรุณากรอกรหัสประจำตำแหน่งที่สอบ'}`, + (val:string) => !!val || `${'กรุณากรอกรหัสประจำตำแหน่งที่สอบ'}`, + (val:any) => + val.length >= 3 || + `${'กรุณากรอกรหัสประจำตำแหน่งที่สอบ'}`, ]" :label="`${'รหัสประจำตำแหน่งที่สอบ'}`" - @update:modelValue="clickEditRow" hide-bottom-space mask="###" /> From 67a03a072281bce1024b85ed11cd5eafaf41f69d Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 13 Jun 2024 12:22:36 +0700 Subject: [PATCH 05/18] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B8=95=E0=B9=89=E0=B8=99=E0=B9=81=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=20(template)=20=E0=B9=80=E0=B8=AD=E0=B8=81=E0=B8=AA=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B8=AD=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=AD=E0=B8=B4?= =?UTF-8?q?=E0=B8=87=20=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=99=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B9=80=E0=B8=94?= =?UTF-8?q?=E0=B8=B7=E0=B8=AD=E0=B8=99=E0=B9=81=E0=B8=A5=E0=B8=B0=E0=B9=83?= =?UTF-8?q?=E0=B8=AB=E0=B9=89=E0=B9=84=E0=B8=94=E0=B9=89=E0=B8=A3=E0=B8=B1?= =?UTF-8?q?=E0=B8=9A=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B9=80=E0=B8=94?= =?UTF-8?q?=E0=B8=B7=E0=B8=AD=E0=B8=99=E0=B8=AA=E0=B8=B9=E0=B8=87=E0=B8=81?= =?UTF-8?q?=E0=B8=A7=E0=B9=88=E0=B8=B2=E0=B8=82=E0=B8=B1=E0=B9=89=E0=B8=99?= =?UTF-8?q?=E0=B8=AA=E0=B8=B9=E0=B8=87=E0=B8=82=E0=B8=AD=E0=B8=87=E0=B8=95?= =?UTF-8?q?=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=87=E0=B8=97?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B9=84=E0=B8=94=E0=B9=89=E0=B8=A3=E0=B8=B1?= =?UTF-8?q?=E0=B8=9A=E0=B9=81=E0=B8=95=E0=B9=88=E0=B8=87=E0=B8=95=E0=B8=B1?= =?UTF-8?q?=E0=B9=89=E0=B8=87=20=E0=B8=95=E0=B8=B2=E0=B8=A1=E0=B8=84?= =?UTF-8?q?=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87...=E0=B8=A5?= =?UTF-8?q?=E0=B8=87=E0=B8=A7=E0=B8=B1=E0=B8=99=E0=B8=97=E0=B8=B5=E0=B9=88?= =?UTF-8?q?...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interface/request/main/main.ts | 23 +++++++++++++++-------- src/modules/04_registry/stores/salary.ts | 4 ++++ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index 03cbd560e..beae6906e 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -155,13 +155,6 @@ const menuList = readonly([ path: "registry-employee", role: "registryEmployee", }, - { - key: 4, - icon: "verified", - label: "รายการรอตรวจสอบ", - path: "verified", - role: "registryverify", - }, { key: 6, icon: "mdi-file-certificate-outline", @@ -607,7 +600,7 @@ const menuList = readonly([ icon: "o_note", label: "ระบบเดิม", path: "registry", - role: "registry", + role: "organization", children: [ { key: 13.0, @@ -669,6 +662,20 @@ const menuList = readonly([ }, ], }, + { + key: 4, + icon: "o_contact_page", + label: "ทะเบียนประวัติ", + path: "registry", + role: "registry", + }, + { + key: 4, + icon: "verified", + label: "รายการรอตรวจสอบ", + path: "verified", + role: "registryverify", + }, ]); const tabList = readonly([ diff --git a/src/modules/04_registry/stores/salary.ts b/src/modules/04_registry/stores/salary.ts index 2804f75f5..750d2889e 100644 --- a/src/modules/04_registry/stores/salary.ts +++ b/src/modules/04_registry/stores/salary.ts @@ -176,6 +176,10 @@ export const useSalaryDataStore = defineStore("salary", () => { id: 18, name: "ปรับอัตราเงินเดือนตามพระราชกฤษฎีกาการปรับอัตราเงินเดือนของข้าราชการ พ.ศ. (.............)", }, + { + id: 19, + name: "เลื่อนเงินเดือนและให้ได้รับเงินเดือนสูงกว่าขั้นสูงของตำแหน่งที่ได้รับแต่งตั้ง คำสั่ง{หน่วยงาน} ลงวันที่ {เลขที่}/{ปี พ.ศ.}", + }, ]); const optiontype = ref([ From c49e34982dd2131f0cb960b1e1d9548cc0b194fe Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 13 Jun 2024 13:46:12 +0700 Subject: [PATCH 06/18] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=84?= =?UTF-8?q?=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 --- .../07_insignia/components/3_result/DialogForm.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/modules/07_insignia/components/3_result/DialogForm.vue b/src/modules/07_insignia/components/3_result/DialogForm.vue index 6c6cd9a38..b35fd7729 100644 --- a/src/modules/07_insignia/components/3_result/DialogForm.vue +++ b/src/modules/07_insignia/components/3_result/DialogForm.vue @@ -1,4 +1,5 @@ -divdiv +