fixing bug
This commit is contained in:
parent
bd0835b0f1
commit
72dd92ff54
3 changed files with 26 additions and 8 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import env from "../index";
|
||||
const KPI = `${env.API_URI}/kpi`;
|
||||
const kpiPeriod = `${env.API_URI}/kpi/period`;
|
||||
const kpiEvaluation = `${env.API_URI}/kpi/user/evaluation`;
|
||||
const kpiEvaluation = `${env.API_URI}/kpi/evaluation`;
|
||||
const kpiPlan = `${env.API_URI}/kpi/plan`;
|
||||
const kpiRole = `${env.API_URI}/kpi/role`;
|
||||
const kpiSpecial = `${env.API_URI}/kpi/special`;
|
||||
const KpiCapacity = `${env.API_URI}/kpi/capacity`;
|
||||
const kpiCapacity = `${env.API_URI}/kpi/capacity`;
|
||||
const KpiFile = `${env.API_URI}/salary/file`;
|
||||
const KpiEvaluationInfo = `${env.API_URI}/kpi/evaluation`;
|
||||
const Kpiorg = `${env.API_URI}/org/profile/commander`;
|
||||
|
|
@ -16,16 +16,25 @@ const kpiReason = `${env.API_URI}/kpi/reason`;
|
|||
|
||||
const urlFile = `${env.API_URI}/salary`;
|
||||
|
||||
const kpiGroup = `${env.API_URI}/kpi/group`;
|
||||
const kpiLink = `${env.API_URI}/kpi/link`;
|
||||
|
||||
export default {
|
||||
KPI,
|
||||
/** รอบการประเมินผล*/
|
||||
kpiPeriod,
|
||||
kpiPeriodById: (id: string) => `${kpiPeriod}/${id}`,
|
||||
|
||||
kpiEvaluation,
|
||||
kpiPlan,
|
||||
kpiPlanById: (id: string) => `${kpiPlan}/${id}`,
|
||||
|
||||
/** role */
|
||||
kpiRole,
|
||||
kpiRoleMainList: `${KPI}/role`,
|
||||
|
||||
kpiSpecial,
|
||||
KpiCapacity,
|
||||
kpiCapacity,
|
||||
KpiFile: KpiFile,
|
||||
|
||||
kpiAchievement: (type: string) => `${kpiAchievement}/${type}`,
|
||||
|
|
@ -47,4 +56,13 @@ export default {
|
|||
|
||||
kpiCommentP: (typP: string, type: string, role: string, id: string) =>
|
||||
`${kpiReason}/${typP}/${type}/${role}/${id}`,
|
||||
|
||||
kpiGroup,
|
||||
kpiGroupById: (id: string) => `${kpiGroup}/${id}`,
|
||||
|
||||
/** สมรรถนะ */
|
||||
|
||||
kpiLink,
|
||||
|
||||
profilePosition: () => `${env.API_URI}/org/profile/keycloak/position`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue