diff --git a/package-lock.json b/package-lock.json index 1e5a38f9..a4b1733c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "ehr", + "name": "ehr-manual", "version": "0.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "ehr", + "name": "ehr-manual", "version": "0.0.0", "dependencies": { "@fullcalendar/core": "^6.0.1", diff --git a/src/modules/01_manual/components/1_login/01_Main.vue b/src/modules/01_manual/components/1_login/01_Main.vue index 1c41bf31..90c789d3 100644 --- a/src/modules/01_manual/components/1_login/01_Main.vue +++ b/src/modules/01_manual/components/1_login/01_Main.vue @@ -1,219 +1,358 @@ - - - + + + + คู่มือการใช้งานระบบบริหารทรัพยากรบุคคลของกรุงเทพมหานคร + - คู่มือการใช้งานระบบบริหารทรัพยากรบุคคลของกรุงเทพมหานคร - - - - - การเข้าสู่ระบบบริหารทรัพยากรบุคคลของกรุงเทพมหานคร - - - - - - - - - เปิดโปรแกรม Google Chrome เวอร์ชั่น 20 ขึ้นไป หรือ Firefox เวอร์ชั่น 14 ขึ้นไป กรอก URL: https://bma-ehr.frappet.com ลงในช่อง Address จากนั้นกดแป้น Enter ที่คีย์บอร์ด 1 ครั้ง ดังรูป - - - - รูปภาพที่ 1–1 แสดงการเข้าสู่เว็บไซต์ - - - - - - - - - - - - - การเข้าสู่ระบบโดยใช้ User name และ Password - - - - - - การเปลี่ยนรหัสผ่านผู้ใช้งาน - - - - - - การลงทะเบียนผู้ใช้งานใหม่ - - - - - - การออกจากระบบ - - - - - - การแสดงแจ้งเตือน - - - - - - - - - - - การเข้าสู่ระบบโดยใช้ User name และ Password - - - - - - การเปลี่ยนรหัสผ่านผู้ใช้งาน - - - - - - การลงทะเบียนผู้ใช้งานใหม่ - - - - - - การออกจากระบบ - - - - - - การแสดงแจ้งเตือน - - - - - - - - - - - จัดการตำแหน่ง - - - - - - แผนภูมิโครงสร้าง - - - - - - แผนภูมิองค์กร - - - - - - ผังโครงสร้าง - - - - - - จัดการบัญชี 2 - - - - - - - รายงานบัญชี - - - - - - จัดการบัญชี 2 - - - - - - - - - - - การเข้าสู่หน้าระบบทะเบียนประวัติ - - - - - - การค้นหาข้อมูลทะเบียนประวัติ - - - - - - การดูรายละเอียดข้อมูลทะเบียนประวัติ - - - - - - การเพิ่ม แก้ไข ดูประวัติแก้ไขข้อมูลทะเบียนประวัติ - - - - - - การค้นหาข้อมูลส่วนตัว การเลือกคอลัมน์แสดงผลข้อมูล - - - - - - - การปรับหน้าต่างแสดงผลหน้าข้อมูลส่วนตัว - - - - - - - - - - - + + + + การเข้าสู่ระบบบริหารทรัพยากรบุคคลของกรุงเทพมหานคร + - + + + + + เปิดโปรแกรม Google Chrome เวอร์ชั่น 20 ขึ้นไป หรือ Firefox เวอร์ชั่น + 14 ขึ้นไป กรอก + URL: https://bma-ehr.frappet.com + ลงในช่อง Address จากนั้นกดแป้น Enter ที่คีย์บอร์ด 1 ครั้ง ดังรูป + + + + + + รูปภาพที่ 1–1 แสดงการเข้าสู่เว็บไซต์ + + + + + + + - - - - - - - diff --git a/src/modules/01_manual/components/2_data/21_Main.vue b/src/modules/01_manual/components/2_data/21_Main.vue index c94c96f0..2c63a7d2 100644 --- a/src/modules/01_manual/components/2_data/21_Main.vue +++ b/src/modules/01_manual/components/2_data/21_Main.vue @@ -6,7 +6,7 @@ const text = ref(""); - + คู่มือการใช้งานระบบบริหารทรัพยากรบุคคลของกรุงเทพมหานคร diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index 7f52ced3..05e23829 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -86,6 +86,23 @@ const tabScroll = () => { return route.name == "registryDetail"; }; +const tabScroll2 = () => { + // let pathName = ""; + // let childernName: any = []; + // tabList.forEach((e: any) => { + // childernName = e.childern; + // }); + // console.log(childernName); + + // pathName = childernName.find((e: any) => console.log(e)); + // console.log(pathName); + + // if (pathName) { + // return true; + // } + return route.name == "manual"; +}; + /** * toggleBtnRight ปุ่มย่อ ขยาย drawer ขวา */ @@ -182,6 +199,8 @@ const activeBtn = () => { * ยังจับ boolean ผิด จึงต้อง set */ onMounted(async () => { + console.log(tabList); + myEventHandler(null, false); window.addEventListener("resize", (e: any) => { myEventHandler(e, true); @@ -236,9 +255,11 @@ const myEventHandler = (e: any, setSCroll: boolean) => { */ const activeMenu = (path: string) => { if (path == "dashboard" && route.fullPath == "/") return true; - if (path == "registry" && route.fullPath == "/registry-employee") return false; - if (path == "registry" && route.fullPath.includes(`/registry-employee/edit`)) return false; - + if (path == "registry" && route.fullPath == "/registry-employee") + return false; + if (path == "registry" && route.fullPath.includes(`/registry-employee/edit`)) + return false; + if (path == "registry" && route.fullPath == "/") return false; // if (path != "registry" && path == "registryEmployee" && route.fullPath == "/registryEmployee") return true; const bool = route.fullPath.includes(`/${path}`); @@ -252,6 +273,9 @@ const activeMenu = (path: string) => { const activeTab = (tag: string) => { return tabData.value == tag; }; +const activeTab2 = (tag: string) => { + return tabData.value == tag; +}; /** * คลิกเพื่อให้ router หรือ scroll ไปยังตำแหน่งนั้นๆ @@ -367,6 +391,10 @@ if (keycloak.tokenParsed != null) { fullname.value = keycloak.tokenParsed.name; role.value = keycloak.tokenParsed.role; } +const clickTag = (val: string) => { + console.log(val); + router.push(val); +}; @@ -829,6 +857,41 @@ if (keycloak.tokenParsed != null) { + + + + + + + + {{ tabItem.label }} + + + + + +