赵士淞
2023-05-06 7af8a66fefff0c8ecf81b73c6c6baf9ded3f0c9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import request from '@/utils/request'
 
export function add(data) {
  return request({
    url: 'api/attendanceLeaveFlowable',
    method: 'post',
    data
  })
}
 
export function agree(processInstanceId) {
  return request({
    url: 'api/attendanceLeaveFlowable/agree',
    method: 'post',
    data: processInstanceId
  })
}
 
export function reject(processInstanceId) {
  return request({
    url: 'api/attendanceLeaveFlowable/reject',
    method: 'post',
    data: processInstanceId
  })
}
 
export default { add, agree, reject }