e1dcb3a0
“wangming”
1
|
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
28
29
30
31
32
33
34
35
36
37
|
import request from '@/utils/request'
/** 待我审批列表 category: 1=待办 2=已办 3=抄送 */
export function getFlowBeforeList(category, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/List/${category}`,
method: 'get',
data
})
}
/** 审批详情 processId 为流程实例主键 */
export function getFlowBeforeInfo(id, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/${id}`,
method: 'get',
data
})
}
/** 审批通过 operatorId 为待办列表项 id */
export function auditFlow(operatorId, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/Audit/${operatorId}`,
method: 'post',
data
})
}
/** 审批驳回 */
export function rejectFlow(operatorId, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/Reject/${operatorId}`,
method: 'post',
data
})
}
|