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
| import request from '@/config/axios'
|
| export interface PreDataBarLineReqVO {
| outIds: string[],
| predictTime: string,
| startTime: string,
| endTime: string
| }
|
| export interface PreDataItemChartReqVO {
| itemId: string,
| startTime: string,
| endTime: string
| }
|
| export const getPredictItemTree = () => {
| return request.get({ url: '/model/api/mcs/predict-item/tree'})
| }
|
| 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 })
| }
|
|