From af5e60bdba3437415dff17786a0859391c8cec34 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 23 Nov 2023 11:35:48 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20filter=20=20popup=20=E0=B8=A1=E0=B8=B5=E0=B8=A1=E0=B8=B9?= =?UTF-8?q?=E0=B8=A5=E0=B8=AA=E0=B9=88=E0=B8=87=E0=B9=84=E0=B8=9B=E0=B8=AA?= =?UTF-8?q?=E0=B8=B7=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/Popup.vue | 51 +++++++++++++++++-- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/src/modules/11_discipline/components/1_Complaint/Popup.vue b/src/modules/11_discipline/components/1_Complaint/Popup.vue index 5fa2ef2fa..e1e522dc0 100644 --- a/src/modules/11_discipline/components/1_Complaint/Popup.vue +++ b/src/modules/11_discipline/components/1_Complaint/Popup.vue @@ -114,7 +114,8 @@ const visibleColumns = ref([ const selected = ref([]); const inspectionResults = ref(""); -const inputRef = ref(null); +const filter = ref(""); +// const inputRef = ref(null); const initialPagination = ref({ descending: false, @@ -122,8 +123,8 @@ const initialPagination = ref({ }); function onclickSend() { - inputRef.value.validate(); - if (!inputRef.value.hasError && selected.value.length > 0) { + // inputRef.value.validate(); + if (selected.value.length > 0) { dialogConfirm( $q, async () => { @@ -151,16 +152,58 @@ watch([() => props.modal], () => {