API การลา ข้าราชการ, ลูกจ้าง
This commit is contained in:
parent
6bde04376f
commit
32dcdc9336
28 changed files with 525 additions and 868 deletions
|
|
@ -80,6 +80,9 @@ export default {
|
|||
addResign: (profileType: string, type: string, id: string) =>
|
||||
`${retirement}/resign${profileType}/officer/add-resign/${type}/${id}`,
|
||||
|
||||
addResignCancel: (profileType: string, type: string, id: string) =>
|
||||
`${retirement}/resign${profileType}/officer-cancel/add-resign/${type}/${id}`,
|
||||
|
||||
sendApproveRetirement: (type: string, id: string) =>
|
||||
`${retirement}/resign${type}/admin/approve/officer/${id}`,
|
||||
commanderApproveRetirement: (
|
||||
|
|
@ -88,4 +91,17 @@ export default {
|
|||
typeApprove: string,
|
||||
path: string = ""
|
||||
) => `${retirement}/resign${type}/admin/${typeApprove}${path}/${id}`,
|
||||
|
||||
// รายการยกเลิกการลาออก
|
||||
// สำหรับเจ้าหน้าที่
|
||||
officerCancelResign: (typeEmp: string, id: string) =>
|
||||
`${retirement}/resign${typeEmp}/admin-cancel/approve/officer/${id}`,
|
||||
|
||||
// สำหรับผู้บังคับบัญชา
|
||||
comanderCancelResign: (typeEmp: string, action: string, id: string) =>
|
||||
`${retirement}/resign${typeEmp}/admin-cancel/${action}/comander/${id}`,
|
||||
|
||||
// สำหรับผู้มีอำนาจ
|
||||
approverCancelResign: (typeEmp: string, action: string, id: string) =>
|
||||
`${retirement}/resign${typeEmp}/admin-cancel/${action}/${id}`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue