| | |
| | | remark?: string; |
| | | createTime?: string; |
| | | } |
| | | |
| | | /** 审批流程 */ |
| | | export interface ApproveProcess { |
| | | key: string; |
| | | name: string; |
| | | } |
| | | } |
| | | |
| | | /** 查询考勤异常申请分页列表 */ |
| | |
| | | } |
| | | |
| | | /** 提交考勤异常申请 */ |
| | | 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', |
| | | ); |
| | | } |