| | |
| | | import type { PageParam, PageResult } from '#/packages/effects/request/src'; |
| | | |
| | | import { requestClient } from '#/api/request'; |
| | | import type { SystemStorageApi } from '#/api/system/storage'; |
| | | |
| | | export namespace HrmTransferApi { |
| | | /** 调岗申请 */ |
| | |
| | | transferType?: number; |
| | | effectiveDate?: string; |
| | | reason?: string; |
| | | fileUrl?: string; |
| | | blobIds?: number[]; |
| | | attachmentList?: SystemStorageApi.StorageBlob[]; |
| | | status?: number; |
| | | processInstanceId?: string; |
| | | remark?: string; |
| | |
| | | |
| | | /** 提交调岗申请(发起审批) */ |
| | | export function submitTransfer(id: number) { |
| | | return requestClient.post(`/hrm/transfer/submit?id=${id}`); |
| | | return requestClient.post(`/hrm/transfer/submit?id=${id}&processDefinitionKey=hrm_transfer_approve`); |
| | | } |
| | | |
| | | /** 撤销调岗申请 */ |