From b5cc5c9cb7f198713562e192b68b25d98f30ba21 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Thu, 23 Nov 2023 15:47:14 +0700 Subject: [PATCH 1/4] =?UTF-8?q?update=20=E0=B8=9F=E0=B8=AD=E0=B8=A3?= =?UTF-8?q?=E0=B9=8C=E0=B8=A1=E0=B8=AA=E0=B8=B7=E0=B8=9A=E0=B8=AA=E0=B8=A7?= =?UTF-8?q?=E0=B8=99=20=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=AA=E0=B8=A7?= =?UTF-8?q?=E0=B8=99=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/1_Complaint/Popup.vue | 14 +- .../2_InvestigateFacts/EditPage.vue | 31 +- .../components/2_InvestigateFacts/Form.vue | 370 ++++++---- .../2_InvestigateFacts/MainPage.vue | 35 +- .../3_InvestigateDisciplinary/Form.vue | 658 +++++++++--------- .../3_InvestigateDisciplinary/MainPage.vue | 13 +- .../3_InvestigateDisciplinary/Table.vue | 1 - .../11_discipline/interface/index/Main.ts | 12 +- .../interface/request/investigate.ts | 2 + .../interface/request/investigateFact.ts | 35 + .../interface/response/investigate.ts | 13 + .../store/InvestigateFactStore.ts | 148 ++-- 12 files changed, 768 insertions(+), 564 deletions(-) create mode 100644 src/modules/11_discipline/interface/request/investigateFact.ts create mode 100644 src/modules/11_discipline/interface/response/investigate.ts diff --git a/src/modules/11_discipline/components/1_Complaint/Popup.vue b/src/modules/11_discipline/components/1_Complaint/Popup.vue index 54d7e8398..95e6173fb 100644 --- a/src/modules/11_discipline/components/1_Complaint/Popup.vue +++ b/src/modules/11_discipline/components/1_Complaint/Popup.vue @@ -15,6 +15,10 @@ const $q = useQuasar(); const { dialogConfirm, dialogMessageNotify, success } = mixin; const props = defineProps({ + title: { + type: String, + require: 'ส่งไปสืบสวน', + }, modal: { type: Boolean, require: true, @@ -128,13 +132,13 @@ function onclickSend() { dialogConfirm( $q, async () => { - success($q, "ส่งข้อมูลไปสืบสวนสำเร็จ"); + success($q, `ส่งข้อมูล${props.title}สำเร็จ`); console.log(selected.value); props.close?.(); }, - "ยืนยันการส่งไปสืบสวน", - "ต้องการยืนยันการส่งไปสืบสวนหรือไม่" + `ยืนยันการส่ง${props.title}`, + `ต้องการยืนยันการส่ง${props.title}หรือไม่` ); } else { dialogMessageNotify($q, "กรุณาเลือกรายชื่อ"); @@ -155,7 +159,7 @@ watch([() => props.modal], () => {