2023-06-01 12:54:58 +07:00
|
|
|
/**
|
|
|
|
|
* Router เครื่องราชอิสริยาภรณ์ (insignia)
|
|
|
|
|
*/
|
2024-09-25 16:44:07 +07:00
|
|
|
//รายการรอบการเสนอขอพระราชทานเครื่องราชอิสริยาภรณ์
|
|
|
|
|
const insigniaProposals = () =>
|
|
|
|
|
import("@/modules/07_insignia/views/01_RoundMain.vue");
|
2023-06-01 12:54:58 +07:00
|
|
|
|
2024-09-25 16:44:07 +07:00
|
|
|
//รายชื่อข้าราชการสามัญฯ ที่มีสิทธิ์ยื่นขอพระราชทานเครื่องราชอิสริยาภรณ์
|
|
|
|
|
const listMange = () => import("@/modules/07_insignia/views/02_ManageMain.vue");
|
|
|
|
|
|
|
|
|
|
// บันทึกผลการได้รับพระราชทานเครื่องราชอิสริยาภรณ์/การจ่ายใบกำกับ
|
2023-07-17 17:00:50 +07:00
|
|
|
const RecordInsignia = () =>
|
2024-09-25 16:44:07 +07:00
|
|
|
import("@/modules/07_insignia/views/03_ResultMain.vue");
|
|
|
|
|
|
|
|
|
|
// จัดสรรเครื่องราชอิสริยาภรณ์
|
2023-08-04 13:48:56 +07:00
|
|
|
const listAllocate = () =>
|
2024-09-25 16:44:07 +07:00
|
|
|
import("@/modules/07_insignia/views/04_AllocateMain.vue");
|
2023-08-26 15:59:09 +07:00
|
|
|
const allocateOrdList = () =>
|
2024-09-25 16:44:07 +07:00
|
|
|
import("@/modules/07_insignia/components/4_Allocate/OrgAllocatePageList.vue");
|
2023-09-19 14:58:16 +07:00
|
|
|
|
2023-08-28 11:27:08 +07:00
|
|
|
// ยืม - คืนเครื่องราช
|
2023-08-25 15:07:08 +07:00
|
|
|
const insigniaBorrow = () =>
|
2024-09-25 16:44:07 +07:00
|
|
|
import("@/modules/07_insignia/views/05_BorrowMain.vue");
|
|
|
|
|
|
|
|
|
|
const ReportView = () => import("./views/06_ReportMain.vue");
|
|
|
|
|
|
|
|
|
|
const report_02 = () =>
|
2024-11-12 14:01:11 +07:00
|
|
|
import("@/modules/07_insignia/components/report/ReportDetail.vue");
|
2024-09-25 16:44:07 +07:00
|
|
|
|
2023-06-01 12:54:58 +07:00
|
|
|
export default [
|
|
|
|
|
{
|
2024-08-01 15:25:48 +07:00
|
|
|
path: "/insignia/round",
|
2023-07-17 16:03:00 +07:00
|
|
|
name: "insigniaProposals",
|
|
|
|
|
component: insigniaProposals,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_INSIGNIA_ROUND",
|
|
|
|
|
Role: "STAFF",
|
2023-07-17 16:03:00 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-09-25 16:44:07 +07:00
|
|
|
{
|
|
|
|
|
path: "/insignia/manage/list-manage",
|
|
|
|
|
name: "insigniaManage",
|
|
|
|
|
component: listMange,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
|
|
|
|
Key: "SYS_INSIGNIA_MANAGE",
|
|
|
|
|
Role: "STAFF",
|
|
|
|
|
},
|
|
|
|
|
},
|
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,
|
2023-07-17 14:18:31 +07:00
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_INSIGNIA_RECORD",
|
|
|
|
|
Role: "STAFF",
|
2023-07-17 14:56:08 +07:00
|
|
|
},
|
|
|
|
|
},
|
2023-07-17 14:18:31 +07:00
|
|
|
{
|
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,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_INSIGNIA_REPORT",
|
|
|
|
|
Role: "STAFF",
|
2023-07-17 14:56:08 +07:00
|
|
|
},
|
|
|
|
|
},
|
2023-07-17 14:18:31 +07:00
|
|
|
{
|
2024-09-25 16:44:07 +07:00
|
|
|
path: "/insignia/report/:type",
|
2023-09-26 13:09:48 +07:00
|
|
|
name: "report-report",
|
2023-08-28 11:27:08 +07:00
|
|
|
component: report_02,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_INSIGNIA_REPORT",
|
|
|
|
|
Role: "STAFF",
|
2023-08-28 11:27:08 +07:00
|
|
|
},
|
|
|
|
|
},
|
2024-09-25 16:44:07 +07:00
|
|
|
|
2023-08-04 13:48:56 +07:00
|
|
|
{
|
2023-08-27 02:53:22 +07:00
|
|
|
path: "/insignia/allocate",
|
2023-08-04 13:48:56 +07:00
|
|
|
name: "insigniaAllocate",
|
|
|
|
|
component: listAllocate,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_INSIGNIA_ALLOCATE",
|
|
|
|
|
Role: "STAFF",
|
2023-08-04 13:48:56 +07:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-27 02:53:22 +07:00
|
|
|
path: "/insignia/allocate/org/:id",
|
2023-08-26 15:59:09 +07:00
|
|
|
name: "allocateOrdList",
|
|
|
|
|
component: allocateOrdList,
|
2023-08-04 13:48:56 +07:00
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_INSIGNIA_ALLOCATE",
|
|
|
|
|
Role: "STAFF",
|
2023-08-04 13:48:56 +07:00
|
|
|
},
|
|
|
|
|
},
|
2023-08-25 15:07:08 +07:00
|
|
|
{
|
|
|
|
|
path: "/insignia/borrow",
|
|
|
|
|
name: "insigniaBorrow",
|
|
|
|
|
component: insigniaBorrow,
|
|
|
|
|
meta: {
|
|
|
|
|
Auth: true,
|
2024-08-01 15:25:48 +07:00
|
|
|
Key: "SYS_INSIGNIA_BORROW",
|
|
|
|
|
Role: "STAFF",
|
2023-08-25 15:07:08 +07:00
|
|
|
},
|
|
|
|
|
},
|
2023-06-01 12:54:58 +07:00
|
|
|
];
|