From 7b5ec07d41f584661aecb76e221ff3416d7eecc2 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Thu, 7 Dec 2023 15:48:12 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=9F=E0=B8=AD?= =?UTF-8?q?=E0=B8=A3=E0=B9=8C=E0=B8=A1=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=AA?= =?UTF-8?q?=E0=B8=A7=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CalandarDialog.vue | 2 +- .../3_InvestigateDisciplinary/Form.vue | 502 +++++++++--------- 2 files changed, 256 insertions(+), 248 deletions(-) diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/CalandarDialog.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/CalandarDialog.vue index 181dd0e97..1be91d0ad 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/CalandarDialog.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/CalandarDialog.vue @@ -222,7 +222,7 @@ function updateDateMonth(date: Date) { - ปฎิทินแสดงวันที่สืบสวน + ปฎิทินแสดงวันที่สอบสวน (""); const isSave = ref(false); // มีการแก้ไขรอบันทึก const isReadonly = ref(false); // อ่านได้อย่างเดียว +const extendStatus = ref(false); function toggleModal() { modalPerson.value = !modalPerson.value; @@ -189,8 +190,6 @@ function validateForm() { } if (hasError.every((result) => result === true)) { onSubmit(); - isSave.value = false; - formData.extendStatus = false; } } @@ -220,6 +219,8 @@ function onSubmit() { } emit("submit:disciplinary", formData); + isSave.value = false; + extendStatus.value = false; }, "ยืนยันการบันทึกข้อมูล", "ต้องการยืนยันการบันทึกข้อมูลนี้หรือไม่ ?" @@ -787,257 +788,260 @@ onMounted(async () => {
- -
-
- วันที่สืบสวน - +
+
+ วันที่สอบสวน + +
+ +
+ + ปฏิทิน + +
- -
- - ปฏิทิน - -
-
-
-
-
-
-
-
- - -
+
+
+
+
+
+
+ + +
-
- - - - - -
-
- - - - - +
+ + + + + +
+
+ + + + + +
-
- -
- - - - {{ e.name }} ({{ e.daysExtend }} วัน) -

- {{ date2Thai(e.dateStart) }} - - {{ date2Thai(e.dateEnd) }} -

-
-
-
+ +
+ + + + {{ e.name }} ({{ e.daysExtend }} วัน) +

+ {{ date2Thai(e.dateStart) }} - + {{ date2Thai(e.dateEnd) }} +

+
+
+
+
-
- -
+ +
{ @returnDirector="returnDirector" /> - + \ No newline at end of file +