From a2a4d2892d47f0ec5422672a4f616f505ff5c53a Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 28 May 2024 13:14:25 +0700 Subject: [PATCH] no message --- .../14_KPI/components/Tab/DialogEvaluate/01_Indicator.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/modules/14_KPI/components/Tab/DialogEvaluate/01_Indicator.vue b/src/modules/14_KPI/components/Tab/DialogEvaluate/01_Indicator.vue index 2e1978601..c0781fd11 100644 --- a/src/modules/14_KPI/components/Tab/DialogEvaluate/01_Indicator.vue +++ b/src/modules/14_KPI/components/Tab/DialogEvaluate/01_Indicator.vue @@ -130,8 +130,6 @@ function onSubmit() { dialogConfirm($q, async () => { try { showLoader(); - console.log(rows.value); - const formData = rows.value.map((e: any) => ({ id: e.id, point: e.point, @@ -146,9 +144,8 @@ function onSubmit() { : numpage.value === 3 ? config.API.kpiAchievementPoint("special") : ""; - await http.post(url, formData).then((res) => { - props.fetchList(); - }); + await http.post(url, formData); + props.fetchList(); success($q, "บันทึกข้อมูลสำเร็จ"); } catch (err) { messageError($q, err);