diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index fe7b5080c..8b9fda266 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -291,20 +291,20 @@ const menuList = readonly([ role: "insignia", }, { - label: "จัดทำรายชื่อข้าราชการสามัญ", - path: "insigniaNameList", + label: "จัดการคำขอ", + path: "insigniaManage", role: "insignia", }, { - label: "อนุมัติรายชื่อข้าราชการสามัญ", - path: "insigniaNameApprove", - role: "insignia", - }, - { - label: "บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์", + label: "บันทึกผลการได้รับพระราช...", path: "insigniaRecord", role: "insignia", }, + { + label: "จัดสรรเครื่องราชฯ", + path: "insigniaAllocate", + role: "insignia", + }, { label: "รายงาน", path: "insigniaReport", diff --git a/src/modules/07_insignia/components/1_Proposals/listProposals.vue b/src/modules/07_insignia/components/1_Proposals/listProposals.vue index 48d761c5d..1969ecb05 100644 --- a/src/modules/07_insignia/components/1_Proposals/listProposals.vue +++ b/src/modules/07_insignia/components/1_Proposals/listProposals.vue @@ -110,6 +110,20 @@ class="text-h5" /> + + + + ([ "startDate", "endDate", "status", + "statusRoyal", ]); //ค้นหา คอลัมน์ คอลัมน์ที่แสดง // หัวตาราง @@ -227,6 +242,15 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, + { + name: "statusRoyal", + align: "center", + label: "สถานะราชกิจจานุเบกษา", + sortable: true, + field: "institution", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, ]); // ข้อมูลตาราง (จำลอง) @@ -237,6 +261,7 @@ const rows = ref([ startDate: "2566", endDate: "31 พ.ค. 2566", status: "เสนอเเล้ว", + statusRoyal: "เสนอเเล้ว", }, { round: "รอบการเสนอขอพระราชทานเครื่องราชฯ", @@ -244,6 +269,7 @@ const rows = ref([ startDate: "2566", endDate: "31 พ.ค. 2566", status: "เสนอเเล้ว", + statusRoyal: "เสนอเเล้ว", }, { round: "รอบการเสนอขอพระราชทานเครื่องราชฯ", @@ -251,6 +277,7 @@ const rows = ref([ startDate: "2566", endDate: "31 พ.ค. 2566", status: "เสนอเเล้ว", + statusRoyal: "เสนอเเล้ว", }, { round: "รอบการเสนอขอพระราชทานเครื่องราชฯ", @@ -258,6 +285,7 @@ const rows = ref([ startDate: "2566", endDate: "31 พ.ค. 2566", status: "ยังไม่ได้เสนอ", + statusRoyal: "ยังไม่ได้เสนอ", }, { round: "รอบการเสนอขอพระราชทานเครื่องราชฯ", @@ -265,6 +293,7 @@ const rows = ref([ startDate: "2566", endDate: "31 พ.ค. 2566", status: "เสนอเเล้ว", + statusRoyal: "ยังไม่ได้เสนอ", }, ]); diff --git a/src/modules/07_insignia/components/2_Manage/StatCard.vue b/src/modules/07_insignia/components/2_Manage/StatCard.vue new file mode 100644 index 000000000..67ddb48bc --- /dev/null +++ b/src/modules/07_insignia/components/2_Manage/StatCard.vue @@ -0,0 +1,43 @@ + + diff --git a/src/modules/07_insignia/components/2_Manage/listManage.vue b/src/modules/07_insignia/components/2_Manage/listManage.vue new file mode 100644 index 000000000..6b57e514f --- /dev/null +++ b/src/modules/07_insignia/components/2_Manage/listManage.vue @@ -0,0 +1,715 @@ + + + + + diff --git a/src/modules/07_insignia/components/4_Allocate/addDetail.vue b/src/modules/07_insignia/components/4_Allocate/addDetail.vue new file mode 100644 index 000000000..7095a5a26 --- /dev/null +++ b/src/modules/07_insignia/components/4_Allocate/addDetail.vue @@ -0,0 +1,678 @@ + + + + + diff --git a/src/modules/07_insignia/components/4_Allocate/allocateAdd.vue b/src/modules/07_insignia/components/4_Allocate/allocateAdd.vue new file mode 100644 index 000000000..9b3597e6a --- /dev/null +++ b/src/modules/07_insignia/components/4_Allocate/allocateAdd.vue @@ -0,0 +1,77 @@ + + diff --git a/src/modules/07_insignia/components/4_Allocate/detail.vue b/src/modules/07_insignia/components/4_Allocate/detail.vue new file mode 100644 index 000000000..514c8d7b9 --- /dev/null +++ b/src/modules/07_insignia/components/4_Allocate/detail.vue @@ -0,0 +1,353 @@ + + + + + diff --git a/src/modules/07_insignia/components/4_Allocate/listAllocate.vue b/src/modules/07_insignia/components/4_Allocate/listAllocate.vue new file mode 100644 index 000000000..d7834ae25 --- /dev/null +++ b/src/modules/07_insignia/components/4_Allocate/listAllocate.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/src/modules/07_insignia/components/DialogHeader.vue b/src/modules/07_insignia/components/DialogHeader.vue new file mode 100644 index 000000000..8aa03351d --- /dev/null +++ b/src/modules/07_insignia/components/DialogHeader.vue @@ -0,0 +1,27 @@ + + diff --git a/src/modules/07_insignia/components/RecordInsignia.vue b/src/modules/07_insignia/components/RecordInsignia.vue index 5cae3b3c6..25d261701 100644 --- a/src/modules/07_insignia/components/RecordInsignia.vue +++ b/src/modules/07_insignia/components/RecordInsignia.vue @@ -22,10 +22,11 @@ > +
-
+
+ +
+ + + +
+
+ + + +
-
- -
-
- -
-
- -
-
- -
-
- - - -
-
- - - +
+
diff --git a/src/modules/07_insignia/router.ts b/src/modules/07_insignia/router.ts index 81ae5c6da..5eb982863 100644 --- a/src/modules/07_insignia/router.ts +++ b/src/modules/07_insignia/router.ts @@ -14,7 +14,16 @@ 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/listAllocate.vue"); +const allocateAdd = () => + import("@/modules/07_insignia/components/4_Allocate/allocateAdd.vue"); +const allocateDetail = () => + import("@/modules/07_insignia/components/4_Allocate/detail.vue"); +const allocateDetailAdd = () => + import("@/modules/07_insignia/components/4_Allocate/addDetail.vue"); export default [ { path: "/insignia", @@ -87,4 +96,54 @@ export default [ Role: "insignia", }, }, + { + path: "/insignia/manage/list-manage", + name: "insigniaManage", + component: listMange, + meta: { + Auth: true, + Key: [8.6], + Role: "insignia", + }, + }, + { + path: "/insignia/allocate/list-allocate", + name: "insigniaAllocate", + component: listAllocate, + meta: { + Auth: true, + Key: [8.7], + Role: "insignia", + }, + }, + { + path: "/insignia/allocate/allocate-add", + name: "allocateAdd", + component: allocateAdd, + meta: { + Auth: true, + Key: [8.8], + Role: "insignia", + }, + }, + { + path: "/insignia/allocate/detail", + name: "allocateDetail", + component: allocateDetail, + meta: { + Auth: true, + Key: [8.9], + Role: "insignia", + }, + }, + { + path: "/insignia/allocate/detail-add", + name: "allocateDetailAdd", + component: allocateDetailAdd, + meta: { + Auth: true, + Key: [8.9], + Role: "insignia", + }, + }, ];