ต่อAPI กลุ่มงาน
This commit is contained in:
parent
974f5d8270
commit
4dfd5a139b
3 changed files with 103 additions and 101 deletions
|
|
@ -2,11 +2,13 @@ import env from "../index";
|
|||
const KPI = `${env.API_URI}/kpi`;
|
||||
const kpiPeriod = `${env.API_URI}/kpi/period`;
|
||||
const kpiEvaluation = `${env.API_URI}/kpi/evaluation`;
|
||||
|
||||
const kpiGroup = `${env.API_URI}/kpi/group`;
|
||||
export default {
|
||||
KPI,
|
||||
/** รอบการประเมินผล*/
|
||||
kpiPeriod: `${kpiPeriod}`,
|
||||
kpiPeriodById: (id: string) => `${kpiPeriod}/${id}`,
|
||||
kpiEvaluation
|
||||
kpiEvaluation,
|
||||
kpiGroup,
|
||||
kpiGroupById: (id: string) => `${kpiGroup}/${id}`
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue