add api placement & retire
This commit is contained in:
parent
0116c7fef8
commit
cea4c2d0b5
2 changed files with 28 additions and 1 deletions
|
|
@ -4,6 +4,10 @@ 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`;
|
||||
|
||||
export default {
|
||||
MainDetail: (year: number) => `${placement}/exam/${year}`,
|
||||
|
|
@ -98,4 +102,16 @@ export default {
|
|||
transferUser: `${transfer}/user`,
|
||||
transferUserId: (id: string) => `${transfer}/user/${id}`,
|
||||
transferConfirmId: (id: string) => `${transfer}/confirm/${id}`,
|
||||
|
||||
// ช่วยราชการ
|
||||
placemenHelpGov,
|
||||
|
||||
// ส่งตัวกลับ
|
||||
placemenRepatriation,
|
||||
|
||||
// ขอย้าย
|
||||
placemenRelocation,
|
||||
|
||||
// อื่นๆ
|
||||
placemenOther,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
import env from "../index";
|
||||
const retirement = `${env.API_URI}/retirement`
|
||||
|
||||
const retirementDischarge = `${retirement}/discharge`
|
||||
const retirementExpulsion = `${retirement}/expulsion`
|
||||
const retirementOut = `${retirement}/out`
|
||||
|
||||
export default {
|
||||
profile: (type: string, year: string) => `${retirement}/profile/${type}/${year}`,
|
||||
|
|
@ -22,4 +24,13 @@ export default {
|
|||
resignConfirm: (id: string) => `${retirement}/resign/confirm/${id}`,
|
||||
resignReject: (id: string) => `${retirement}/resign/reject/${id}`,
|
||||
|
||||
// ปลดออก
|
||||
retirementDischarge,
|
||||
|
||||
// ไล่ออก
|
||||
retirementExpulsion,
|
||||
|
||||
// ให้ออก
|
||||
retirementOut
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue