liulingling.177216
2024-08-26 349f1cfc5fa77fbc636d542df0d8050fddec48c2
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
import request from '@/utils/request'
 
export function parseFormula(data) {
  return request({
    url: '/basicsetting/indexStorage/parseFormula',
    method: 'post',
    data: data
  })
}
 
export function getNodeIndex(nodeId) {
  return request({
    url: '/basicsetting/energyindex/includeChildrenNode/' + nodeId,
    method: 'GET'
  })
}
 
export function getCalcPeriod() {
  return request({
    url: '/basicsetting/indexStorage/calcPeriod/',
    method: 'GET'
  })
}
 
export function saveIndexStorage(indexId, data) {
  return request({
    url: '/basicsetting/indexStorage/' + indexId,
    method: 'post',
    data: data
  });
}
 
export function getIndexStorage(indexId) {
  return request({
    url: '/basicsetting/indexStorage/' + indexId,
    method: 'GET'
  })
}