แก้ไฟล์ split2
This commit is contained in:
parent
e1a25d437d
commit
a66f6bfe14
4 changed files with 154 additions and 75 deletions
|
|
@ -5,7 +5,13 @@ import env from "../index";
|
|||
const profile = `${env.API_URI_PROFILE_SERVICE}/profile/`;
|
||||
const report = `${env.API_REPORT_URI}/report/profile/`;
|
||||
|
||||
const organizationRoot = `${env.API_URI}/profile/organization/list/root`;
|
||||
|
||||
export default {
|
||||
/**
|
||||
* api สังกัด ทะเบียนประวัติเงินเดือน
|
||||
*/
|
||||
organizationRoot,
|
||||
profileUser: `${profile}user`,
|
||||
profileValidateId: (profileId: string) => `${profile}validate/${profileId}`,
|
||||
profilePaperDownloadId: (id: string) => `${profile}paper/download/${id}`,
|
||||
|
|
@ -110,9 +116,11 @@ export default {
|
|||
|
||||
profileSwapDiscipline: `${profile}swap_discipline`,
|
||||
|
||||
profileLeaveId: (profileId: string) => `${profile}leave/${profileId}`,
|
||||
profileLeaveId: (leaveId: string) => `${profile}leave/${leaveId}`,
|
||||
profileLeaveHisId: (profileId: string) =>
|
||||
`${profile}leave/history/${profileId}`,
|
||||
profileLeaveTotalId: (profileId: string) =>
|
||||
`${profile}leave/total/${profileId}`,
|
||||
|
||||
profileSalaryId: (profileId: string) => `${profile}salary/${profileId}`,
|
||||
profileSalaryHisId: (profileId: string) =>
|
||||
|
|
@ -122,6 +130,13 @@ export default {
|
|||
profileSalaryCopyId: (profileId: string) =>
|
||||
`${profile}salary-copy/${profileId}`,
|
||||
|
||||
// ************************************
|
||||
profileSalaryEmployeeId: (profileId: string) =>
|
||||
`${profile}salary/employee/${profileId}`,
|
||||
profileSalaryEmployeeHisId: (profileId: string) =>
|
||||
`${profile}salary/employee/history/${profileId}`,
|
||||
// ************************************
|
||||
|
||||
profileInforId: (profileId: string) => `${profile}information/${profileId}`,
|
||||
profileInforHisId: (profileId: string) =>
|
||||
`${profile}information/history/${profileId}`,
|
||||
|
|
@ -158,4 +173,11 @@ export default {
|
|||
|
||||
profileReportId: (profileId: string) => `${report}kk1/${profileId}`,
|
||||
profileKp7ShortId: (profileId: string) => `${report}kp7-short/${profileId}`,
|
||||
|
||||
profileChangeNameId: (profileId: string) =>
|
||||
`${profile}changeName/${profileId}`,
|
||||
profileChangeNameHisId: (profileId: string) =>
|
||||
`${profile}changeName/history/${profileId}`,
|
||||
|
||||
profileCitizenId: (citizenId: string) => `${profile}citizenId/${citizenId}`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue