From 0d5db849140d573494164faa7747094a460174f8 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Wed, 13 Sep 2023 19:24:42 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=20pop-up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ExitInterview/exitMain.vue | 2 +- .../components/4_Allocate/DialogForm.vue | 43 ++++++++----------- 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/src/modules/06_retirement/components/ExitInterview/exitMain.vue b/src/modules/06_retirement/components/ExitInterview/exitMain.vue index 788fb5f45..1919fa77f 100644 --- a/src/modules/06_retirement/components/ExitInterview/exitMain.vue +++ b/src/modules/06_retirement/components/ExitInterview/exitMain.vue @@ -590,7 +590,7 @@ const saveAppoint = async () => { :close="closeModal" /> - +
(null); //form data input const mixin = useCounterMixin(); -const { dialogConfirm,dialogMessageNotify } = mixin; +const { dialogConfirm, dialogMessageNotify } = mixin; const router = useRouter(); const routeName = router.currentRoute.value.name; const amount = ref(); @@ -46,37 +47,23 @@ const clickSave = () => { myForm.value.validate().then(async (success) => { if (success) { dialogConfirm($q, () => props.save(grandCross.value, amount.value)); - }else { - dialogMessageNotify($q,"กรุณาข้อมูลให้ครบ") + } else { + dialogMessageNotify($q, "กรุณาข้อมูลให้ครบ"); } - }) + }); } }; - -