manual v2
This commit is contained in:
parent
e63ba4b3cd
commit
2cf968ae7e
74 changed files with 913 additions and 21656 deletions
|
|
@ -1,524 +1,19 @@
|
|||
import { readonly } from "vue"
|
||||
interface ScrollType {
|
||||
position: number
|
||||
direction: string
|
||||
directionChanged: boolean
|
||||
inflectionPoint: number
|
||||
delta: number
|
||||
}
|
||||
import { ref } from "vue";
|
||||
|
||||
interface tabType {
|
||||
key: number
|
||||
label: string
|
||||
tag: string
|
||||
}
|
||||
interface childrenType {
|
||||
key: number
|
||||
label: string
|
||||
path?: string
|
||||
}
|
||||
|
||||
interface menuType {
|
||||
key: number
|
||||
icon: string
|
||||
activeIcon: string
|
||||
label: string
|
||||
path: string
|
||||
children?: childrenType[]
|
||||
}
|
||||
|
||||
interface notiType {
|
||||
id: string
|
||||
sender: string
|
||||
body: string
|
||||
timereceive: Date
|
||||
}
|
||||
|
||||
interface optionType {
|
||||
icon: string
|
||||
label: string
|
||||
value: string
|
||||
color: string
|
||||
}
|
||||
|
||||
const menuList = readonly<any[]>([
|
||||
{
|
||||
key: 1,
|
||||
icon: "mdi-home-variant-outline",
|
||||
activeIcon: "mdi-home-variant",
|
||||
label: "หน้าแรก",
|
||||
path: "dashboard",
|
||||
role: "dashboard",
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
icon: "mdi-file-outline",
|
||||
activeIcon: "document",
|
||||
label: "คู่มือการใช้งาน",
|
||||
path: "",
|
||||
role: "metadata",
|
||||
children: [
|
||||
{
|
||||
key: 2.1,
|
||||
label: "การเข้าสู่ระบบ",
|
||||
path: "/login",
|
||||
},
|
||||
{
|
||||
key: 2.2,
|
||||
label: "ระบบข้อมูลหลัก",
|
||||
path: "/datamain",
|
||||
},
|
||||
{
|
||||
key: 2.3,
|
||||
label: "ระบบโครงสร้างอัตรากำลัง",
|
||||
path: "/structuremain",
|
||||
},
|
||||
{
|
||||
key: 2.4,
|
||||
label: "ระบบทะเบียนประวัติ",
|
||||
path: "/registrationmain",
|
||||
},
|
||||
{
|
||||
key: 2.5,
|
||||
label: "ระบบการสรรหาบุคคล",
|
||||
path: "/recruitmain",
|
||||
},
|
||||
{
|
||||
key: 2.6,
|
||||
label: "ระบบทะเบียนประวัติลูกจ้าง",
|
||||
path: "/Employeehistorymain",
|
||||
},
|
||||
{
|
||||
key: 2.7,
|
||||
label: "ระบบออกคำสั่ง",
|
||||
path: "commandsmain",
|
||||
},
|
||||
|
||||
],
|
||||
},
|
||||
])
|
||||
const tabListLogin = readonly<any[]>([
|
||||
{
|
||||
no: 1,
|
||||
label: "การเข้าสู่หน้าระบบ",
|
||||
tag: "Mainlogin",
|
||||
},
|
||||
{
|
||||
no: 2,
|
||||
label: "การเข้าสู่ระบบโดยใช้ User name และ Password",
|
||||
tag: "login",
|
||||
},
|
||||
{
|
||||
no: 3,
|
||||
label: "การเปลี่ยนรหัสผ่านผู้ใช้งาน",
|
||||
tag: "Password",
|
||||
},
|
||||
{
|
||||
no: 4,
|
||||
label: "การลงทะเบียนผู้ใช้งานใหม่",
|
||||
tag: "newuser",
|
||||
},
|
||||
{
|
||||
no: 5,
|
||||
label: "การออกจากระบบ",
|
||||
tag: "logout",
|
||||
},
|
||||
{
|
||||
no: 6,
|
||||
label: "การแสดงแจ้งเตือน",
|
||||
tag: "noti",
|
||||
},
|
||||
])
|
||||
const tabListDatamain = readonly<any[]>([
|
||||
{
|
||||
no: 1,
|
||||
label: "การเข้าสู่ระบบข้อมูลหลัก",
|
||||
tag: "MainData",
|
||||
},
|
||||
{
|
||||
no: 2,
|
||||
label: "ข้อมูลเกี่ยวกับบุคคล",
|
||||
tag: "About",
|
||||
},
|
||||
{
|
||||
no: 3,
|
||||
label: "ข้อมูลโครงสร้างหน่วยงาน",
|
||||
tag: "gov",
|
||||
},
|
||||
{
|
||||
no: 4,
|
||||
label: "ข้อมูลตำแหน่งของข้าราชการ",
|
||||
tag: "officer",
|
||||
},
|
||||
{
|
||||
no: 5,
|
||||
label: "ข้อมูลตำแหน่งของลูกจ้าง",
|
||||
tag: "employee",
|
||||
},
|
||||
{
|
||||
no: 6,
|
||||
label: "ข้อมูลปฏิทินวันหยุด",
|
||||
tag: "calender",
|
||||
},
|
||||
{
|
||||
no: 7,
|
||||
label: "ข้อมูลเครื่องราชอิสริยาภรณ์",
|
||||
tag: "insignia",
|
||||
},
|
||||
])
|
||||
const tabStructuremain = readonly<any[]>([
|
||||
{
|
||||
no: 1,
|
||||
label: "การเข้าสู่ระบบโครงสร้างอัตรากำลัง",
|
||||
tag: "structuremain",
|
||||
},
|
||||
{
|
||||
no: 2,
|
||||
label: "จัดการตำแหน่ง",
|
||||
tag: "position",
|
||||
},
|
||||
{
|
||||
no: 3,
|
||||
label: "แผนภูมิโครงสร้าง",
|
||||
tag: "structure",
|
||||
},
|
||||
{
|
||||
no: 4,
|
||||
label: "แผนภูมิองค์กร",
|
||||
tag: "organchart",
|
||||
},
|
||||
{
|
||||
no: 5,
|
||||
label: "ผังโครงสร้าง",
|
||||
tag: "chartstru",
|
||||
},
|
||||
{
|
||||
no: 6,
|
||||
label: "จัดการบัญชี 2",
|
||||
tag: "account2",
|
||||
},
|
||||
{
|
||||
no: 7,
|
||||
label: "รายงานบัญชี",
|
||||
tag: "report",
|
||||
},
|
||||
{
|
||||
no: 8,
|
||||
label: "ผังโครงสร้างลูกจ้าง",
|
||||
tag: "chartemploy",
|
||||
},
|
||||
])
|
||||
const tabRegistration = readonly<any[]>([
|
||||
{
|
||||
no: 1,
|
||||
label: "การเข้าสู่หน้าระบบทะเบียนประวัติ",
|
||||
tag: "registrationmain",
|
||||
},
|
||||
{
|
||||
no: 2,
|
||||
label: "การค้นหาข้อมูลทะเบียนประวัติ",
|
||||
tag: "registrationFind",
|
||||
},
|
||||
{
|
||||
no: 3,
|
||||
label: "การดูรายละเอียดข้อมูลทะเบียน",
|
||||
tag: "registrationDetail",
|
||||
},
|
||||
{
|
||||
no: 4,
|
||||
label: "การเพิ่ม แก้ไข ดูประวัติแก้ไขข้อมูล",
|
||||
tag: "registrationEdit",
|
||||
},
|
||||
{
|
||||
no: 5,
|
||||
label: "การค้นหาข้อมูลส่วนตัว การเลือกคอลัมน์แสดงผลข้อมูล",
|
||||
tag: "registrationSelect",
|
||||
},
|
||||
{
|
||||
no: 6,
|
||||
label: "การปรับหน้าต่างแสดงผลหน้าข้อมูลส่วนตัว",
|
||||
tag: "registrationWindow",
|
||||
},
|
||||
])
|
||||
const tabRecruit = readonly<any[]>([
|
||||
{
|
||||
no: 1,
|
||||
label: "การเข้าสู่หน้าระบบสรรหา",
|
||||
tag: "recruitmain",
|
||||
},
|
||||
{
|
||||
no: 2,
|
||||
label: "การตั้งค่าเว็บไซต์ระบบสรรหา",
|
||||
tag: "recruitSetting",
|
||||
},
|
||||
{
|
||||
no: 3,
|
||||
label: "สอบแข่งขัน",
|
||||
tag: "recruitManagemain",
|
||||
childern: [
|
||||
{
|
||||
no: 3.1,
|
||||
label: "จัดการรอบสอบการแข่งขัน",
|
||||
tag: "recruitManage",
|
||||
},
|
||||
{
|
||||
no: 3.2,
|
||||
label: "สถิติสมัครสอบแข่งขัน",
|
||||
tag: "recruitstati",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
no: 4,
|
||||
label: "คัดเลือก",
|
||||
tag: "recruitQualifiersmain",
|
||||
childern: [
|
||||
{
|
||||
no: 4.1,
|
||||
label: "จัดการรอบคัดเลือก",
|
||||
tag: "recruitQualifiers",
|
||||
},
|
||||
{
|
||||
no: 4.2,
|
||||
label: "จัดการรอบคัดเลือกคนพิการ",
|
||||
tag: "recruitDisabilities",
|
||||
},
|
||||
{
|
||||
no: 4.3,
|
||||
label: "จัดการรายชื่อคัดเลือก",
|
||||
tag: "recruitSelection",
|
||||
},
|
||||
],
|
||||
},
|
||||
])
|
||||
|
||||
const tabList = readonly<any[]>([
|
||||
{
|
||||
no: 1,
|
||||
label: "การเข้าสู่ระบบ",
|
||||
path: "/manual",
|
||||
childern: [
|
||||
{
|
||||
no: 1.1,
|
||||
label: "การเข้าสู่หน้าระบบ",
|
||||
path: "/manual",
|
||||
},
|
||||
{
|
||||
no: 1.2,
|
||||
label: "การเข้าสู่ระบบโดยใช้ User name และ Password",
|
||||
path: "/login/log",
|
||||
},
|
||||
{
|
||||
no: 1.3,
|
||||
label: "การเปลี่ยนรหัสผ่านผู้ใช้งาน",
|
||||
path: "/login/password",
|
||||
},
|
||||
{
|
||||
no: 1.4,
|
||||
label: "การลงทะเบียนผู้ใช้งานใหม่",
|
||||
path: "/login/newuser",
|
||||
},
|
||||
{
|
||||
no: 1.5,
|
||||
label: "การออกจากระบบ",
|
||||
path: "/login/logout",
|
||||
},
|
||||
{
|
||||
no: 1.6,
|
||||
label: "การแสดงแจ้งเตือน",
|
||||
path: "/login/noti",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
no: 2,
|
||||
label: "ระบบข้อมูลหลัก",
|
||||
path: "/Datamain",
|
||||
childern: [
|
||||
{
|
||||
no: 2.1,
|
||||
label: "การเข้าสู่ระบบข้อมูลหลัก",
|
||||
path: "/Datamain",
|
||||
},
|
||||
{
|
||||
no: 2.2,
|
||||
label: "ข้อมูลเกี่ยวกับบุคคล",
|
||||
path: "/Data/about",
|
||||
},
|
||||
{
|
||||
no: 2.3,
|
||||
label: "ข้อมูลโครงสร้างหน่วยงาน",
|
||||
path: "/Data/gov",
|
||||
},
|
||||
{
|
||||
no: 2.4,
|
||||
label: "ข้อมูลตำแหน่งของข้าราชการ",
|
||||
path: "/Data/officer",
|
||||
},
|
||||
{
|
||||
no: 2.5,
|
||||
label: "ข้อมูลตำแหน่งของลูกจ้าง",
|
||||
path: "/Data/employee",
|
||||
},
|
||||
{
|
||||
no: 2.6,
|
||||
label: "ข้อมูลปฏิทินวันหยุด",
|
||||
path: "/Data/calendar",
|
||||
},
|
||||
{
|
||||
no: 2.7,
|
||||
label: "ข้อมูลเครื่องราชอิสริยาภรณ์",
|
||||
path: "/Data/insignia",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
no: 3,
|
||||
label: "ระบบโครงสร้างอัตรากำลัง",
|
||||
path: "/Structuremain",
|
||||
childern: [
|
||||
{
|
||||
no: 3.1,
|
||||
label: "การเข้าสู่ระบบโครงสร้างอัตรากำลัง",
|
||||
path: "/Structuremain",
|
||||
},
|
||||
{
|
||||
no: 3.2,
|
||||
label: "จัดการตำแหน่ง",
|
||||
path: "/Structure/Position",
|
||||
},
|
||||
{
|
||||
no: 3.3,
|
||||
label: "แผนภูมิโครงสร้าง",
|
||||
path: "/Structure/Structure",
|
||||
},
|
||||
{
|
||||
no: 3.4,
|
||||
label: "แผนภูมิองค์กร",
|
||||
path: "/Structure/Organchart",
|
||||
},
|
||||
{
|
||||
no: 3.5,
|
||||
label: "ผังโครงสร้าง",
|
||||
path: "/Structure/Chartstru",
|
||||
},
|
||||
{
|
||||
no: 3.6,
|
||||
label: "จัดการบัญชี 2",
|
||||
path: "/Structure/Account2",
|
||||
},
|
||||
{
|
||||
no: 3.7,
|
||||
label: "รายงานบัญชี",
|
||||
path: "/Structure/Report",
|
||||
},
|
||||
{
|
||||
no: 3.8,
|
||||
label: "ผังโครงสร้างลูกจ้าง",
|
||||
path: "/Structure/Chartemploy",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
no: 4,
|
||||
label: "ระบบทะเบียนประวัติ",
|
||||
path: "/Registrationmain",
|
||||
childern: [
|
||||
{
|
||||
no: 4.1,
|
||||
label: "การเข้าสู่หน้าระบบทะเบียนประวัติ",
|
||||
path: "/Registrationmain",
|
||||
},
|
||||
{
|
||||
no: 4.2,
|
||||
label: "การค้นหาข้อมูลทะเบียนประวัติ",
|
||||
path: "/Registration/find",
|
||||
},
|
||||
{
|
||||
no: 4.3,
|
||||
label: "การดูรายละเอียดข้อมูลทะเบียน",
|
||||
path: "/Registration/detail",
|
||||
},
|
||||
{
|
||||
no: 4.4,
|
||||
label: "การเพิ่ม แก้ไข ดูประวัติแก้ไขข้อมูล",
|
||||
path: "/Registration/edit",
|
||||
},
|
||||
{
|
||||
no: 4.5,
|
||||
label: "การค้นหาข้อมูลส่วนตัว การเลือกคอลัมน์แสดงผลข้อมูล",
|
||||
path: "/Registration/select",
|
||||
},
|
||||
{
|
||||
no: 4.6,
|
||||
label: "การปรับหน้าต่างแสดงผลหน้าข้อมูลส่วนตัว",
|
||||
path: "/Registration/window",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
no: 5,
|
||||
label: "ระบบการสรรหาบุคคล",
|
||||
path: "/Recruitmain",
|
||||
childern: [
|
||||
{
|
||||
no: 5.1,
|
||||
label: "การเข้าสู่หน้าระบบสรรหา",
|
||||
path: "/Recruitmain",
|
||||
},
|
||||
{
|
||||
no: 5.2,
|
||||
label: "การตั้งค่าเว็บไซต์ระบบสรรหา",
|
||||
path: "/Recruit/setting",
|
||||
},
|
||||
{
|
||||
no: 5.3,
|
||||
label: "สอบแข่งขัน",
|
||||
path: "",
|
||||
childern: [
|
||||
{
|
||||
no: 5.31,
|
||||
label: "จัดการรอบสอบการแข่งขัน",
|
||||
path: "/Recruit/managecompet",
|
||||
},
|
||||
{
|
||||
no: 5.32,
|
||||
label: "สถิติสมัครสอบแข่งขัน",
|
||||
path: "/Recruit/staticompet",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
no: 5.4,
|
||||
label: "คัดเลือก",
|
||||
path: "",
|
||||
childern: [
|
||||
{
|
||||
no: 5.41,
|
||||
label: "จัดการรอบคัดเลือก",
|
||||
path: "/Recruit/qualifiers",
|
||||
},
|
||||
{
|
||||
no: 5.42,
|
||||
label: "จัดการรอบคัดเลือกคนพิการ",
|
||||
path: "/Recruit/disabilities",
|
||||
},
|
||||
{
|
||||
no: 5.43,
|
||||
label: "จัดการรายชื่อคัดเลือก",
|
||||
path: "/Recruit/selection",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
])
|
||||
|
||||
|
||||
|
||||
export { menuList, tabList, tabListLogin, tabListDatamain, tabStructuremain, tabRegistration, tabRecruit }
|
||||
export type { ScrollType, tabType, menuType, notiType, optionType }
|
||||
export const menuList = ref([
|
||||
{
|
||||
icon: "mdi-home-variant-outline",
|
||||
activeIcon: "mdi-home-variant",
|
||||
label: "หน้าแรก",
|
||||
path: "/",
|
||||
},
|
||||
{
|
||||
icon: "mdi-file-outline",
|
||||
activeIcon: "mdi-file",
|
||||
label: "คู่มือการใช้งาน",
|
||||
children: [] as {
|
||||
label: string;
|
||||
path: string;
|
||||
}[],
|
||||
},
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue