From ca272abf3a29dfb3e9d561dbc48d7dbf05367168 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 6 Aug 2025 11:57:28 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B9=81?= =?UTF-8?q?=E0=B8=AA=E0=B8=94=E0=B8=87=20=E0=B8=81=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=9E=E0=B8=B1=E0=B8=92=E0=B8=99=E0=B8=B2=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B8=9A=E0=B8=B8=E0=B8=84=E0=B8=84=E0=B8=A5=20(Indiv?= =?UTF-8?q?idual=20Development=20Plan)=20=E0=B8=82=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=E0=B8=A5=E0=B8=B9=E0=B8=81=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/registry/api.registry.ts | 2 +- .../detail/Achievement/05_ResultsPerformance.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/registry/api.registry.ts b/src/api/registry/api.registry.ts index 556e10c67..ec7dcce1a 100644 --- a/src/api/registry/api.registry.ts +++ b/src/api/registry/api.registry.ts @@ -222,7 +222,7 @@ export default { employmentHistoryEmployee: (id: string) => `${registryNew}-employee/employment/history/${id}`, - developMentPlan: `${registryNew}/development`, + developMentPlan: (type: string) => `${registryNew}${type}/development`, requestInformationbyType: (type: string, id: string) => `${registryNew}/request-edit/${type}/${id}`, diff --git a/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue b/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue index a041c27d1..d7accda5a 100644 --- a/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue +++ b/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue @@ -389,7 +389,7 @@ async function getDevelop(isLoad?: boolean) { isLoad && showLoader(); await http .get( - config.API.developMentPlan + + config.API.developMentPlan(empType.value) + `/${profileId.value}?page=${paginationIdp.value.page}&pageSize=${ paginationIdp.value.rowsPerPage }&searchKeyword=${filterSearchPlan.value.trim()} @@ -553,7 +553,7 @@ watch( onMounted(async () => { await fetchData(); - !empType.value && (await getDevelop()); + empType.value !== "-temp" && (await getDevelop()); hideLoader(); }); @@ -752,12 +752,12 @@ onMounted(async () => { -
+
การพัฒนารายบุคคล (Individual Development Plan)
-
+