Blame view

api/workFlow/flowLaunch.js 667 Bytes
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
  import request from '@/utils/request'
  
  // 获取流程发起列表
  export function FlowLaunchList(data, options) {
  	return request({
  		url: `/api/workflow/Engine/FlowLaunch`,
  		method: 'get',
  		data,
  		options
  	})
  }
  // 删除流程发起
  export function Delete(id) {
  	return request({
  		url: `/api/workflow/Engine/FlowLaunch/${id}`,
  		method: 'DELETE'
  	})
  }
  // 撤回流程发起
  export function Revoke(id, data) {
  	return request({
  		url: `/api/workflow/Engine/FlowLaunch/${id}/Actions/Withdraw`,
  		method: 'PUT',
  		data
  	})
  }
  // 发起催办
  export function Press(id) {
  	return request({
  		url: `/api/workflow/Engine/FlowLaunch/Press/${id}`,
  		method: 'post'
  	})
  }