云
5 天以前 a241b66efcc41e973290a6722fb7a4d79b833ea1
src/api/hrm/resignation/index.ts
@@ -1,6 +1,7 @@
import type { PageParam, PageResult } from '#/packages/effects/request/src';
import { requestClient } from '#/api/request';
import type { SystemStorageApi } from '#/api/system/storage';
export namespace HrmResignationApi {
  /** 离职申请 */
@@ -16,7 +17,8 @@
    handoverUserId?: number;
    handoverUserName?: string;
    handoverStatus?: number;
    fileUrl?: string;
    blobIds?: number[];
    attachmentList?: SystemStorageApi.StorageBlob[];
    status?: number;
    processInstanceId?: string;
    remark?: string;
@@ -56,7 +58,7 @@
/** 提交离职申请(发起审批) */
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`);
}
/** 撤销离职申请 */