Blame view

antis-ncc-admin/src/api/workFlow/FlowEngineForm.js 1013 Bytes
96009bc9   hexiaodong   hxd
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
  import request from '@/utils/request'
  
  // 获取流程表单列表
  export function FlowEngineFormList(data) {
    return request({
      url: `/api/workflow/Engine/FlowEngineForm`,
      method: 'get',
      data
    })
  }
  // 列表ListAll
  export function FlowEngineFormListAll() {
    return request({
      url: `/api/workflow/Engine/FlowEngineForm/ListAll`,
      method: 'get',
    })
  }
  // 获取流程表单信息
  export function FlowEngineFormInfo(id) {
    return request({
      url: `/api/workflow/Engine/FlowEngineForm/${id}`,
      method: 'get'
    })
  }
  // 删除流程表单
  export function Delete(id) {
    return request({
      url: `/api/workflow/Engine/FlowEngineForm/${id}`,
      method: 'DELETE'
    })
  }
  // 新建流程表单
  export function Create(data) {
    return request({
      url: `/api/workflow/Engine/FlowEngineForm`,
      method: 'post',
      data
    })
  }
  // 修改流程表单
  export function Update(data) {
    return request({
      url: `/api/workflow/Engine/FlowEngineForm/${data.id}`,
      method: 'PUT',
      data,
    })
  }