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

63 lines
1.3 KiB
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")
const ResultInsignia = () =>
import("@/modules/07_insignia/components/ResultInsignia.vue");
const Coin = () => import("@/modules/07_insignia/components/Coin.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],
},
},
{
path: "/insignia/result-insignia",
name: "result-insignia",
component: ResultInsignia,
meta: {
Auth: true,
Key: [7],
2023-07-17 14:56:08 +07:00
Role: "insignia",
},
},
{
path: "/insignia/report/report-01",
name: "insignia-report-report-01",
component: report_01,
meta: {
Auth: true,
Key: [7.1],
Role: "insignia",
},
},
{
path: "/insignia/coin",
name: "coin",
component: Coin,
meta: {
Auth: true,
Key: [7],
Role: "insignia",
},
},
2023-06-01 12:54:58 +07:00
];