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
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",
  });
}