diff --git a/src/components/Table.vue b/src/components/Table.vue new file mode 100644 index 000000000..cc4dc9d08 --- /dev/null +++ b/src/components/Table.vue @@ -0,0 +1,88 @@ + + + + diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index 3552d4a07..293401c14 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -221,9 +221,101 @@ const menuList = readonly([ label: "เครื่องราชอิสริยาภรณ์", path: "insignia", role: "insignia", + children: [ + { + key: 8.1, + label: "รายการเสนอขอ" /* รายชื่อผู้สอบผ่าน */, + path: "insigniaProposals", + role: "insignia", + }, + { + key: 8.2, + label: "จัดทำรายชื่อข้าราชการสามัญ" /* รายชื่อผู้สอบผ่าน */, + path: "insigniaNameList", + role: "insignia", + }, + { + key: 8.3, + label: "อนุมัติรายชื่อข้าราชการสามัญ" /* รายชื่อผู้สอบผ่าน */, + path: "insigniaNameApprove", + role: "insignia", + }, + { + key: 8.4, + label: + "บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์" /* รายชื่อผู้สอบผ่าน */, + path: "insigniaRecord", + role: "insignia", + }, + { + key: 8.5, + label: "รายงาน" /* รายชื่อผู้สอบผ่าน */, + path: "insigniaReport", + role: "insignia", + }, + ], }, { key: 9, + icon: "mdi-medal-outline", + activeIcon: "mdi-medal", + label: "เหรียญจักรพรรดิมาลา", + path: "coin", + role: "coin", + children: [ + { + key: 9.1, + label: "รายการเสนอขอ", + path: "coinProposals", + role: "coin", + }, + { + key: 9.2, + label: "จัดการคำขอ", + path: "coinManage", + role: "coin", + }, + { + key: 9.3, + label: "บันทึกผลการได้รับพระราชทานเหรียญจักรพรรดิมาลา", + path: "coinReceive", + role: "coin", + }, + { + key: 9.4, + label: "บันทึกผลการจ่ายใบกำกับ", + path: "coinPayment", + role: "coin", + }, + { + key: 9.5, + label: + "รายชื่อที่ยื่นคำร้องขอแก้ไขข้อมูลการขอพระราชทานเหรียญจักรพรรดิมาลา", + path: "coinRequest", + role: "coin", + }, + { + key: 9.6, + label: "ประวัติการยื่นขอ", + path: "coinHistory", + role: "coin", + }, + { + key: 9.7, + label: "จัดสรรเหรียญตรา", + path: "coinAllocate", + role: "coin", + }, + { + key: 9.8, + label: "รายงาน", + path: "coinReport", + role: "coin", + }, + ], + }, + { + key: 10, icon: "o_contact_page", activeIcon: "contact_page", label: "ทะเบียนประวัติลูกจ้าง", diff --git a/src/main.ts b/src/main.ts index a969335bd..2926f9112 100644 --- a/src/main.ts +++ b/src/main.ts @@ -70,6 +70,11 @@ app.component( defineAsyncComponent(() => import("@/components/Selector.vue")) ); +app.component( + "d-table", + defineAsyncComponent(() => import("@/components/Table.vue")) +); + app.config.globalProperties.$http = http; app.mount("#app"); diff --git a/src/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue b/src/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue index 372f15139..6894b70cd 100644 --- a/src/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue +++ b/src/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue @@ -534,7 +534,7 @@ const OriginalDataFetch = async () => { // ดูรายการหน้าต่อไป const redirectToPage = (id?: number) => { - router.push({ name: "placementDetail" }); + // router.push({ name: "placementDetail" }); router.push(`/placement/order/detail`); }; diff --git a/src/modules/05_placement/components/OrderPlacement/step/step02.vue b/src/modules/05_placement/components/OrderPlacement/step/step02.vue index c3199cf47..b25dd46c4 100644 --- a/src/modules/05_placement/components/OrderPlacement/step/step02.vue +++ b/src/modules/05_placement/components/OrderPlacement/step/step02.vue @@ -46,9 +46,7 @@ /> -