feat:【bpm】oa 请假:90% 发起等流程
This commit is contained in:
@@ -8,9 +8,9 @@ export interface Leave {
|
||||
type: number
|
||||
reason: string
|
||||
processInstanceId: string
|
||||
startTime: number
|
||||
endTime: number
|
||||
createTime: number
|
||||
startTime: Date | any
|
||||
endTime: Date | any
|
||||
createTime: Date
|
||||
startUserSelectAssignees?: Record<string, string[]>
|
||||
}
|
||||
|
||||
@@ -19,11 +19,6 @@ export function createLeave(data: Partial<Leave>) {
|
||||
return http.post<number>('/bpm/oa/leave/create', data)
|
||||
}
|
||||
|
||||
/** 更新请假申请 */
|
||||
export function updateLeave(data: Partial<Leave>) {
|
||||
return http.put<boolean>('/bpm/oa/leave/update', data)
|
||||
}
|
||||
|
||||
/** 获得请假申请 */
|
||||
export function getLeave(id: number) {
|
||||
return http.get<Leave>(`/bpm/oa/leave/get?id=${id}`)
|
||||
|
||||
Reference in New Issue
Block a user