From 778f36da39618e73d362f70de5fd77be57b34fb7 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 31 十二月 2024 14:52:53 +0800 Subject: [PATCH] 调度方案配置界面优化 --- src/api/model/mcs/index.ts | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/api/model/mcs/index.ts b/src/api/model/mcs/index.ts index 0433f38..4f55207 100644 --- a/src/api/model/mcs/index.ts +++ b/src/api/model/mcs/index.ts @@ -1,7 +1,7 @@ import request from '@/config/axios' export interface PreDataBarLineReqVO { - queryIds: string[], + outIds: string[], predictTime: string, startTime: string, endTime: string @@ -13,6 +13,9 @@ 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 }) @@ -21,3 +24,7 @@ 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 }) +} -- Gitblit v1.9.3