Blame view

src/api/workFlow/FlowLaunch.js 674 Bytes
4424f41c   monkeyhouyi   网信执法、清单管理静态页面
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
  import request from '@/utils/request'
  
  // 获取流程发起列表
  export function FlowLaunchList(data) {
    return request({
      url: `/api/workflow/Engine/FlowLaunch`,
      method: 'get',
      data
    })
  }
  // 删除流程发起
  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'
    })
  }