whycwx
2021-11-24 8c1a1064c6004865dbf66c1b2aed9fcf71bfbec2
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
import axios from '@/assets/js/axios';
 
/*
*接口功能:查询工单基本状态
*传参:{mainId:31}
*
*/
export const basicInfo = function (data) {
    return axios({
      method: 'GET',
      url: '/workflow/basicInfo',
      params: data
    });
  }
  /*
*接口功能:查询当前用户的所有包机组和对应用户
*传参:{stationId:42010047}
*
*/
export const groupAndUserListOfCurrentUser = function (data) {
  return axios({
    method: 'GET',
    url: 'baoJiGroupUser/groupAndUserListOfCurrentUser',
    params: data
  });
}
/*
*接口功能:查询所有站点用户
*传参:无参
*
*/
export const groupAndUser = function (data) {
  return axios({
    method: 'GET',
    url: '/baoJiGroupUser/groupAndUser',
    params: data
  });
}
 
/*
*接口功能:查询动作列表
*传参:{status:5,type:1}
*
*/
export const actionTypeList4Role = function (data) {
  return axios({
    method: 'GET',
    url: '/workflowAction/actionTypeList4Role',
    params: data
  });
}
/*
*处理工单节点
*传参:{status:5,type:1}
*
*/
export const updateLink = function (data) {
  return axios({
    method: 'PUT',
    url: 'workflow/updateLink',
    data: data
  });
}