const workMain = () => import("@/modules/09_leave/views/WorkingMain.vue"); const leaveMain = () => import("@/modules/09_leave/views/LeaveListMain.vue"); const leaveDetail = () => import("@/modules/09_leave/components/2_Leave/DetailLeave.vue"); const leaveDetailReject = () => import("@/modules/09_leave/components/2_Leave/DetailLeaveReject.vue"); const RoundMain = () => import("@/modules/09_leave/views/RoundMain.vue"); const ChangeRoundMain = () => import("@/modules/09_leave/views/ChangeRoundMain.vue"); const SpecialTimeMain = () => import("@/modules/09_leave/views/SpecialTimeMain.vue"); const leaveReport = () => import("@/modules/09_leave/components/3_Report/LeaveReport.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: "/statistics-report", // name: "/statistics-report", // component: reportMain, // meta: { // Auth: true, // Key: [9], // Role: "leave", // }, // }, // { // path: "/statistics-report/:type", // name: "/statistics-report-detail", // component: reportDetail, // meta: { // Auth: true, // Key: [9], // Role: "leave", // }, // }, ];