| | |
| | | import type { PageParam, PageResult } from '#/packages/effects/request/src'; |
| | | |
| | | import { requestClient } from '#/api/request'; |
| | | import type { SystemStorageApi } from '#/api/system/storage'; |
| | | |
| | | export namespace HrmResignationApi { |
| | | /** 离职申请 */ |
| | |
| | | handoverUserId?: number; |
| | | handoverUserName?: string; |
| | | handoverStatus?: number; |
| | | fileUrl?: string; |
| | | blobIds?: number[]; |
| | | attachmentList?: SystemStorageApi.StorageBlob[]; |
| | | status?: number; |
| | | processInstanceId?: string; |
| | | remark?: string; |
| | |
| | | |
| | | /** 提交离职申请(发起审批) */ |
| | | export function submitResignation(id: number) { |
| | | return requestClient.post(`/hrm/resignation/submit?id=${id}`); |
| | | return requestClient.post(`/hrm/resignation/submit?id=${id}&processDefinitionKey=hrm_resignation_approve`); |
| | | } |
| | | |
| | | /** 撤销离职申请 */ |