From 4b4b293ee7575254b4045ea256e394d465d139fd Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 19 Dec 2024 17:41:59 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=80=E0=B9=80?= =?UTF-8?q?=E0=B8=AA=E0=B8=94=E0=B8=87=E0=B8=9C=E0=B8=A5=20=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=9E=E0=B8=B1=E0=B8=92=E0=B8=99=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=9A=E0=B8=B8=E0=B8=84=E0=B8=84?= =?UTF-8?q?=E0=B8=A5=20(Individual=20Development=20Plan)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/15_development/api.development.ts | 4 + .../Achievement/05_ResultsPerformance.vue | 5 +- .../detail/Achievement/DialogDevelopmance.vue | 158 +++++++++++------- 3 files changed, 101 insertions(+), 66 deletions(-) diff --git a/src/api/15_development/api.development.ts b/src/api/15_development/api.development.ts index ef86028b3..7d0960b58 100644 --- a/src/api/15_development/api.development.ts +++ b/src/api/15_development/api.development.ts @@ -49,4 +49,8 @@ export default { /**API ยุทธศาสตร์*/ devStrategy, + + /** IDP */ + developmentReQuestIDP: (id: string) => `${developmentOrg}/profile/development/registry/OFFICER/${id}`, + developmentIDP: (id: string) => `${development}/main/registry/OFFICER/${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 95086984b..547410074 100644 --- a/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue +++ b/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue @@ -38,7 +38,7 @@ const profileId = ref( const empType = ref(pathRegistryEmp(route.name?.toString() ?? "")); const id = ref(""); //id ที่ต้องการแก้ไข - +const typeIDP = ref('') const isEdit = ref(false); //สถานะการแก้ไขข้อมูล const modal = ref(false); //แสดง popup ผลการประเมินการปฏิบัติราชการ const modalDevelop = ref(false); //แสดง popup การพัฒนารายบุคคล @@ -553,6 +553,7 @@ function clearData() { function openDialogDevelop(data: any) { modalDevelop.value = true; kpiDevelopmentId.value = data.kpiDevelopmentId; + typeIDP.value = data.type } function updatePaginationIdp(newPagination: any) { @@ -1272,7 +1273,7 @@ onMounted(async () => { - +