Merge branch 'develop' of github.com:Frappet/bma-ehr-frontend into me
# Conflicts: # src/api/06_retirement/api.retirement.ts # src/modules/05_placement/router.ts
This commit is contained in:
commit
b4ac343685
32 changed files with 5263 additions and 1871 deletions
|
|
@ -4,6 +4,11 @@ const orgTree = `${env.API_URI_ORG_TREE}`;
|
|||
const order = `${env.API_PLACEMENT_URI}`;
|
||||
const receive = `${env.API_PLACEMENT_URI}/placement/Receive`;
|
||||
const transfer = `${placement}/transfer`;
|
||||
const placemenHelpGov = `${placement}/officer`;
|
||||
const placemenRepatriation = `${placement}/repatriation`;
|
||||
const placemenRelocation = `${placement}/relocation`;
|
||||
const placemenOther = `${env.API_URI}/retirement/other`;
|
||||
const placemenAppointment = `${env.API_URI}/retirement/appointment`;
|
||||
|
||||
export default {
|
||||
MainDetail: (year: number) => `${placement}/exam/${year}`,
|
||||
|
|
@ -99,4 +104,27 @@ export default {
|
|||
transferUser: `${transfer}/user`,
|
||||
transferUserId: (id: string) => `${transfer}/user/${id}`,
|
||||
transferConfirmId: (id: string) => `${transfer}/confirm/${id}`,
|
||||
|
||||
|
||||
// แต่งตั้ง-เลื่อน
|
||||
placemenAppointment,
|
||||
|
||||
// ช่วยราชการ
|
||||
placemenHelpGov,
|
||||
officerMain: () => `${placement}/officer`,
|
||||
officerDetail: (id:string) => `${placement}/officer/${id}`,
|
||||
officerMainDelete: (id:string) => `${placement}/officer/${id}`,
|
||||
officerMainReport: () => `${placement}/officer/report`,
|
||||
|
||||
// ส่งตัวกลับ
|
||||
placemenRepatriation,
|
||||
repatriationMain: () => `${placement}/repatriation`,
|
||||
repatriationDetail: (id:string) => `${placement}/repatriation/${id}`,
|
||||
repatriationMainDelete: (id:string) => `${placement}/repatriation/${id}`,
|
||||
repatriationMainReport: () => `${placement}/repatriation/report`,
|
||||
// ขอย้าย
|
||||
placemenRelocation,
|
||||
|
||||
// อื่นๆ
|
||||
placemenOther,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue