From 1e651700d4418248c6d58f339cba6fdc8e5fbbf4 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Sat, 11 May 2024 21:26:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/agjtCommandApi.ts | 4 ++ .../dialogCompnnents/ai-alarm.vue | 51 ++++++++----------- 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/src/api/modules/agjtCommandApi.ts b/src/api/modules/agjtCommandApi.ts index e96d362..9623f90 100644 --- a/src/api/modules/agjtCommandApi.ts +++ b/src/api/modules/agjtCommandApi.ts @@ -75,3 +75,7 @@ export const getSystemUserApi = (params: {}) => { export const getAlarmRecordApi = (params: {}) => { return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/selectPageList`, params, { headers: { noLoading: true } }); }; +// 顶部数据接口 +export const getAlarmTypeCountApi = (params: {}) => { + return http.post(BASEURL + `/xmgl/aiStatistic/selectAiAnalyseHardWareAlarmTypeCount`, params, { headers: { noLoading: true } }); +}; \ No newline at end of file diff --git a/src/views/commandScreen/dialogCompnnents/ai-alarm.vue b/src/views/commandScreen/dialogCompnnents/ai-alarm.vue index f20431f..69cb597 100644 --- a/src/views/commandScreen/dialogCompnnents/ai-alarm.vue +++ b/src/views/commandScreen/dialogCompnnents/ai-alarm.vue @@ -2,13 +2,13 @@