ustcyc
2025-01-08 e58b27d9b5b6b3d63267ca89d28ebe9d3363f94b
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import request from '@/utils/request'
 
 
// 获取列表
export function getMaintainList(data) {
  return request({
    url: '/meter/implement/list',
    method: 'get',
    params: data
  })
}
 
//新增
export function addMaintain(data) {
  return request({
    url: '/meter/implement',
    method: 'post',
    data
  })
}
 
 
// 修改
export function updateMaintain(data) {
  return request({
    url: '/meter/implement',
    method: 'put',
    data: data
  })
}
 
 
// 删除参数配置
export function delMaintain(id) {
  return request({
    url: '/meter/implement/' + id,
    method: 'delete'
  })
}
 
// 指标列表  
export function getTargetList(id) {
  return request({
    url: '/basicsetting/energyindex/meterIndex/' + id,
    method: 'get',
  })
}
 
// 生成指标
export function addTarget(id) {
  return request({
    url: '/basicsetting/energyindex/meterIndex/' + id,
    method: 'post',
  })
}
 
// 删除指标
export function delTarget(id) {
  return request({
    url: '/basicsetting/energyindex/' + id,
    method: 'delete',
  })
}
 
 
 
// 获取附件列表
export function getAnnexList(data) {
  return request({
    url: '/meter/annex/list',
    method: 'get',
    params: data
  })
}
 
 
 
// // 获取监测能源类型列表
// export function energyTypeList() {
//   return request({
//     url: '/statisticsAnalysis/queryEnergyTypeList',
//     method: 'get',
//   })
// }