2024-04-22 17:25:58 +07:00
|
|
|
import env from "../index";
|
|
|
|
|
|
2024-04-22 18:11:24 +07:00
|
|
|
const url = `${env.API_URI}/salary`;
|
2024-04-22 17:25:58 +07:00
|
|
|
const kpiPeriod = `${env.API_URI}/kpi/period`;
|
|
|
|
|
const kpiEvaluation = `${env.API_URI}/kpi/user/evaluation`;
|
|
|
|
|
const kpiPlan = `${env.API_URI}/kpi/plan`;
|
2024-04-22 17:34:56 +07:00
|
|
|
const KpiCapacity = `${env.API_URI}/kpi/capacity`;
|
|
|
|
|
const KpiFile = `${env.API_URI}/salary/file`;
|
2024-04-22 17:25:58 +07:00
|
|
|
export default {
|
|
|
|
|
kpiPeriod,
|
|
|
|
|
kpiEvaluation,
|
|
|
|
|
kpiPlan,
|
2024-04-22 17:34:56 +07:00
|
|
|
KpiCapacity,
|
|
|
|
|
file: KpiFile,
|
2024-04-22 18:11:24 +07:00
|
|
|
|
|
|
|
|
fileByFile: (name: string, group: string, id: string, fileName: string) =>
|
|
|
|
|
`${url}/file/${name}/${group}/${id}/${fileName}`,
|
2024-04-22 17:25:58 +07:00
|
|
|
};
|