98 lines
2 KiB
TypeScript
98 lines
2 KiB
TypeScript
/**
|
|
* Router เครื่องราชอิสริยาภรณ์ (insignia)
|
|
*/
|
|
|
|
const Main = () => import("@/modules/07_insignia/views/Main.vue");
|
|
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");
|
|
const insigniaProposals = () =>
|
|
import("@/modules/07_insignia/views/1_Proposals/listProposals.vue");
|
|
const roundAdd = () =>
|
|
import("@/modules/07_insignia/views/1_Proposals/addProposals.vue");
|
|
|
|
export default [
|
|
{
|
|
path: "/insignia",
|
|
name: "insignia",
|
|
component: Main,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/round-proposals",
|
|
name: "insigniaProposals",
|
|
component: insigniaProposals,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.1],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/round-add",
|
|
name: "roundAdd",
|
|
component: roundAdd,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7.1],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
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],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/coin",
|
|
name: "coin",
|
|
component: Coin,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/report",
|
|
name: "insignia-report",
|
|
component: ReportView,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
{
|
|
path: "/insignia/report/report-01",
|
|
name: "report-report-01",
|
|
component: report_01,
|
|
meta: {
|
|
Auth: true,
|
|
Key: [7],
|
|
Role: "insignia",
|
|
},
|
|
},
|
|
];
|