แก้ API
This commit is contained in:
parent
c621268010
commit
eef561f91f
3 changed files with 12 additions and 4 deletions
|
|
@ -38,6 +38,9 @@ export default {
|
|||
dataUserDuty: `${profileOrg}/duty/user`,
|
||||
dataUserDutyByType: (type: string) => `${org}/profile${type}/duty/user`,
|
||||
|
||||
dataUserActpositionByType: (type: string) => `${org}/profile${type}/actposition/user`,
|
||||
dataUserAssistanceByType: (type: string) => `${org}/profile${type}/assistance/user`,
|
||||
|
||||
dataUserSalary: `${profileOrg}/salary/user`,
|
||||
dataUserSalaryByType: (type: string) => `${org}/profile${type}/salary/user`,
|
||||
dataUserAssessments: `${profileOrg}/assessments/user`,
|
||||
|
|
@ -87,6 +90,11 @@ export default {
|
|||
dataUserDutyHistoryByType: (emType: string, id: string) =>
|
||||
`${org}/profile${emType}/duty/history/${id}`,
|
||||
|
||||
dataUserActpositionHistoryByType: (emType: string, id: string) =>
|
||||
`${org}/profile${emType}/actposition/history/${id}`,
|
||||
dataUserAssistanceHistoryByType: (emType: string, id: string) =>
|
||||
`${org}/profile${emType}/assistance/history/${id}`,
|
||||
|
||||
dataUserSalaryHistory: (id: string) => `${profileOrg}/salary/history/${id}`,
|
||||
dataUserSalaryHistoryByType: (emType: string, id: string) =>
|
||||
`${org}/profile${emType}/salary/history/${id}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue