From f4b5141b7323a1f35947bf95bf32602333c57098 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Mon, 1 Apr 2024 11:53:25 +0700 Subject: [PATCH 1/3] =?UTF-8?q?-=20updated=20paging=20=E0=B8=97=E0=B8=B0?= =?UTF-8?q?=E0=B9=80=E0=B8=9A=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3?= =?UTF-8?q?=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4=20-=20=E0=B8=9B?= =?UTF-8?q?=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B9=80=E0=B8=A1=E0=B8=99=E0=B8=B9?= =?UTF-8?q?=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A=E0=B8=9E=E0=B8=B1=E0=B8=92?= =?UTF-8?q?=E0=B8=99=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interface/request/main/main.ts | 29 +++- .../04_registry/components/TableProfile.vue | 2 +- src/modules/04_registry/views/Main.vue | 128 +++++++++--------- src/views/MainLayout.vue | 6 +- 4 files changed, 96 insertions(+), 69 deletions(-) diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index 53e6c1786..adfba8211 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -684,9 +684,34 @@ const menuList = readonly([ key: 14, icon: "mdi-briefcase-account", activeIcon: "mdi-briefcase-account", - label: "พัฒนาบุคลากร/การศึกษาต่อ", + label: "พัฒนาบุคลากร", role: "development", - path: "developmentMain", + children: [ + { + key: 14.1, + label: "โครงการ/หลักสูตรการฝึกอบรม", + path: "developmentMain", + role: "development", + }, + { + key: 14.2, + label: "ประวัติการฝึกอบรม ขรก.", + path: "developmentHistory", + role: "development", + }, + { + key: 14.3, + label: "ประวัติการฝึกอบรมลูกจ้าง", + path: "developmentEmployeeHistory", + role: "development", + }, + { + key: 14.4, + label: "ขรก. ที่ได้รับทุนการศึกษา", + path: "developmentScholarship", + role: "development", + }, + ], }, // { // key: 99, diff --git a/src/modules/04_registry/components/TableProfile.vue b/src/modules/04_registry/components/TableProfile.vue index f4a9f1e66..63904c425 100644 --- a/src/modules/04_registry/components/TableProfile.vue +++ b/src/modules/04_registry/components/TableProfile.vue @@ -458,7 +458,7 @@ import PopupADdEmployee from "@/components/DialogAddEmployee.vue"; const currentPage = ref(1); const maxPage = ref(1); const page = ref(1); -const rowsPerPage = ref(20); +const rowsPerPage = ref(50); const attrs = ref(useAttrs()); diff --git a/src/modules/04_registry/views/Main.vue b/src/modules/04_registry/views/Main.vue index a61a3c70f..84eb30de2 100644 --- a/src/modules/04_registry/views/Main.vue +++ b/src/modules/04_registry/views/Main.vue @@ -87,7 +87,7 @@ :page="page" :maxPage="maxPage" @update:pagination="updatePagingProp" - :rows-per-page-options="[20, 50, 100, 200]" + :rows-per-page-options="[50, 100, 200, 500]" >