From aa786793ac53b5b99b9c0b73c247d35c2a6dd9ff Mon Sep 17 00:00:00 2001 From: AnandaTon <125332905+anandaAiemvong@users.noreply.github.com> Date: Thu, 27 Jul 2023 18:26:28 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=20route=20registryEmployeeEdit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/08_registryEmployee/router.ts | 2 +- src/modules/08_registryEmployee/views/Main.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/08_registryEmployee/router.ts b/src/modules/08_registryEmployee/router.ts index ce8e0d3c2..67a4cc826 100644 --- a/src/modules/08_registryEmployee/router.ts +++ b/src/modules/08_registryEmployee/router.ts @@ -47,7 +47,7 @@ export default [ }, }, { - path: "/registryEmployee/Edit/:Id", + path: "/registryEmployee/edit/:Id", name: "registryEmployeeEdit", component: EditDetail, meta: { diff --git a/src/modules/08_registryEmployee/views/Main.vue b/src/modules/08_registryEmployee/views/Main.vue index c89d46bee..edd6bba6f 100644 --- a/src/modules/08_registryEmployee/views/Main.vue +++ b/src/modules/08_registryEmployee/views/Main.vue @@ -1355,7 +1355,7 @@ const clickAdd = () => { // ดูรายการแก้ไขรายชื่อ const redirectToPage = (profileId?: string) => { - router.push(`/registryEmployee/Edit/${profileId}`); + router.push(`/registryEmployee/edit/${profileId}`); }; const editDetail = async (row: any) => { await getPosition(row.id);