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

91 lines
1.9 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 15:58:26 +07:00
const ReportView = () =>
import("../07_insignia/components/report/ReportView.vue");
const report_01 = () =>
import("../07_insignia/components/report/Report_01.vue");
2023-07-17 17:00:50 +07:00
const RecordInsignia = () =>
import("@/modules/07_insignia/components/RecordInsignia.vue");
const Coin = () => import("@/modules/07_insignia/components/Coin.vue");
const insigniaProposals = () =>
2023-07-17 17:00:50 +07:00
import("@/modules/07_insignia/components/1_Proposals/listProposals.vue");
const roundAdd = () =>
2023-07-17 17:00:50 +07:00
import("@/modules/07_insignia/components/1_Proposals/addProposals.vue");
2023-06-01 12:54:58 +07:00
export default [
{
path: "/insignia",
name: "insignia",
component: Main,
meta: {
Auth: true,
2023-07-17 17:00:50 +07:00
Key: [8],
2023-06-01 12:54:58 +07:00
Role: "insignia",
},
},
2023-07-17 16:03:00 +07:00
{
path: "/insignia/round-proposals",
name: "insigniaProposals",
component: insigniaProposals,
meta: {
Auth: true,
2023-07-17 17:00:50 +07:00
Key: [8.1],
2023-07-17 16:03:00 +07:00
Role: "insignia",
},
},
{
path: "/insignia/round-add",
name: "roundAdd",
component: roundAdd,
meta: {
Auth: true,
2023-07-17 17:00:50 +07:00
Key: [8.1],
2023-07-17 16:03:00 +07:00
Role: "insignia",
},
},
2023-07-17 17:00:50 +07:00
2023-07-17 14:56:08 +07:00
{
2023-07-17 17:00:50 +07:00
path: "/insignia/record",
name: "insigniaRecord",
component: RecordInsignia,
meta: {
Auth: true,
2023-07-17 17:00:50 +07:00
Key: [8.4],
2023-07-17 14:56:08 +07:00
Role: "insignia",
},
},
{
2023-07-17 16:00:29 +07:00
path: "/insignia/coin",
name: "coin",
component: Coin,
2023-07-17 14:56:08 +07:00
meta: {
Auth: true,
2023-07-17 17:00:50 +07:00
Key: [8],
2023-07-17 14:56:08 +07:00
Role: "insignia",
},
},
{
2023-07-17 16:00:29 +07:00
path: "/insignia/report",
2023-07-17 17:00:50 +07:00
name: "insigniaReport",
2023-07-17 16:00:29 +07:00
component: ReportView,
2023-07-17 14:56:08 +07:00
meta: {
Auth: true,
2023-07-17 17:00:50 +07:00
Key: [8.5],
2023-07-17 14:56:08 +07:00
Role: "insignia",
},
},
{
2023-07-17 16:00:29 +07:00
path: "/insignia/report/report-01",
name: "report-report-01",
component: report_01,
meta: {
Auth: true,
2023-07-17 17:00:50 +07:00
Key: [8.5],
Role: "insignia",
},
},
2023-06-01 12:54:58 +07:00
];