From b858d2e9a9b886521267dd34fff8d49a91cf5e24 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 17 Oct 2023 14:23:23 +0700 Subject: [PATCH] =?UTF-8?q?UI=20=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=87=E0=B8=B2?= =?UTF-8?q?=E0=B8=99=E0=B8=82=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B0=E0=B8=9A?= =?UTF-8?q?=E0=B8=9A=E0=B8=87=E0=B8=B2=E0=B8=99=E0=B8=A7=E0=B8=B4=E0=B8=99?= =?UTF-8?q?=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../investigatefactsAdd.vue | 130 ++++--- .../components/5_Report/MainPage.vue | 145 ++++++- .../components/5_Report/reportDetail.vue | 355 ++++++++++++++++++ src/modules/11_discipline/router.ts | 12 +- .../11_discipline/stroes/ReportStore.ts | 24 ++ 5 files changed, 607 insertions(+), 59 deletions(-) create mode 100644 src/modules/11_discipline/components/5_Report/reportDetail.vue create mode 100644 src/modules/11_discipline/stroes/ReportStore.ts diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/investigatefactsAdd.vue b/src/modules/11_discipline/components/2_InvestigateFacts/investigatefactsAdd.vue index 87904f1b2..0fabed5b6 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/investigatefactsAdd.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/investigatefactsAdd.vue @@ -16,6 +16,7 @@ const complaintdetail = ref(""); const detail = ref(""); const fault = ref(""); const results = ref(""); +const other = ref(""); const evidenceFiles = ref(null); const fileComplaint = ref(null); const clickTime = ref(false); @@ -23,19 +24,23 @@ const date = ref(null); const dateEnd = ref(null); const investigation = ref(""); const faultOps = ref([ - { id: "000-000", value: "test1" }, - { id: "000-001", value: "test2" }, + { id: "001", value: "ยังไม่ระบุ" }, + { id: "002", value: "ไม่ร้ายเเรง" }, + { id: "003", value: "ร้ายเเรง" }, ]); const faultOp = ref(); const investigationOps = ref([ - { id: "000-000", value: "test1" }, - { id: "000-001", value: "test2" }, + { id: "001", value: "เเต่งตั้งการสืบสวน" }, + { id: "002", value: "สืบสวนทางลับ" }, + { id: "003", value: "อื่นๆ" }, ]); const daysExtend = ref(""); const daysExtendOp = ref(); const daysExtendOps = ref([ - { id: "000-000", value: "test1" }, - { id: "000-001", value: "test2" }, + { id: "000", value: "15 วัน" }, + { id: "001", value: "30 วัน" }, + { id: "002", value: "45 วัน" }, + { id: "003", value: "60 วัน" }, ]); const investigationOp = ref(); @@ -92,54 +97,69 @@ function filterFnOptionsType(val: string, update: any, type: string) { type="textarea" /> -
- +
+ - -
-
- + ไม่มีข้อมูล + + + + +
+
+ - + > + +
+
+ +
+

-
- - บับทึกข้อมูล -
+
+ + บับทึกข้อมูล +
diff --git a/src/modules/11_discipline/components/5_Report/MainPage.vue b/src/modules/11_discipline/components/5_Report/MainPage.vue index 29f73a485..142233bc7 100644 --- a/src/modules/11_discipline/components/5_Report/MainPage.vue +++ b/src/modules/11_discipline/components/5_Report/MainPage.vue @@ -1,9 +1,148 @@ - + - + diff --git a/src/modules/11_discipline/components/5_Report/reportDetail.vue b/src/modules/11_discipline/components/5_Report/reportDetail.vue new file mode 100644 index 000000000..4f36355c0 --- /dev/null +++ b/src/modules/11_discipline/components/5_Report/reportDetail.vue @@ -0,0 +1,355 @@ + + diff --git a/src/modules/11_discipline/router.ts b/src/modules/11_discipline/router.ts index 419f59ccb..080766527 100644 --- a/src/modules/11_discipline/router.ts +++ b/src/modules/11_discipline/router.ts @@ -8,7 +8,7 @@ const report = () => import("@/modules/11_discipline/components/5_Report/MainPag const directorMain = () => import("@/modules/11_discipline/components/ุ6_Information/Director/MainPage.vue") const channelMain = () => import("@/modules/11_discipline/components/ุ6_Information/Channel/MainPage.vue") const complaintAdd = () => import("@/modules/11_discipline/components/1_Complaint/AddComplaintPage.vue") - +const reportType = () => import('@/modules/11_discipline/components/5_Report/reportDetail.vue') export default [ { @@ -71,6 +71,16 @@ export default [ Role: "coin", }, }, + { + path: "/discipline/report/:type", + name: "/discipline-reportType", + component: reportType, + meta: { + Auth: true, + Key: [11.5], + Role: "coin", + }, + }, { path: "/discipline/director", name: "/discipline-director", diff --git a/src/modules/11_discipline/stroes/ReportStore.ts b/src/modules/11_discipline/stroes/ReportStore.ts new file mode 100644 index 000000000..0ec6fcd20 --- /dev/null +++ b/src/modules/11_discipline/stroes/ReportStore.ts @@ -0,0 +1,24 @@ +import { defineStore } from "pinia"; +import { ref } from "vue"; + +export const useReportDataStore = defineStore("report11", () => { + interface OptionReport { + id: string; + title: string; + } + const optionReport = ref([ + { id: "1", title: "รายงานเรื่องร้องเรียนแยกรายวัน รายเดือน รายปี"}, + { id: "2", title: "รายงานเรื่องร้องเรียนข้าราชการสามัญฯ ในสังกัดกรุงเทพมหานคร แยกตามหน่วยงาน" }, + { id: "3", title: "รายงานจำนวนข้าราชการสามัญฯ ที่กระทำความผิดทางวินัย แยกตามลักษณะความผิด" }, + { id: "4", title: "รายงานรายชื่อข้าราชการสามัญฯ ที่กระทำความผิดทางวินัยแยกตามลักษณะความผิด" }, + { id: "5", title: "รายงานจำนวนข้าราชการสามัญฯ ที่กระทำความผิดแยกตามระดับความผิด" }, + { id: "6", title: "รายงานรายชื่อข้าราชการสามัญฯ ที่กระทำความผิดทางวินัยแยกตามลักษณะความผิด" }, + { id: "7", title: "รายงานจำนวนข้าราชการสามัญฯ ที่กระทำความผิดทางวินัยแต่ยุติเรื่อง แยกลักษณะความผิด" }, + { id: "8", title: "รายงานจำนวนข้าราชการสามัญฯ ที่กระทำความผิดทางวินัยแต่ยุติเรื่อง แยกตามตำแหน่ง" }, + ]); + + + return { + optionReport, + }; +});