update 优化 增加请求流程后端发起demo案例

This commit is contained in:
疯狂的狮子Li
2025-07-17 14:28:45 +08:00
parent 95cbd2f3af
commit c785a9fb7f
3 changed files with 43 additions and 18 deletions

View File

@@ -39,6 +39,18 @@ export const addLeave = (data: LeaveForm): AxiosPromise<LeaveVO> => {
});
};
/**
* 提交请假并发起流程
* @param data
*/
export const submitAndFlowStart = (data: LeaveForm): AxiosPromise<LeaveVO> => {
return request({
url: '/workflow/leave/submitAndFlowStart',
method: 'post',
data: data
});
};
/**
* 修改请假
* @param data