From 35b08b1b47ff0d1229d40ee8d023b104df3658a5 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 3 Sep 2024 15:49:14 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=20=3D=3D>=20=20=E0=B8=9B=E0=B8=A3=E0=B8=B1?= =?UTF-8?q?=E0=B8=9A=20Path=20API=20histiory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/registry/api.registry.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/api/registry/api.registry.ts b/src/api/registry/api.registry.ts index d2e3de68a..a127aa99a 100644 --- a/src/api/registry/api.registry.ts +++ b/src/api/registry/api.registry.ts @@ -44,7 +44,7 @@ export default { profileNewInsignById: (dataId: string, type: string) => `${registryNew}${type}/insignia/${dataId}`, profileNewInsignHisById: (dataId: string, type: string) => - `${registryNew}${type}/insignia/history/${dataId}`, + `${registryNew}${type}/insignia/admin/history/${dataId}`, // ประกาศเกียรติคุณ profileNewHonor: (type: string) => `${registryNew}${type}/honor`, @@ -53,7 +53,7 @@ export default { profileNewHonorById: (dataId: string, type: string) => `${registryNew}${type}/honor/${dataId}`, profileNewHonorHisById: (dataId: string, type: string) => - `${registryNew}${type}/honor/history/${dataId}`, + `${registryNew}${type}/honor/admin/history/${dataId}`, // ผลการประเมินการปฏิบัติราชการ profileNewAssessments: (type: string) => `${registryNew}${type}/assessments`, @@ -62,7 +62,7 @@ export default { profileNewAssessmentsById: (dataId: string, type: string) => `${registryNew}${type}/assessments/${dataId}`, profileNewAssessmentsHisById: (dataId: string, type: string) => - `${registryNew}${type}/assessments/history/${dataId}`, + `${registryNew}${type}/assessments/admin/history/${dataId}`, // การฝึกอบรม profileNewTraining: (type: string) => `${registryNew}${type}/training`, @@ -71,7 +71,7 @@ export default { profileNewTrainingByTrainingId: (trainingId: string, type: string) => `${registryNew}${type}/training/${trainingId}`, profileNewTrainingHisByTrainingId: (trainingId: string, type: string) => - `${registryNew}${type}/training/history/${trainingId}`, + `${registryNew}${type}/training/admin/history/${trainingId}`, // ประวัติการศึกษา profileNewEducation: (type: string) => `${registryNew}${type}/educations`, @@ -80,7 +80,7 @@ export default { profileNewEducationByEducationId: (educationId: string, type: string) => `${registryNew}${type}/educations/${educationId}`, profileNewEducationHisByEducationId: (educationsId: string, type: string) => - `${registryNew}${type}/educations/history/${educationsId}`, + `${registryNew}${type}/educations/admin/history/${educationsId}`, // ความสามารถพิเศษ profileNewAbility: (type: string) => `${registryNew}${type}/ability`, @@ -89,7 +89,7 @@ export default { profileNewAbilityByAbilityId: (abilityId: string, type: string) => `${registryNew}${type}/ability/${abilityId}`, profileNewAbilityHisByAbilityId: (abilityId: string, type: string) => - `${registryNew}${type}/ability/history/${abilityId}`, + `${registryNew}${type}/ability/admin/history/${abilityId}`, // ใบอนุญาตประกอบวิชาชีพ profileNewCertificate: (type: string) => `${registryNew}${type}/certificate`, @@ -100,7 +100,7 @@ export default { profileNewCertificateHisByCertificateId: ( certificateId: string, type: string - ) => `${registryNew}${type}/certificate/history/${certificateId}`, + ) => `${registryNew}${type}/certificate/admin/history/${certificateId}`, // ข้อมูลอื่นๆ profileNewOther: (type: string) => `${registryNew}${type}/other`, @@ -109,7 +109,7 @@ export default { profileNewOtherById: (dataId: string, type: string) => `${registryNew}${type}/other/${dataId}`, profileNewOtherHisById: (dataId: string, type: string) => - `${registryNew}${type}/other/history/${dataId}`, + `${registryNew}${type}/other/admin/history/${dataId}`, // ข้อมูลครอบครัว profileNewFamily: (type: string) => `${registryNew}${type}/family`, @@ -127,7 +127,7 @@ export default { profileNewDisciplineByDisciplineId: (disciplineId: string, type: string) => `${registryNew}${type}/discipline/${disciplineId}`, profileNewDisciplineHisByDisciplineId: (disciplineId: string, type: string) => - `${registryNew}${type}/discipline/history/${disciplineId}`, + `${registryNew}${type}/discipline/admin/history/${disciplineId}`, disciplineListCard: (profileId: string, type: string) => `${registryNew}${type}/discipline/admin/${profileId}`, // noPermission @@ -138,7 +138,7 @@ export default { profileNewDutyByDutyId: (dutyId: string, type: string) => `${registryNew}${type}/duty/${dutyId}`, profileNewDutyHisByDutyId: (dutyId: string, type: string) => - `${registryNew}${type}/duty/history/${dutyId}`, + `${registryNew}${type}/duty/admin/history/${dutyId}`, //ข้อมูลราชการ profileNewGovernment: (type: string) => `${registryNew}${type}/government`, @@ -154,7 +154,7 @@ export default { profileNewLeaveById: (id: string, type: string) => `${registryNew}${type}/leave/${id}`, profileNewLeaveHistory: (id: string, type: string) => - `${registryNew}${type}/leave/history/${id}`, + `${registryNew}${type}/leave/admin/history/${id}`, profileCheckDate: () => `${env.API_URI}/leave/user/check`, profileNewLeaveType: () => `${env.API_URI}/leave/type`, leaveListCard: (id: string, type: string) => @@ -165,7 +165,7 @@ export default { profileListSalaryNew: (id: string, type: string) => `${registryNew}${type}/salary/${id}`, profileListSalaryHistoryNew: (profileId: string, type: string) => - `${registryNew}${type}/salary/history/${profileId}`, + `${registryNew}${type}/salary/admin/history/${profileId}`, profileSalarySwapNew: (type: string, id: string, type2: string) => `${registryNew}${type2}/salary/swap/${type}/${id}`, salaryListCard: (id: string, type: string) =>