From 5dd177f458d111eff7375acd7c1a5884d314b4ec Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 15 Nov 2024 10:24:53 +0700 Subject: [PATCH] fix key sys --- src/components/Workflow/Main.vue | 2 +- .../06_retirement/components/resign/ResignByid.vue | 2 +- .../06_retirement/components/resignEMP/ResignByid.vue | 2 +- src/modules/06_retirement/router.ts | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/Workflow/Main.vue b/src/components/Workflow/Main.vue index 6dd412840..a9635abc5 100644 --- a/src/components/Workflow/Main.vue +++ b/src/components/Workflow/Main.vue @@ -53,7 +53,7 @@ const typeSelectPerson = ref(""); //รายการระบบที่ต้องการ disable step 3 หรือรองสุดท้าย const displayArray = [ "REGISTRY_PROFILE", - "SYS_RETIREMENT", + "SYS_RESIGN", "SYS_LEAVE_LIST", ]; diff --git a/src/modules/06_retirement/components/resign/ResignByid.vue b/src/modules/06_retirement/components/resign/ResignByid.vue index 600de89b2..fb9e170f3 100644 --- a/src/modules/06_retirement/components/resign/ResignByid.vue +++ b/src/modules/06_retirement/components/resign/ResignByid.vue @@ -1335,7 +1335,7 @@ onMounted(async () => { ref="workflowRef" v-model:is-check-data="isCheckData" :id="id" - sys-name="SYS_RETIREMENT" + sys-name="SYS_RESIGN" /> diff --git a/src/modules/06_retirement/components/resignEMP/ResignByid.vue b/src/modules/06_retirement/components/resignEMP/ResignByid.vue index e1073f294..6df24ab1a 100644 --- a/src/modules/06_retirement/components/resignEMP/ResignByid.vue +++ b/src/modules/06_retirement/components/resignEMP/ResignByid.vue @@ -1331,7 +1331,7 @@ onMounted(async () => { ref="workflowRef" v-model:is-check-data="isCheckData" :id="id" - sys-name="SYS_RETIREMENT" + sys-name="SYS_RESIGN" /> --> diff --git a/src/modules/06_retirement/router.ts b/src/modules/06_retirement/router.ts index ba71afaf6..05a8c0926 100644 --- a/src/modules/06_retirement/router.ts +++ b/src/modules/06_retirement/router.ts @@ -50,7 +50,7 @@ export default [ component: Main, meta: { Auth: true, - Key: "SYS_RETIREMENT", + Key: "SYS_RESIGN", Role: "STAFF", }, }, @@ -60,7 +60,7 @@ export default [ component: Listretirement, meta: { Auth: true, - Key: "SYS_RETIREMENT", + Key: "SYS_RESIGN", Role: "STAFF", }, }, @@ -70,7 +70,7 @@ export default [ component: ListretirementDetail, meta: { Auth: true, - Key: "SYS_RETIREMENT", + Key: "SYS_RESIGN", Role: "STAFF", }, }, @@ -80,7 +80,7 @@ export default [ component: Listretirement, meta: { Auth: true, - Key: "SYS_RETIREMENT", + Key: "SYS_RESIGN", Role: "STAFF", }, },