updated kpi

This commit is contained in:
Warunee Tamkoo 2024-06-26 17:07:01 +07:00
parent 8fb195cca7
commit 7538d21364
3 changed files with 72 additions and 27 deletions

View file

@ -15,11 +15,10 @@ const KpiUser = `${env.API_URI}/kpi/user`;
const kpiAchievement = `${env.API_URI}/kpi/user/achievement`;
const kpiReason = `${env.API_URI}/kpi/reason`;
// const placementKeycloak = `${env.API_URI}/placement/officer/keycloak`;
const placementKeycloak = `${env.API_URI}/placement/officer/profileId`;
// const orgPosition = `${env.API_URI}/org/profile/keycloak/position `;
const orgPosition = `${env.API_URI}/org/profile/profileid/position`;
const orgPosition = `${env.API_URI}/org/profile/profileid/position`;
export default {
kpiPeriod,
kpiEvaluation,
@ -48,9 +47,13 @@ export default {
/**ประเมิน*/
kpiAchievementDevelop: `${kpiAchievement}/development`,
kpiCommentP:(typP:string,type:string,role:string,id:string)=>`${kpiReason}/${typP}/${type}/${role}/${id}`,
kpiCommentP: (typP: string, type: string, role: string, id: string) =>
`${kpiReason}/${typP}/${type}/${role}/${id}`,
placementKeycloak,
orgPosition,
sendToCommander:`${KpiUser}/evaluation/admin/change-status`
sendToCommander: `${KpiUser}/evaluation/admin/change-status`,
sendToSummary: (id: string) => `${kpiEvaluation}/summary/${id}`,
updatePoint: (id: string) => `${kpiEvaluation}/point/${id}`,
openPoint: (id: string) => `${kpiEvaluation}/open/${id}`,
};