From 664e004600fe019e630ad6e86ad177db547693f5 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 3 Nov 2023 10:35:21 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=20UI-=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1=E0=B9=80?= =?UTF-8?q?=E0=B8=A3=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B9=89?= =?UTF-8?q?=E0=B8=AD=E0=B8=87=E0=B9=80=E0=B8=A3=E0=B8=B5=E0=B8=A2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1_Complaint/AddComplaintPage.vue | 112 +++++++++--------- 1 file changed, 54 insertions(+), 58 deletions(-) diff --git a/src/modules/11_discipline/components/1_Complaint/AddComplaintPage.vue b/src/modules/11_discipline/components/1_Complaint/AddComplaintPage.vue index 1dc60ed39..1209995a0 100644 --- a/src/modules/11_discipline/components/1_Complaint/AddComplaintPage.vue +++ b/src/modules/11_discipline/components/1_Complaint/AddComplaintPage.vue @@ -128,12 +128,12 @@ const fileUploadDoc = async (files: any) => { // เลือกระดับการพิจารณา function selectLevel(val: string) { let dayNum = 0; - if (val == "0") { - dayNum = 45; // ปกติ + if (val == "3") { + dayNum = 15; // ด่วนมาก } else if (val == "1") { dayNum = 30; // ด่วน } else { - dayNum = 15; // ด่วนมาก + dayNum = 45; // ปกติ } // วันแจ้งเตือนล่วงหน้า if (formData.dateconsideration) { @@ -144,11 +144,6 @@ function selectLevel(val: string) { formData.datewarn = newDate; } } -watch(formData, () => { - if (formData.considerationLevel !== "") { - selectLevel(formData.considerationLevel); - } -}); // validateForm const complainantTypeRef = ref(null); @@ -233,7 +228,7 @@ function onSubmit() {
-
+
@@ -299,7 +294,7 @@ function onSubmit() {
@@ -315,7 +310,7 @@ function onSubmit() { lazy-rules />
-
+
-
+
-
+ +
+ +
+
+ +
+
-
- -
-
- -
-
-
+
-
+
-
+
-
+
+
บับทึกข้อมูล