From 1e510c768a37145d550f891444371bd62d7e8053 Mon Sep 17 00:00:00 2001 From: AnandaTon <125332905+anandaAiemvong@users.noreply.github.com> Date: Tue, 22 Aug 2023 12:21:03 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20path=20=E0=B9=84=E0=B8=9B=20id=20questionnair?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/03_leave/views/AddLeave.vue | 155 ++++++++++++------------ 1 file changed, 78 insertions(+), 77 deletions(-) diff --git a/src/modules/03_leave/views/AddLeave.vue b/src/modules/03_leave/views/AddLeave.vue index 7b7df8d..05aaa39 100644 --- a/src/modules/03_leave/views/AddLeave.vue +++ b/src/modules/03_leave/views/AddLeave.vue @@ -10,85 +10,85 @@
-
- - - - - - - - - - - - +
+ + + + + + + + + + + + -
- -
-
+
+ +
+
- +
@@ -153,9 +153,10 @@ const createFormresign = async () => { await http .post(config.API.listResign(), formData) .then((res: any) => { + let data = res.data.result.id // console.log(res); success($q, "บันทึกข้อมูลสำเร็จ") - router.push(`/leave/result`) + router.push(`/leave/result/${data}`) }) .catch((e: any) => { messageError($q, e)