ทะเบียนประวัติลูกจ้าง popup กำหนดตำแหน่ง

This commit is contained in:
Thanit Konmek 2023-07-24 14:41:52 +07:00
parent 1b4465bf36
commit 1a4163e76a
5 changed files with 366 additions and 20 deletions

View file

@ -10,7 +10,7 @@ import env from "../index";
const organizationPath = `${env.API_URI_ORG_SERVICE}/Organization/`;
const postionMasterPath = `${env.API_URI_ORG_SERVICE}/PositionMaster`;
const organizationPosition = `${env.API_URI_ORG_SERVICE}/OrganizationPosition/`;
const organizationEmployeePosition = `${env.API_URI_ORG_EMPLOYEE_SERVICE}/organization-employee/`;
const organizationEmployee = `${env.API_URI_ORG_EMPLOYEE_SERVICE}/organization-employee/`;
const report = `${env.API_URI}/report/organization/`;
@ -84,7 +84,9 @@ export default {
getPositionNumberIdByOcId: (OcId: string) =>
`${postionMasterPath}/position-number/Oc/${OcId}`,
organizationEmployeePosition: `${organizationEmployeePosition}`,
organizationEmployeePositionId: (id: string) =>
`${organizationEmployeePosition}${id}`,
organizationEmployee: `${organizationEmployee}`,
organizationEmployeeId: (id: string) => `${organizationEmployee}${id}`,
organizationEmployeePositionId: (profileId: string) =>
`${organizationEmployee}position/${profileId}`,
};