2024-02-15 11:46:25 +07:00
|
|
|
import env from "../index";
|
2024-04-05 17:54:56 +07:00
|
|
|
const KPI = `${env.API_URI}/kpi`;
|
|
|
|
|
const kpiPeriod = `${env.API_URI}/kpi/period`;
|
2024-04-18 18:09:32 +07:00
|
|
|
const kpiEvaluation = `${env.API_URI}/kpi/evaluation`;
|
2024-04-19 11:36:48 +07:00
|
|
|
const kpiGroup = `${env.API_URI}/kpi/group`;
|
2024-04-19 14:34:15 +07:00
|
|
|
const kpiPlan = `${env.API_URI}/kpi/plan`;
|
2024-04-19 14:38:05 +07:00
|
|
|
const kpiCapacity = `${env.API_URI}/kpi/capacity`;
|
2024-02-15 11:46:25 +07:00
|
|
|
export default {
|
|
|
|
|
KPI,
|
2024-04-05 17:54:56 +07:00
|
|
|
/** รอบการประเมินผล*/
|
|
|
|
|
kpiPeriod: `${kpiPeriod}`,
|
|
|
|
|
kpiPeriodById: (id: string) => `${kpiPeriod}/${id}`,
|
2024-04-19 14:15:08 +07:00
|
|
|
kpiEvaluation,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** role */
|
2024-04-19 14:19:06 +07:00
|
|
|
kpiRoleMainList:`${KPI}/role`,
|
|
|
|
|
|
|
|
|
|
|
2024-04-19 11:36:48 +07:00
|
|
|
kpiGroup,
|
2024-04-19 14:34:15 +07:00
|
|
|
kpiGroupById: (id: string) => `${kpiGroup}/${id}`,
|
|
|
|
|
kpiPlan,
|
|
|
|
|
kpiPlanById: (id: string) => `${kpiPlan}/${id}`,
|
2024-04-19 14:38:05 +07:00
|
|
|
|
|
|
|
|
/** สมรรถนะ */
|
|
|
|
|
kpiCapacity,
|
2024-02-15 11:46:25 +07:00
|
|
|
};
|