dongyukun
2024-11-15 1e376e8f5ea28a0f15cb883703b466f69835637b
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
import request from '@/config/axios'
 
export interface PreDataBarLineReqVO {
  queryIds: string[],
  predictTime: string,
  startTime: string,
  endTime: string
}
 
export interface PreDataItemChartReqVO {
  itemId: string,
  startTime: string,
  endTime: string
}
 
 
export const getPreDataCharts = (data: PreDataBarLineReqVO) => {
  return request.post({ url: '/model/api/mcs/predict-data/charts', data })
}
 
export const getPreDataItemChart = (data: PreDataItemChartReqVO) => {
  return request.post({ url: '/model/api/mcs/predict-data/item-chart', data })
}
 
export const exportPredictValue = (params) => {
  return request.download({ url: '/model/api/mcs/predict-data/exportValue', params })
}