From e83cec126f0a9e14f448b31df5b4cebfc73184e3 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 10 Oct 2023 10:22:55 +0700 Subject: [PATCH] =?UTF-8?q?get=20=E0=B9=81=E0=B8=81=E0=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ExitInterview/EditQuestion.vue | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/modules/06_retirement/components/ExitInterview/EditQuestion.vue b/src/modules/06_retirement/components/ExitInterview/EditQuestion.vue index 3cd65f632..616e7ee5e 100644 --- a/src/modules/06_retirement/components/ExitInterview/EditQuestion.vue +++ b/src/modules/06_retirement/components/ExitInterview/EditQuestion.vue @@ -264,19 +264,18 @@ const putData = () => { }; - console.log(body) - // showLoader(); - // http - // .put(config.API.questionExitInterview(), body) - // .then((res) => { - // success($q, "บันทึกข้อมูลสำเร็จ"); - // }) - // .catch((e) => { - // messageError($q, e); - // }) - // .finally(async () => { - // router.push(`/exit-Interview`) - // }); + showLoader(); + http + .put(config.API.questionExitInterview(), body) + .then((res) => { + success($q, "บันทึกข้อมูลสำเร็จ"); + }) + .catch((e) => { + messageError($q, e); + }) + .finally(async () => { + router.push(`/exit-Interview`) + }); }