hrms-mgt/src/modules/07_insignia/router.ts

42 lines
866 B
TypeScript
Raw Normal View History

2023-06-01 12:54:58 +07:00
/**
* Router (insignia)
*/
const Main = () => import("@/modules/07_insignia/views/Main.vue");
2023-07-17 14:56:08 +07:00
const ReportView = () => import("../07_insignia/components/report/ReportView.vue")
const report_01 = () => import("../07_insignia/components/report/Report_01.vue")
2023-06-01 12:54:58 +07:00
export default [
{
path: "/insignia",
name: "insignia",
component: Main,
meta: {
Auth: true,
Key: [7],
Role: "insignia",
},
},
2023-07-17 14:56:08 +07:00
{
path: "/insignia/report",
name: "insignia-report",
component: ReportView,
meta: {
Auth: true,
Key: [7.1],
Role: "insignia",
},
},
{
path: "/insignia/report/report-01",
name: "insignia-report-report-01",
component: report_01,
meta: {
Auth: true,
Key: [7.1],
Role: "insignia",
},
},
2023-06-01 12:54:58 +07:00
];