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: "/round-time", component: RoundMain, meta: { Auth: true, Key: [9], Role: "leave", }, }, { path: "/change-round", name: "/change-round", component: ChangeRoundMain, meta: { Auth: true, Key: [9], Role: "leave", }, }, { path: "/work-list", name: "/work-list", component: workMain, meta: { Auth: true, Key: [9], Role: "leave", }, }, { path: "/work-list", name: "/work-list", component: workMain, meta: { Auth: true, Key: [9], Role: "leave", }, }, { path: "/timestamp-special", name: "/timestamp-special", component: SpecialTimeMain, meta: { Auth: true, Key: [9], Role: "leave", }, }, { path: "/leave", name: "/leave", component: leaveMain, meta: { Auth: true, Key: [9], Role: "leave", }, }, { path: "/leave/detail/:id", name: "/leave/detail", component: leaveDetail, meta: { Auth: true, Key: [9], Role: "leave", }, }, { path: "/leave-reject/detail/:id", name: "/leave-reject/detail", component: leaveDetailReject, meta: { Auth: true, Key: [9], Role: "leave", }, }, { path: "/leave-report", name: "/leave-report", component: leaveReport, meta: { Auth: true, Key: [9], Role: "leave", }, }, // { // 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", // }, // }, ];