From cede521babc248ed553b5a45d3ee7ef5fd2a51d6 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 17 六月 2025 18:52:19 +0800 Subject: [PATCH] 接口响应时间和一些loading状态 --- src/api/model/mcs/index.ts | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/api/model/mcs/index.ts b/src/api/model/mcs/index.ts index 0433f38..086116f 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,15 @@ 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 }) +} + +export const getPreDataMissDataList = (data: PreDataBarLineReqVO) => { + return request.post({ url: '/model/api/mcs/predict-data/missDataList', data }) +} + +export const repair = (params) => { + return request.post({ url: '/model/api/mcs/predict-data/repair', params }) +} -- Gitblit v1.9.3