From 6dd5ed62dfae41477a608aca223953636c755501 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Tue, 29 Oct 2024 14:51:20 +0700 Subject: [PATCH 1/6] fixing code assign --- src/modules/13_salary/views/04_salaryLists.vue | 2 +- src/modules/13_salary/views/05_salaryListsEmployee.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/13_salary/views/04_salaryLists.vue b/src/modules/13_salary/views/04_salaryLists.vue index f7ad08113..a7d39c714 100644 --- a/src/modules/13_salary/views/04_salaryLists.vue +++ b/src/modules/13_salary/views/04_salaryLists.vue @@ -365,7 +365,7 @@ function filterSelector(val: string, update: Function, refData: string) { async function fetchCheckisOfficer() { http - .get(config.API.workflowKeycloakSystem(`SALARY_OFFICER`)) + .get(config.API.workflowKeycloakSystem(`SYS_SALARY_OFFICER`)) .then((res) => { const data = res.data.result; isOfficer.value = data.isOfficer; diff --git a/src/modules/13_salary/views/05_salaryListsEmployee.vue b/src/modules/13_salary/views/05_salaryListsEmployee.vue index 8ca8c19c3..f18d03b44 100644 --- a/src/modules/13_salary/views/05_salaryListsEmployee.vue +++ b/src/modules/13_salary/views/05_salaryListsEmployee.vue @@ -363,7 +363,7 @@ function filterSelector(val: string, update: Function, refData: string) { async function fetchCheckisOfficer() { http - .get(config.API.workflowKeycloakSystem(`SALARY_EMP`)) + .get(config.API.workflowKeycloakSystem(`SYS_WAGE`)) .then((res) => { const data = res.data.result; isOfficer.value = data.isOfficer; From 577d2d818219688fd922e97370415889ed0a29ca Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 29 Oct 2024 14:57:49 +0700 Subject: [PATCH 2/6] =?UTF-8?q?ui=20=E0=B8=88=E0=B8=B1=E0=B8=94=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99?= =?UTF-8?q?=E0=B9=88=E0=B8=87=E0=B8=95=E0=B8=B4=E0=B8=94=E0=B9=80=E0=B8=87?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=99=E0=B9=84=E0=B8=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../19_condition/components/DialogCondition.vue | 2 +- src/modules/19_condition/view/Main.vue | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/modules/19_condition/components/DialogCondition.vue b/src/modules/19_condition/components/DialogCondition.vue index 6401d18f8..531c588cd 100644 --- a/src/modules/19_condition/components/DialogCondition.vue +++ b/src/modules/19_condition/components/DialogCondition.vue @@ -59,7 +59,7 @@ function onSubmit() { /> - +
([ { name: "isCondition", align: "left", - label: "ตำแหน่งติดเงื่อนไง", + label: "ตำแหน่งติดเงื่อนไข", sortable: false, field: "isCondition", headerStyle: "font-size: 14px", @@ -256,7 +256,18 @@ async function fetchDataTable() { const data = await res.data.result; totalRow.value = data.total; totalPage.value = Math.ceil(data.total / pageSize.value); - rows.value = data.data; + rows.value = data.data.map((e: any) => ({ + ...e, + profilePosition: e.profilePosition + ? e.profilePosition + : e.positions[0].positionName, + profilePostype: e.profilePostype + ? e.profilePostype + : e.positions[0].posTypeName, + profilePoslevel: e.profilePoslevel + ? e.profilePoslevel + : e.positions[0].posTypeName, + })); }) .catch((err) => { messageError($q, err); From 85047393edd16f3dde5458c2cf6f9404be03402a Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 29 Oct 2024 15:20:11 +0700 Subject: [PATCH 3/6] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=20workflow=20REGISTRY=5FIDP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/requestEdit/Page01_Detail.vue | 407 +++++++------- .../requestEdit/Page02_DetailIDP.vue | 503 ++++++++++++++++++ .../requestEdit/requestEditPage.vue | 498 ----------------- src/modules/04_registryPerson/router.ts | 2 +- 4 files changed, 710 insertions(+), 700 deletions(-) create mode 100644 src/modules/04_registryPerson/components/requestEdit/Page02_DetailIDP.vue delete mode 100644 src/modules/04_registryPerson/components/requestEdit/requestEditPage.vue diff --git a/src/modules/04_registryPerson/components/requestEdit/Page01_Detail.vue b/src/modules/04_registryPerson/components/requestEdit/Page01_Detail.vue index 54a70a4c2..3f97fda1c 100644 --- a/src/modules/04_registryPerson/components/requestEdit/Page01_Detail.vue +++ b/src/modules/04_registryPerson/components/requestEdit/Page01_Detail.vue @@ -233,7 +233,7 @@ onMounted(async () => {