FlowBefore.js
1.37 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import request from '@/utils/request'
// 获取待我审核
export function FlowBeforeList(category, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/List/${category}`,
method: 'get',
data
})
}
// 获取待我审批信息
export function FlowBeforeInfo(id, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/${id}`,
method: 'get',
data
})
}
// 待我审核审核
export function Audit(id, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/Audit/${id}`,
method: 'post',
data
})
}
// 待我审核驳回
export function Reject(id, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/Reject/${id}`,
method: 'post',
data
})
}
// 撤回审核
export function Recall(id, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/Recall/${id}`,
method: 'post',
data
})
}
// 终止审核
export function Cancel(id, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/Cancel/${id}`,
method: 'post',
data
})
}
// 待我审核转办
export function Transfer(id, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/Transfer/${id}`,
method: 'post',
data
})
}
// 流程监控指派
export function Assign(id, data) {
return request({
url: `/api/workflow/Engine/FlowBefore/Assign/${id}`,
method: 'post',
data
})
}