ข้อมูลตำแหน่ง:UI+API
This commit is contained in:
parent
9f30a71efe
commit
765a4c94c8
9 changed files with 1069 additions and 16 deletions
|
|
@ -13,6 +13,8 @@ const positionStatus = `${env.API_URI}/metadata/position-status/`;
|
|||
const positionLine = `${env.API_URI}/metadata/position-line/`;
|
||||
const positionExecutive = `${env.API_URI}/metadata/position-executive/`;
|
||||
|
||||
const orgPosType = `${env.API_URI}/org/pos/type/`;
|
||||
const orgPosLevel = `${env.API_URI}/org/pos/level/`;
|
||||
export default {
|
||||
position: `${position}position`,
|
||||
/**
|
||||
|
|
@ -95,4 +97,9 @@ export default {
|
|||
`${positionExecutive}history/${id}`,
|
||||
listPositionExecutivePublished: `${positionExecutive}history/published`,
|
||||
listPositionExecutivePublishedHistory: `${positionExecutive}history/published-history`,
|
||||
|
||||
orgPosType,
|
||||
orgPosTypeId: (id: string) => `${orgPosType}${id}`,
|
||||
orgPosLevel,
|
||||
orgPosLevelId: (id: string) => `${orgPosLevel}${id}`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue