clone code
This commit is contained in:
parent
c9597d1e38
commit
d57bcd1719
362 changed files with 104804 additions and 0 deletions
281
src/interface/request/main/main.ts
Normal file
281
src/interface/request/main/main.ts
Normal file
|
|
@ -0,0 +1,281 @@
|
|||
import { readonly } from "vue";
|
||||
interface ScrollType {
|
||||
position: number;
|
||||
direction: string;
|
||||
directionChanged: boolean;
|
||||
inflectionPoint: number;
|
||||
delta: number;
|
||||
}
|
||||
|
||||
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: number;
|
||||
sender: string;
|
||||
body: string;
|
||||
timereceive: string;
|
||||
}
|
||||
|
||||
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: "o_person",
|
||||
activeIcon: "person",
|
||||
label: "ข้อมูลหลัก",
|
||||
path: "metadata",
|
||||
role: "metadata",
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
icon: "o_groups",
|
||||
activeIcon: "groups",
|
||||
label: "โครงสร้างอัตรากำลัง",
|
||||
path: "organizational",
|
||||
role: "organization",
|
||||
children: [
|
||||
{
|
||||
key: 3.1,
|
||||
label: "จัดการตำแหน่ง",
|
||||
path: "organizationalMapping",
|
||||
},
|
||||
{
|
||||
key: 3.2,
|
||||
label: "แผนภูมิโครงสร้าง",
|
||||
path: "organizationalStructChart",
|
||||
},
|
||||
{
|
||||
key: 3.3,
|
||||
label: "แผนภูมิองค์กร",
|
||||
path: "organizationalOrgChart",
|
||||
},
|
||||
{
|
||||
key: 3.4,
|
||||
label: "ผังโครงสร้าง",
|
||||
path: "organizationalTree",
|
||||
},
|
||||
{
|
||||
key: 3.5,
|
||||
label: "จัดการบัญชี 2",
|
||||
path: "manageReport2",
|
||||
},
|
||||
{
|
||||
key: 3.6,
|
||||
label: "รายงานบัญชี",
|
||||
path: "organizationalReport",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 4,
|
||||
icon: "o_contact_page",
|
||||
activeIcon: "contact_page",
|
||||
label: "ทะเบียนประวัติ",
|
||||
path: "registry",
|
||||
role: "registry",
|
||||
},
|
||||
{
|
||||
key: 5,
|
||||
icon: "o_search",
|
||||
activeIcon: "search",
|
||||
label: "สรรหา",
|
||||
path: "recruiting",
|
||||
role: "recruit",
|
||||
children: [
|
||||
{
|
||||
label: "ตั้งค่าเว็บสรรหา",
|
||||
path: "editorweb",
|
||||
key: 5.1,
|
||||
role: "recruit",
|
||||
},
|
||||
{
|
||||
label: "สอบแข่งขัน",
|
||||
path: "",
|
||||
key: 5.2,
|
||||
role: "recruit",
|
||||
children: [
|
||||
{
|
||||
label: "จัดการข้อมูลผู้สมัครสอบ" /* แข่งขัน */,
|
||||
path: "competePeriod",
|
||||
role: "recruit",
|
||||
},
|
||||
{
|
||||
label: "ข้อมูลสถิติการสมัครสอบ" /* แข่งขัน */,
|
||||
path: "competePeriodStat",
|
||||
role: "recruit",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "คัดเลือก",
|
||||
path: "",
|
||||
key: 5.3,
|
||||
role: "recruit",
|
||||
children: [
|
||||
{
|
||||
label: "จัดการรอบคัดเลือก",
|
||||
path: "qualifyPeriod",
|
||||
role: "recruit",
|
||||
},
|
||||
{
|
||||
label: "จัดการรอบคัดเลือกคนพิการ",
|
||||
path: "disablePeriod",
|
||||
role: "recruit",
|
||||
},
|
||||
{
|
||||
label: "จัดการรายชื่อคัดเลือก",
|
||||
path: "manage",
|
||||
role: "recruit",
|
||||
},
|
||||
{
|
||||
label: "สถิติสมัครคัดเลือก",
|
||||
path: "qualifyPeriodStat",
|
||||
role: "recruit",
|
||||
},
|
||||
{
|
||||
label: "สถิติสมัครคัดเลือกคนพิการ",
|
||||
path: "qualifyPeriodStatDisable",
|
||||
role: "recruit",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 6,
|
||||
icon: "mdi-home-variant-outline",
|
||||
activeIcon: "mdi-home-variant",
|
||||
label: "บรรจุ แต่งตั้ง ย้าย โอน",
|
||||
path: "placement",
|
||||
role: "placement",
|
||||
},
|
||||
{
|
||||
key: 7,
|
||||
icon: "mdi-home-variant-outline",
|
||||
activeIcon: "mdi-home-variant",
|
||||
label: "พ้นจากราชการ",
|
||||
path: "retirement",
|
||||
role: "retirement",
|
||||
},
|
||||
{
|
||||
key: 8,
|
||||
icon: "mdi-home-variant-outline",
|
||||
activeIcon: "mdi-home-variant",
|
||||
label: "เครื่องราชอิสริยาภรณ์",
|
||||
path: "insignia",
|
||||
role: "insignia",
|
||||
},
|
||||
]);
|
||||
|
||||
const tabList = readonly<tabType[]>([
|
||||
{
|
||||
key: 1,
|
||||
label: "ข้อมูลทั่วไป",
|
||||
tag: "information",
|
||||
},
|
||||
{
|
||||
key: 15,
|
||||
label: "ใบอนุญาตประกอบอาชีพ",
|
||||
tag: "certicate",
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
label: "ประวัติการศึกษา",
|
||||
tag: "education",
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
label: "การฝึกอบรม/ดูงาน",
|
||||
tag: "training",
|
||||
},
|
||||
{
|
||||
key: 4,
|
||||
label: "เครื่องราชอิสริยาภรณ์",
|
||||
tag: "insignia",
|
||||
},
|
||||
{
|
||||
key: 5,
|
||||
label: "ประกาศเกียรติคุณ",
|
||||
tag: "coined",
|
||||
},
|
||||
{
|
||||
key: 6,
|
||||
label: "ผลการประเมินปฏิบัติราชการ",
|
||||
tag: "assessment",
|
||||
},
|
||||
{
|
||||
key: 7,
|
||||
label: "ตำแหน่ง/เงินเดือน",
|
||||
tag: "position",
|
||||
},
|
||||
{
|
||||
key: 8,
|
||||
label: "วินัย",
|
||||
tag: "rule",
|
||||
},
|
||||
{
|
||||
key: 9,
|
||||
label: "การลา",
|
||||
tag: "leave",
|
||||
},
|
||||
{
|
||||
key: 10,
|
||||
label: "ความสามารถพิเศษ",
|
||||
tag: "talent",
|
||||
},
|
||||
{
|
||||
key: 11,
|
||||
label: "ปฎิบัติราชการพิเศษ",
|
||||
tag: "work",
|
||||
},
|
||||
{
|
||||
key: 12,
|
||||
label: "บันทึกวันที่ไม่ได้รับเงินเดือนฯ",
|
||||
tag: "record",
|
||||
},
|
||||
{
|
||||
key: 13,
|
||||
label: "อื่นๆ",
|
||||
tag: "other",
|
||||
},
|
||||
{
|
||||
key: 14,
|
||||
label: "เอกสารหลักฐาน",
|
||||
tag: "document",
|
||||
},
|
||||
]);
|
||||
|
||||
export { menuList, tabList };
|
||||
export type { ScrollType, tabType, menuType, notiType, optionType };
|
||||
Loading…
Add table
Add a link
Reference in a new issue