From 023bb8edaeeddbbe479e3d425cd470c186f8ee81 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Tue, 19 Mar 2024 15:15:02 +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=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A8=E0=B9=80=E0=B8=81=E0=B8=B5=E0=B8=A2=E0=B8=A3?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=E0=B8=84=E0=B8=B8=E0=B8=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/registry/api.registry.ts | 9 +- .../Achievement/04_DeclarationHonor.vue | 427 ++++++++++-------- .../interface/request/DeclarationHonor.ts | 28 +- .../interface/response/DeclarationHonor.ts | 24 +- 4 files changed, 270 insertions(+), 218 deletions(-) diff --git a/src/api/registry/api.registry.ts b/src/api/registry/api.registry.ts index f51e1e8a2..1ef2f4673 100644 --- a/src/api/registry/api.registry.ts +++ b/src/api/registry/api.registry.ts @@ -17,7 +17,14 @@ export default { profileNewHonorByProfileId: (profileId: string) => `${registryNew}honor/${profileId}`, profileNewHonorById: (dataId: string) => `${registryNew}honor/${dataId}`, - profileNewHonorHisById: (dataId: string) => `${registryNew}honor/${dataId}`, + profileNewHonorHisById: (dataId: string) => `${registryNew}honor/history/${dataId}`, + + // ผลการประเมินการปฏิบัติราชการ + profileNewAssessments: `${registryNew}assessments`, + profileNewAssessmentsByProfileId: (profileId: string) => + `${registryNew}assessments/${profileId}`, + profileNewAssessmentsById: (dataId: string) => `${registryNew}assessments/${dataId}`, + profileNewAssessmentsHisById: (dataId: string) => `${registryNew}assessments/history/${dataId}`, // การฝึกอบรม profileNewTraining: `${registryNew}training`, diff --git a/src/modules/04_registryNew/components/detail/Achievement/04_DeclarationHonor.vue b/src/modules/04_registryNew/components/detail/Achievement/04_DeclarationHonor.vue index 55a82f3c3..5278cec74 100644 --- a/src/modules/04_registryNew/components/detail/Achievement/04_DeclarationHonor.vue +++ b/src/modules/04_registryNew/components/detail/Achievement/04_DeclarationHonor.vue @@ -1,85 +1,58 @@