提交 | 用户 | 时间
|
da47a3
|
1 |
import request from '@/config/axios' |
潘 |
2 |
|
|
3 |
export interface PreDataBarLineReqVO { |
f3edfb
|
4 |
outIds: string[], |
da47a3
|
5 |
predictTime: string, |
潘 |
6 |
startTime: string, |
|
7 |
endTime: string |
|
8 |
} |
|
9 |
|
|
10 |
export interface PreDataItemChartReqVO { |
|
11 |
itemId: string, |
|
12 |
startTime: string, |
|
13 |
endTime: string |
|
14 |
} |
|
15 |
|
f3edfb
|
16 |
export const getPredictItemTree = () => { |
潘 |
17 |
return request.get({ url: '/model/api/mcs/predict-item/tree'}) |
|
18 |
} |
da47a3
|
19 |
|
潘 |
20 |
export const getPreDataCharts = (data: PreDataBarLineReqVO) => { |
|
21 |
return request.post({ url: '/model/api/mcs/predict-data/charts', data }) |
|
22 |
} |
|
23 |
|
|
24 |
export const getPreDataItemChart = (data: PreDataItemChartReqVO) => { |
|
25 |
return request.post({ url: '/model/api/mcs/predict-data/item-chart', data }) |
|
26 |
} |
1e376e
|
27 |
|
D |
28 |
export const exportPredictValue = (params) => { |
|
29 |
return request.download({ url: '/model/api/mcs/predict-data/exportValue', params }) |
|
30 |
} |