From 7d3b8c2425e1f0e810506e93e045582900adfbbc Mon Sep 17 00:00:00 2001 From: Vce Date: Mon, 13 May 2024 14:57:32 +0800 Subject: [PATCH] =?UTF-8?q?flx:=20bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commandScreen/commandCenter/centerTop.vue | 4 ++-- .../dialogCompnnents/ai-alarm.vue | 19 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/views/commandScreen/commandCenter/centerTop.vue b/src/views/commandScreen/commandCenter/centerTop.vue index e5db1d7..7e3ca6e 100644 --- a/src/views/commandScreen/commandCenter/centerTop.vue +++ b/src/views/commandScreen/commandCenter/centerTop.vue @@ -39,8 +39,8 @@
- 相较上月上升{{statScore.radio}}% - + 相较上月{{ statScore.radio > 0 ?'上升':'下降' }} {{statScore.radio}}% + {{ statScore.radio > 0 ? '↑' : '↓' }}
diff --git a/src/views/commandScreen/dialogCompnnents/ai-alarm.vue b/src/views/commandScreen/dialogCompnnents/ai-alarm.vue index 16d6115..fb52dc3 100644 --- a/src/views/commandScreen/dialogCompnnents/ai-alarm.vue +++ b/src/views/commandScreen/dialogCompnnents/ai-alarm.vue @@ -5,9 +5,9 @@
{{item.alarmTypeName}} - 今日报警次数:0 - 本月报警次数:0 - 历史报警次数:0 + 今日报警次数:{{ item.alarmNumToday }} + 本月报警次数:{{ item.alarmNumMonth }} + 历史报警次数:{{ item.alarmNumYesterday }}
-
-
+
+

暂无数据

@@ -150,8 +150,8 @@ let aiAlarmTypeEnum = ref([] as any); // 获取顶部数据 const getQualityStatisticsNumDataFn = async () => { let data = { - projectSn: store.sn, - isStatsByWeek: 1 + sn: store.sn, + type: 1 }; const res: any = await getAlarmTypeCountApi(data); if (res.code == 200) { @@ -161,7 +161,7 @@ const getQualityStatisticsNumDataFn = async () => { }; //获取告警类型枚举 const getWarnTypeOption = async () => { - const res: any = await getAlarmTypeOption({ projectSn: store.sn }); + const res: any = await getAlarmTypeOption({ projectSn: store.sn, }); // console.log("获取告警类型", res.result); let warnType = res.result.map((item: any) => { return { @@ -211,7 +211,8 @@ const getMemberCountList = async (tip:any) => { let requestData:any = { projectSn: store.sn, pageNo: tip == 'search'?1:pageNo.value, - pageSize: 100 + pageSize: 100, + isPushed: 1, } const res: any = await getAlarmRecordApi(requestData); console.log("获取人员信息列表", res);