WXL
2023-12-18 d94d00d2cd9eaf87bb3776f72f8e73410b93cb7a
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
import request from "@/utils/request";
// 查询指标列表
export function listtarget(data) {
  return request({
    url: "/smartor/target/list",
    method: "post",
    data: data,
  });
}
// 查询指标及其关联选项
export function gettargetInfo(data) {
  return request({
    url: "/smartor/target/targetInfo",
    method: "post",
    data: data,
  });
}
// 指标详情
export function particulartarget(Id) {
  return request({
    url: "/smartor/target/getInfo/" + Id,
    method: "get",
  });
}
// 查询指标及其关联选项
export function gettargetInfoedit(data) {
  return request({
    url: "/smartor/target/edit",
    method: "post",
    data: data,
  });
}
 
// 新增指标
export function addtarget(data) {
  return request({
    url: "/smartor/target/add",
    method: "post",
    data: data,
  });
}
// 删除指标
export function deletetarget(userId) {
  return request({
    url: "/smartor/target/remove/" + userId,
    method: "get",
  });
}