Merge branch 'develop' into devTee

# Conflicts:
#	src/api/KPI/api.kpis.ts
This commit is contained in:
STW_TTTY\stwtt 2024-04-23 16:24:48 +07:00
commit a0da7e0c94
4 changed files with 251 additions and 49 deletions

View file

@ -9,6 +9,7 @@ const KpiCapacity = `${env.API_URI}/kpi/capacity`;
const KpiFile = `${env.API_URI}/salary/file`;
const KpiUser = `${env.API_URI}/kpi/user`;
const kpiAchievement = `${env.API_URI}/kpi/user/achievement`;
export default {
kpiPeriod,
kpiEvaluation,
@ -17,6 +18,10 @@ export default {
KpiCapacity,
file: KpiFile,
kpiAchievement: (type: string) => `${kpiAchievement}/${type}`,
/** ผลสัมฤทธิ์ของงาน*/
fileByFile: (name: string, group: string, id: string, fileName: string) =>
`${url}/file/${name}/${group}/${id}/${fileName}`,