diff --git a/src/api/homePage/SoureceApi.ts b/src/api/homePage/SoureceApi.ts index 4f0e59b..f1a55bf 100644 --- a/src/api/homePage/SoureceApi.ts +++ b/src/api/homePage/SoureceApi.ts @@ -2,8 +2,8 @@ import request from "@/utils/http/request"; // 首页 资源总览 // 源-网-荷-储”相关统计信息服务 -interface idInfo{ - orgID:string; +interface idInfo { + orgID: string; } export function statInfo_api(data: idInfo) { return request({ @@ -22,3 +22,12 @@ export function alert_api(data: idInfo) { }); } + +// 获取运行监视---重过载告警统计 +export function runAlarm_api(data: idInfo) { + return request({ + url: "/api/wwpm/biz/v1/max_load_rate", + method: "POST", + data, + }); +} diff --git a/src/views/pages/homePage/runListenPage.vue b/src/views/pages/homePage/runListenPage.vue index 783e156..fd1c9d7 100644 --- a/src/views/pages/homePage/runListenPage.vue +++ b/src/views/pages/homePage/runListenPage.vue @@ -4,19 +4,13 @@