Blame view

api/workFlow/flowBefore_1.js 1.02 KB
290144e9   易尊强   第一次
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
  import request from '@/utils/request'
  
  // 获取待我审核
  export function FlowBeforeList(category, data, options) {
  	return request({
  		url: `/api/workflow/Engine/FlowBefore/List/${category}`,
  		method: 'get',
  		data,
  		options
  	})
  }
  // 获取待我审批信息
  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 Transfer(id, data) {
  	return request({
  		url: `/api/workflow/Engine/FlowBefore/Transfer/${id}`,
  		method: 'post',
  		data
  	})
  }