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 () => { - +