田源
2024-08-02 ae4fb4b7ca7692985af31a6faab8c0d9fc290c4e
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
import request from '@/router/axios';
 
// 列表查询
export function gridLink() {
  return request({
    url: "/api/linkTypeController/gridLink",
    method: "get",
  });
}
 
// 通过属性池返回的 attributes 获取完整的信息
export function getByAttributeNames(params) {
  return request({
    url: "/api/attributeController/getByAttributeNames",
    method: "get",
    params
  });
}
 
// 一致性检查
export function checkLinkType(params) {
  return request({
    url: "/api/linkTypeController/checkLinkType",
    method: "get",
    params
  });
}
 
// 创建视图
export function createView() {
  return request({
    url: "/api/linkTypeController/createView",
    method: "post",
  });
}
 
// 查业务类型接口
export function getBizTypes() {
  return request({
    url: "/api/linkTypeController/expData",
    method: "post",
  });
}
 
// 导出
export function exportStatus  (params) {
  return request({
    url: '/api/statusController/exportStatus',
    method: 'get',
    headers: {'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'},
    responseType: 'blob',
    params
  })
}