diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index d02ebb6fb..36d485167 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -332,94 +332,134 @@ const menuList = readonly([ children: [ { key: 8.1, - label: "เครื่องราชฯ", - path: "", + label: "รอบการเสนอขอ", + path: "insigniaProposals", role: "insignia", - children: [ - { - label: "รอบการเสนอขอ", - path: "insigniaProposals", - role: "insignia", - }, - { - label: "จัดการคำขอ", - path: "insigniaManage", - role: "insignia", - }, - { - label: "บันทึกผลการได้รับพระราช...", - path: "insigniaRecord", - role: "insignia", - }, - { - label: "บันทึกผลการจ่ายใบกำกับ", - path: "VatInsignia", - role: "insignia", - }, - - { - label: "จัดสรรเครื่องราชฯ", - path: "insigniaAllocate", - role: "insignia", - }, - { - label: "รายงาน", - path: "insigniaReport", - role: "insignia", - }, - ], }, { key: 8.2, - label: "เหรียญจักรพรรดิมาลา", - path: "", - role: "coin", - children: [ - { - label: "รอบการเสนอขอ", - path: "coinProposals", - role: "coin", - }, - { - label: "จัดการคำขอ", - path: "coinManage", - role: "coin", - }, - { - label: "บันทึกผลการได้รับพระราชทานเหรียญจักรพรรดิมาลา", - path: "coinReceive", - role: "coin", - }, - { - label: "บันทึกผลการจ่ายใบกำกับ", - path: "coinPayment", - role: "coin", - }, - { - label: - "รายชื่อที่ยื่นคำร้องขอแก้ไขข้อมูลการขอพระราชทานเหรียญจักรพรรดิมาลา", - path: "coinRequest", - role: "coin", - }, - // { - // label: "ประวัติการยื่นขอ", - // path: "coinHistory", - // role: "coin", - // }, - { - label: "จัดสรรเหรียญตรา", - path: "coinAllocate", - role: "coin", - }, - { - label: "รายงาน", - path: "coinReport", - role: "coin", - }, - ], + label: "จัดการคำขอ", + path: "insigniaManage", + role: "insignia", + }, + { + key: 8.3, + label: "บันทึกผลการเสนอขอ", + path: "insigniaRecord", + role: "insignia", + }, + { + key: 8.4, + label: "จัดสรรเครื่องราชฯ", + path: "insigniaAllocate", + role: "insignia", + }, + { + key: 8.5, + label: "รายงาน", + path: "insigniaReport", + role: "insignia", }, ], }, + // { + // key: 8, + // icon: "mdi-medal-outline", + // activeIcon: "mdi-medal", + // label: "เครื่องราชฯ", + // path: "insignia", + // role: "insignia", + // children: [ + // { + // key: 8.1, + // label: "เครื่องราชฯ", + // path: "", + // role: "insignia", + // children: [ + // { + // label: "รอบการเสนอขอ", + // path: "insigniaProposals", + // role: "insignia", + // }, + // { + // label: "จัดการคำขอ", + // path: "insigniaManage", + // role: "insignia", + // }, + // { + // label: "บันทึกผลการได้รับพระราช...", + // path: "insigniaRecord", + // role: "insignia", + // }, + // { + // label: "บันทึกผลการจ่ายใบกำกับ", + // path: "VatInsignia", + // role: "insignia", + // }, + + // { + // label: "จัดสรรเครื่องราชฯ", + // path: "insigniaAllocate", + // role: "insignia", + // }, + // { + // label: "รายงาน", + // path: "insigniaReport", + // role: "insignia", + // }, + // ], + // }, + // { + // key: 8.2, + // label: "เหรียญจักรพรรดิมาลา", + // path: "", + // role: "coin", + // children: [ + // { + // label: "รอบการเสนอขอ", + // path: "coinProposals", + // role: "coin", + // }, + // { + // label: "จัดการคำขอ", + // path: "coinManage", + // role: "coin", + // }, + // { + // label: "บันทึกผลการได้รับพระราชทานเหรียญจักรพรรดิมาลา", + // path: "coinReceive", + // role: "coin", + // }, + // { + // label: "บันทึกผลการจ่ายใบกำกับ", + // path: "coinPayment", + // role: "coin", + // }, + // { + // label: + // "รายชื่อที่ยื่นคำร้องขอแก้ไขข้อมูลการขอพระราชทานเหรียญจักรพรรดิมาลา", + // path: "coinRequest", + // role: "coin", + // }, + // // { + // // label: "ประวัติการยื่นขอ", + // // path: "coinHistory", + // // role: "coin", + // // }, + // { + // label: "จัดสรรเหรียญตรา", + // path: "coinAllocate", + // role: "coin", + // }, + // { + // label: "รายงาน", + // path: "coinReport", + // role: "coin", + // }, + // ], + // }, + // ], + // }, ]); const tabList = readonly([ diff --git a/src/modules/07_insignia/components/3_result/DialogForm.vue b/src/modules/07_insignia/components/3_result/DialogForm.vue new file mode 100644 index 000000000..4eb5b965a --- /dev/null +++ b/src/modules/07_insignia/components/3_result/DialogForm.vue @@ -0,0 +1,50 @@ + + + \ No newline at end of file diff --git a/src/modules/07_insignia/components/RecordInsignia.vue b/src/modules/07_insignia/components/RecordInsignia.vue deleted file mode 100644 index 8be5cf2fb..000000000 --- a/src/modules/07_insignia/components/RecordInsignia.vue +++ /dev/null @@ -1,576 +0,0 @@ - - - - diff --git a/src/modules/07_insignia/router.ts b/src/modules/07_insignia/router.ts index 9e111e29c..092877968 100644 --- a/src/modules/07_insignia/router.ts +++ b/src/modules/07_insignia/router.ts @@ -8,7 +8,7 @@ const ReportView = () => const report_01 = () => import("../07_insignia/components/report/Report_01.vue"); const RecordInsignia = () => - import("@/modules/07_insignia/components/RecordInsignia.vue"); + import("@/modules/07_insignia/views/ResultPage.vue"); const Coin = () => import("@/modules/07_insignia/components/Coin.vue"); const insigniaProposals = () => import("@/modules/07_insignia/components/1_Proposals/listProposals.vue"); diff --git a/src/modules/07_insignia/views/ResultPage.vue b/src/modules/07_insignia/views/ResultPage.vue new file mode 100644 index 000000000..05fa10027 --- /dev/null +++ b/src/modules/07_insignia/views/ResultPage.vue @@ -0,0 +1,670 @@ + + + + diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index 3349e53d0..d8811af02 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -779,7 +779,7 @@ if (keycloak.tokenParsed != null) { -
+