From f27dc0a73f4cd032ccd60d6888ac13f3ed908d16 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 28 Nov 2023 17:22:21 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=AA=E0=B8=B7?= =?UTF-8?q?=E0=B8=9A=E0=B8=AA=E0=B8=A7=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/1_Complaint/Form.vue | 1 + .../2_InvestigateFacts/EditPage.vue | 22 +- .../components/2_InvestigateFacts/Form.vue | 1315 +++++++++-------- 3 files changed, 696 insertions(+), 642 deletions(-) diff --git a/src/modules/11_discipline/components/1_Complaint/Form.vue b/src/modules/11_discipline/components/1_Complaint/Form.vue index 3a39d1898..30888ac93 100644 --- a/src/modules/11_discipline/components/1_Complaint/Form.vue +++ b/src/modules/11_discipline/components/1_Complaint/Form.vue @@ -919,6 +919,7 @@ onMounted(() => { dense outlined hide-bottom-space + :readonly="formData.status !== 'NEW' && formData.status !== ''" v-model="formData.result" :rules="[ (val) => !!val || 'กรุณากรอกผลการตรวจสอบเรื่องร้องเรียน', diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/EditPage.vue b/src/modules/11_discipline/components/2_InvestigateFacts/EditPage.vue index 8ac1109b1..c7e614f2c 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/EditPage.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/EditPage.vue @@ -378,6 +378,21 @@ function emitPerson(data: FormData[]) { }); } +/** ยืนยัน ส่งไปออกคำสั่ง */ +function sentIssue() { + dialogConfirm( + $q, + () => confirmSentIssue(), + "ยืนยันส่งไปสรุปผลการพิจารณา", + "ต้องการยืนยันส่งไปสรุปผลการพิจารณาใช่หรือไม่?" + ); +} + +/** ฟังชั่น ส่งไปออกคำสั่ง*/ +function confirmSentIssue() { + console.log("sent"); +} + /** โหลดข้อมูลเมื่อเข้าหน้านี้ */ onMounted(() => { getData(); @@ -417,7 +432,12 @@ watch( color="public" @click="sentInvestigate" /> - + { });