gaoluyang
2026-07-08 4ffc61bbe8dd6ec89965a8e2448725f514075b53
src/api/hrm/attendance/exception/index.ts
@@ -19,6 +19,12 @@
    remark?: string;
    createTime?: string;
  }
  /** 审批流程 */
  export interface ApproveProcess {
    key: string;
    name: string;
  }
}
/** 查询考勤异常申请分页列表 */
@@ -44,6 +50,15 @@
}
/** 提交考勤异常申请 */
export function submitAttendanceException(id: number) {
  return requestClient.post(`/hrm/attendance/exception/submit?id=${id}`);
export function submitAttendanceException(id: number, processDefinitionKey: string) {
  return requestClient.post('/hrm/attendance/exception/submit', null, {
    params: { id, processDefinitionKey },
  });
}
/** 获取考勤异常审批流程列表 */
export function getAttendanceExceptionApproveProcessList() {
  return requestClient.get<HrmAttendanceExceptionApi.ApproveProcess[]>(
    '/hrm/attendance/exception/approve-process-list',
  );
}