diff --git a/src/assets/icon/00_manual.png b/src/assets/icon/00_manual.png new file mode 100644 index 0000000..54c0301 Binary files /dev/null and b/src/assets/icon/00_manual.png differ diff --git a/src/assets/icon/01_maintenance.png b/src/assets/icon/01_maintenance.png new file mode 100644 index 0000000..e5a329b Binary files /dev/null and b/src/assets/icon/01_maintenance.png differ diff --git a/src/assets/icon2.png b/src/assets/icon2.png deleted file mode 100644 index ff279c7..0000000 Binary files a/src/assets/icon2.png and /dev/null differ diff --git a/src/modules/03_registration/view/Main.vue b/src/modules/03_registration/view/Main.vue deleted file mode 100644 index e69de29..0000000 diff --git a/src/modules/03_registration/views/Main.vue b/src/modules/03_registration/views/Main.vue new file mode 100644 index 0000000..d2dc1fa --- /dev/null +++ b/src/modules/03_registration/views/Main.vue @@ -0,0 +1,368 @@ + + + + + diff --git a/src/modules/04_registry-employee/views/Main.vue b/src/modules/04_registry-employee/views/Main.vue new file mode 100644 index 0000000..467692f --- /dev/null +++ b/src/modules/04_registry-employee/views/Main.vue @@ -0,0 +1,338 @@ + + + + + diff --git a/src/modules/05_order/views/Main.vue b/src/modules/05_order/views/Main.vue new file mode 100644 index 0000000..ba97207 --- /dev/null +++ b/src/modules/05_order/views/Main.vue @@ -0,0 +1,360 @@ + + + + + diff --git a/src/modules/06_recruitmain/views/Main.vue b/src/modules/06_recruitmain/views/Main.vue new file mode 100644 index 0000000..f6e56c5 --- /dev/null +++ b/src/modules/06_recruitmain/views/Main.vue @@ -0,0 +1,342 @@ + + + + + diff --git a/src/modules/07_placement/views/Main.vue b/src/modules/07_placement/views/Main.vue new file mode 100644 index 0000000..69a840b --- /dev/null +++ b/src/modules/07_placement/views/Main.vue @@ -0,0 +1,416 @@ + + + + + diff --git a/src/modules/08_retirement/views/Main.vue b/src/modules/08_retirement/views/Main.vue new file mode 100644 index 0000000..fd6cff0 --- /dev/null +++ b/src/modules/08_retirement/views/Main.vue @@ -0,0 +1,372 @@ + + + + + diff --git a/src/modules/09_insignia/views/Main.vue b/src/modules/09_insignia/views/Main.vue new file mode 100644 index 0000000..ef607d0 --- /dev/null +++ b/src/modules/09_insignia/views/Main.vue @@ -0,0 +1,383 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index 7a0ed6b..3bf0800 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -3,6 +3,16 @@ import { createRouter, createWebHistory } from 'vue-router' const MainLayout = () => import("@/views/MainLayout.vue"); const Metadata = () => import("@/modules/01_metadata/views/Main.vue"); const Organizational = () => import("@/modules/02_organizational/views/Main.vue"); +const Registration = () => import("@/modules/03_registration/views/Main.vue"); +const Registemployee = () => import("@/modules/04_registry-employee/views/Main.vue"); +const Order = () => import("@/modules/05_order/views/Main.vue"); +const Recruitmain = () => import("@/modules/06_recruitmain/views/Main.vue"); +const Placement = () => import("@/modules/07_placement/views/Main.vue"); +const Retirement = () => import("@/modules/08_retirement/views/Main.vue"); +const Insignia = () => import("@/modules/09_insignia/views/Main.vue"); + + + @@ -28,16 +38,60 @@ const router = createRouter({ name: "organizational", component: Organizational, }, + + { + path: "/registration", + name: "registration", + component: Registration, + }, + { path: "/contact", name: "contact", component: Contact, }, + { path: "/maintenance", name: "maintenance", component: Maintenance, }, + + { + path: "/registemployee", + name: "Registemployee", + component: Registemployee, + }, + + { + path: "/order", + name: "Order", + component: Order + }, + + { + path: "/recruitmain", + name: "Recruitmain", + component: Recruitmain + }, + + { + path: "/placement", + name: "Placement", + component: Placement + }, + + { + path: "/retirement", + name: "Retirement", + component: Retirement + }, + + { + path: "/insignia", + name: "Insignia", + component: Insignia + }, ] }, ] diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index 6adda3e..65ba3e5 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -14,15 +14,15 @@ const text = ref(''); const tabManu = [ {name: 'metadata',label:'ข้อมูลหลัก',path: 'metadata'}, {name: 'organizational',label:'โครงสร้างอัตรากำลัง',path: 'organizational'}, - {name: '3',label:'ทะเบียนประวัติ',path: ''}, - {name: '4',label:'ทะเบียนประวัติลูกจ้าง',path: ''}, - {name: '5',label:'ออกคำสั่ง',path: ''}, - {name: '6',label:'สรรหา',path: ''}, + {name: '3',label:'ทะเบียนประวัติ',path: 'registration'}, + {name: '4',label:'ทะเบียนประวัติลูกจ้าง',path: 'registemployee'}, + {name: '5',label:'ออกคำสั่ง',path: 'order'}, + {name: '6',label:'สรรหา',path: 'recruitmain'}, ]; const tabManu2 = [ - {name: '7',label:'บรรจุ แต่งตั้ง ย้าย โอน',path: ''}, - {name: '8',label:'พ้นราชการ',path: ''}, - {name: '9',label:'เครื่องราชฯ',path: ''}, + {name: '7',label:'บรรจุ แต่งตั้ง ย้าย โอน',path: 'placement'}, + {name: '8',label:'พ้นราชการ',path: 'retirement'}, + {name: '9',label:'เครื่องราชฯ',path: 'insignia'}, {name: '10',label:'การลา',path: ''}, {name: '11',label:'วินัย',path: ''}, ]; @@ -30,22 +30,29 @@ const tabManu2 = [ const mainmenu = [ {text: 'ข้อมูลหลัก',img: new URL('../assets/icon/1_metadata.png', import.meta.url).href , icon:'mdi-account-outline', path: 'metadata'}, {text: 'โครงสร้างอัตรากำลัง',img: new URL('../assets/icon/2_organizational.png', import.meta.url).href, icon:'mdi-account-group-outline',path: 'organizational'}, - {text: 'ทะเบียนประวัติ',img: new URL('../assets/icon/3_registry.png', import.meta.url).href, icon:'mdi-file-account-outline',path: 'organizational'}, - {text: 'ทะเบียนประวัติลูกจ้าง',img: new URL('../assets/icon/4_registry-employee.png', import.meta.url).href, icon:'mdi-file-account-outline',path: 'organizational'}, - {text: 'ออกคำสั่ง',img: new URL('../assets/icon/5_order.png', import.meta.url).href, icon:'mdi-file-certificate-outline',path: 'organizational'}, - {text: 'สรรหา',img: new URL('../assets/icon/6_recruitmain.png', import.meta.url).href, icon:'mdi-magnify',path: 'organizational'}, - {text: 'บรรจุ แต่งตั้ง ย้าย โอน',img: new URL('../assets/icon/7_placement.png', import.meta.url).href, icon:'mdi-account-check',path: 'organizational'}, - {text: 'พ้นราชการ',img: new URL('../assets/icon/8_retirement.png', import.meta.url).href, icon:'mdi-account-cancel-outline',path: 'organizational'}, - {text: 'เครื่องราชฯ',img: new URL('../assets/icon/9_insignia.png', import.meta.url).href, icon:'mdi-medal-outline',path: 'organizational'}, + {text: 'ทะเบียนประวัติ',img: new URL('../assets/icon/3_registry.png', import.meta.url).href, icon:'mdi-file-account-outline',path: 'registration'}, + {text: 'ทะเบียนประวัติลูกจ้าง',img: new URL('../assets/icon/4_registry-employee.png', import.meta.url).href, icon:'mdi-file-account-outline',path: 'registemployee'}, + {text: 'ออกคำสั่ง',img: new URL('../assets/icon/5_order.png', import.meta.url).href, icon:'mdi-file-certificate-outline',path: 'order'}, + {text: 'สรรหา',img: new URL('../assets/icon/6_recruitmain.png', import.meta.url).href, icon:'mdi-magnify',path: 'recruitmain'}, + {text: 'บรรจุ แต่งตั้ง ย้าย โอน',img: new URL('../assets/icon/7_placement.png', import.meta.url).href, icon:'mdi-account-check',path: 'placement'}, + {text: 'พ้นราชการ',img: new URL('../assets/icon/8_retirement.png', import.meta.url).href, icon:'แ',path: 'retirement'}, + {text: 'เครื่องราชฯ',img: new URL('../assets/icon/9_insignia.png', import.meta.url).href, icon:'mdi-medal-outline',path: 'insignia'}, /* {text: 'การลา',img: new URL('../assets/.png', import.meta.url).href, icon:'mdi-calendar',path: 'organizational'}, {text: 'วินัย',img: new URL('../assets/.png', import.meta.url).href, icon:'mdi-scale-balance',path: 'organizational'} */ ]; const mainmanual = [ - {text: 'คู่มือการใช้งาน', icon:'mdi-account-outline', path: 'metadata'} + /*{text: 'คู่มือการใช้งาน', icon:'mdi-account-outline', path: 'metadata'},*/ + {text: 'คู่มือการใช้งาน',img: new URL('../assets/icon/00_manual.png', import.meta.url).href, icon:'mdi-book-open-page-variant'}, ]; +const mainmaintenance = [ + /*{text: 'คู่มือการใช้งาน', icon:'mdi-account-outline', path: 'metadata'},*/ + {text: 'ดูแลรักษาระบบ',img: new URL('../assets/icon/00_manual.png', import.meta.url).href, icon:'mdi-laptop',path: 'maintenance'} +]; + + const redirectToManual = () => { const newTab = window.open('https://bma-ehr-manual.frappet.synology.me/', '_blank'); if (newTab) { @@ -189,7 +196,6 @@ window.onpopstate = function() { -
ดูแลรักษาระบบ
@@ -197,7 +203,7 @@ window.onpopstate = function() {