Merge branch 'develop' into devTee
This commit is contained in:
commit
033c666acc
72 changed files with 13774 additions and 3895 deletions
|
|
@ -3,6 +3,7 @@ import env from "../index";
|
|||
const organization = `${env.API_URI}/org`;
|
||||
const orgPos = `${env.API_URI}/org/pos`;
|
||||
const orgProfile = `${env.API_URI}/org/profile`;
|
||||
const orgEmployeePos = `${env.API_URI}/org/employee/pos`;
|
||||
|
||||
export default {
|
||||
/** โครงสร้างอัตรากำลัง*/
|
||||
|
|
@ -60,4 +61,20 @@ export default {
|
|||
activeOrganizationRoot: `${organization}/active/root`,
|
||||
activeOrganizationRootById: (id: string) =>
|
||||
`${organization}/active/root/${id}`,
|
||||
|
||||
/** ข้อมูลตำแหน่งลูกจ้างประจำ*/
|
||||
orgEmployeePos: `${orgEmployeePos}/position`,
|
||||
orgEmployeePosById: (id: string) => `${orgEmployeePos}/position/${id}`,
|
||||
orgEmployeeType: `${orgEmployeePos}/type`,
|
||||
orgEmployeeTypeById: (id: string) => `${orgEmployeePos}/type/${id}`,
|
||||
orgEmployeelevel: `${orgEmployeePos}/level`,
|
||||
orgEmployeelevelById: (id: string) => `${orgEmployeePos}/level/${id}`,
|
||||
|
||||
/** อัตรากำลังลูกจ้างประจำ*/
|
||||
orgSummaryEmp: `${orgEmployeePos}/summary`,
|
||||
orgReportEmp: (report: string) => `${orgEmployeePos}/report/${report}`,
|
||||
orgDeleteProfileEmp: (id: string) => `${orgEmployeePos}/profile/delete/${id}`,
|
||||
orgPosMasterByIdEmp: (id: string) => `${orgEmployeePos}/master/${id}`,
|
||||
orgPosMasterListEmp: `${orgEmployeePos}/master/list`,
|
||||
orgPosMasterEmp: `${orgEmployeePos}/master`,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
import env from "../index";
|
||||
const insignia = `${env.API_URI}/metadata/insignia/`;
|
||||
const insigniaType = `${env.API_URI}/metadata/insignia-type/`;
|
||||
const insigniaOrg = `${env.API_URI}/org/insignia/insignia/`;
|
||||
const insigniaTypeOrg = `${env.API_URI}/org/insignia/insignia-type/`;
|
||||
|
||||
export default {
|
||||
/**
|
||||
|
|
@ -36,4 +38,11 @@ export default {
|
|||
insigniaTypeNewId: (id: string) => `${insigniaType}${id}`,
|
||||
insigniaNewId: (id: string) => `${insignia}${id}`,
|
||||
insigniaSort: (id: string) => `${insignia}sort/${id}`,
|
||||
|
||||
insigniaOrg,
|
||||
insigniaTypeOrg,
|
||||
insigniaTypeNewOrg: `${insigniaOrg}`,
|
||||
insigniaTypeNewIdOrg: (id: string) => `${insigniaOrg}${id}`,
|
||||
insigniaNewIdOrg: (id: string) => `${insigniaOrg}${id}`,
|
||||
insigniaSortOrg: (id: string) => `${insigniaOrg}sort/${id}`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue