108 lines
2.4 KiB
TypeScript
108 lines
2.4 KiB
TypeScript
const workMain = () => import("@/modules/09_leave/views/02_WorkingMain.vue");
|
|
const leaveMain = () => import("@/modules/09_leave/views/05_LeaveListMain.vue");
|
|
const leaveDetail = () =>
|
|
import("@/modules/09_leave/components/05_Leave/DetailLeavePage.vue");
|
|
const leaveDetailReject = () =>
|
|
import("@/modules/09_leave/components/05_Leave/DetailLeaveReject.vue");
|
|
const RoundMain = () => import("@/modules/09_leave/views/01_RoundMain.vue");
|
|
const ChangeRoundMain = () =>
|
|
import("@/modules/09_leave/views/03_ChangeRoundMain.vue");
|
|
const SpecialTimeMain = () =>
|
|
import("@/modules/09_leave/views/04_SpecialTimeMain.vue");
|
|
const leaveReport = () => import("@/modules/09_leave/views/06_ReportMain.vue");
|
|
|
|
const CheckinReport = () =>
|
|
import("@/modules/09_leave/views/07_ReportCheckin.vue");
|
|
export default [
|
|
{
|
|
path: "/round-time",
|
|
name: "roundTime",
|
|
component: RoundMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_WORK_ROUND",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/change-round",
|
|
name: "changeRound",
|
|
component: ChangeRoundMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_WORK_ROUND_EDIT",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/work-list",
|
|
name: "workList",
|
|
component: workMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_CHECKIN",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/timestamp-special",
|
|
name: "timestampSpecial",
|
|
component: SpecialTimeMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_CHECKIN_SPECIAL",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/leave",
|
|
name: "leave",
|
|
component: leaveMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_LEAVE_LIST",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/leave/detail/:id",
|
|
name: "leaveDetail",
|
|
component: leaveDetail,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_LEAVE_LIST",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/leave-reject/detail/:id",
|
|
name: "leaveRejectDetail",
|
|
component: leaveDetailReject,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_LEAVE_LIST",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
{
|
|
path: "/leave-report",
|
|
name: "leaveReport",
|
|
component: leaveReport,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_LEAVE_REPORT",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
|
|
{
|
|
path: "/checkinReport",
|
|
name: "checkinReport",
|
|
component: CheckinReport,
|
|
meta: {
|
|
Auth: true,
|
|
Key: "SYS_WORK_REPORT",
|
|
Role: "STAFF",
|
|
},
|
|
},
|
|
];
|