71 lines
1.5 KiB
TypeScript
71 lines
1.5 KiB
TypeScript
const workMain = () => import("@/modules/09_leave/views/WorkingMain.vue");
|
|
const leaveMain = () => import("@/modules/09_leave/views/LeaveListMain.vue");
|
|
const reportMain = () => import("@/modules/09_leave/views/ReportMain.vue");
|
|
const leaveDetail = () =>
|
|
import("@/modules//09_leave/components/2_Leave/DetailLeave.vue");
|
|
const RoundMain = () => import("@/modules/09_leave/views/RoundMain.vue");
|
|
const SpecialTimeMain = () =>
|
|
import("@/modules/09_leave/views/SpecialTimeMain.vue");
|
|
|
|
export default [
|
|
{
|
|
path: "/round-time",
|
|
name: "/round-time",
|
|
component: RoundMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [9],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/work-list",
|
|
name: "/work-list",
|
|
component: workMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [9],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/special-time",
|
|
name: "/special-time",
|
|
component: SpecialTimeMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [9],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/leave-list",
|
|
name: "/leave-list",
|
|
component: leaveMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [9],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/leave/detail/:id",
|
|
name: "/leave/detail",
|
|
component: leaveDetail,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [9],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
{
|
|
path: "/statistics-report",
|
|
name: "/statistics-report",
|
|
component: reportMain,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [9],
|
|
Role: "coin",
|
|
},
|
|
},
|
|
];
|