/** * Router เครื่องราชอิสริยาภรณ์ (insignia) */ const ReportView = () => import("../07_insignia/components/report/ReportView.vue"); const report_01 = () => import("../07_insignia/components/report/Report_01.vue"); const report_02 = () => import("../07_insignia/components/report/Report_02.vue"); const RecordInsignia = () => import("@/modules/07_insignia/views/ResultPage.vue"); const insigniaProposals = () => import("@/modules/07_insignia/components/1_Proposals/listProposals.vue"); const roundAdd = () => import("@/modules/07_insignia/components/1_Proposals/addProposals.vue"); const listMange = () => import("@/modules/07_insignia/components/2_Manage/listManage.vue"); const listAllocate = () => import("@/modules/07_insignia/components/4_Allocate/Main.vue"); const allocateOrdList = () => import("@/modules/07_insignia/components/4_Allocate/OrgList.vue"); // ยืม - คืนเครื่องราช const insigniaBorrow = () => import("@/modules/07_insignia/components/5_Borrow/Main.vue"); export default [ { path: "/insignia/round", name: "insigniaProposals", component: insigniaProposals, meta: { Auth: true, Key: "SYS_INSIGNIA_ROUND", Role: "STAFF", }, }, // { // path: "/insignia/round/:id", // name: "roundAddEdit", // component: roundAdd, // meta: { // Auth: true, // Key: "SYS_INSIGNIA_ROUND", // Role: "STAFF", // }, // }, // { // path: "/insignia/round/add", // name: "roundAdd", // component: roundAdd, // meta: { // Auth: true, // Key: "SYS_INSIGNIA_ROUND", // Role: "STAFF", // }, // }, { path: "/insignia/record", name: "insigniaRecord", component: RecordInsignia, meta: { Auth: true, Key: "SYS_INSIGNIA_RECORD", Role: "STAFF", }, }, { path: "/insignia/report", name: "insigniaReport", component: ReportView, meta: { Auth: true, Key: "SYS_INSIGNIA_REPORT", Role: "STAFF", }, }, { path: "/insignia/report/report-01", name: "report-report-01", component: report_01, meta: { Auth: true, Key: "SYS_INSIGNIA_REPORT", Role: "STAFF", }, }, { path: "/insignia/report/report/:type", name: "report-report", component: report_02, meta: { Auth: true, Key: "SYS_INSIGNIA_REPORT", Role: "STAFF", }, }, { path: "/insignia/manage/list-manage", name: "insigniaManage", component: listMange, meta: { Auth: true, Key: "SYS_INSIGNIA_MANAGE", Role: "STAFF", }, }, { path: "/insignia/allocate", name: "insigniaAllocate", component: listAllocate, meta: { Auth: true, Key: "SYS_INSIGNIA_ALLOCATE", Role: "STAFF", }, }, { path: "/insignia/allocate/org/:id", name: "allocateOrdList", component: allocateOrdList, meta: { Auth: true, Key: "SYS_INSIGNIA_ALLOCATE", Role: "STAFF", }, }, { path: "/insignia/borrow", name: "insigniaBorrow", component: insigniaBorrow, meta: { Auth: true, Key: "SYS_INSIGNIA_BORROW", Role: "STAFF", }, }, ];