From 7b4cdd2b3c2ff12db9a7c862fff1a41afc6cbcb5 Mon Sep 17 00:00:00 2001 From: ljx <15723110242@139.com> Date: Mon, 3 Nov 2025 18:56:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc-auto-import.json | 10 +- .../largeScreen/components/optionList.ts | 8 +- .../largeScreen/components/rightPage.vue | 222 +++++++++++++++--- 3 files changed, 197 insertions(+), 43 deletions(-) diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index d1b1c9e..18f1776 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -5,10 +5,6 @@ "ComputedRef": true, "DirectiveBinding": true, "EffectScope": true, - "ElLoading": true, - "ElMessage": true, - "ElMessageBox": true, - "ElNotification": true, "ExtractDefaultPropTypes": true, "ExtractPropTypes": true, "ExtractPublicPropTypes": true, @@ -318,6 +314,10 @@ "watchThrottled": true, "watchTriggerable": true, "watchWithFilter": true, - "whenever": true + "whenever": true, + "ElMessage": true, + "ElLoading": true, + "ElMessageBox": true, + "ElNotification": true } } diff --git a/src/views/largeScreen/components/optionList.ts b/src/views/largeScreen/components/optionList.ts index 5836b87..64c426a 100644 --- a/src/views/largeScreen/components/optionList.ts +++ b/src/views/largeScreen/components/optionList.ts @@ -56,7 +56,7 @@ export const getOption = (xData: any, yData: any) => { { // show: true, start: 0, - end: 30, + end: 100, bottom: 2, // 下滑块距离x轴底部的距离 height: 23 }, @@ -177,7 +177,7 @@ export const getOption2 = (data: any) => { // show: true, start: 0, - end: 30, + end: 100, bottom: 2, // 下滑块距离x轴底部的距离 height: 23 }, @@ -322,7 +322,7 @@ export const getLineOption = (lineData: any) => { { // show: true, start: 0, - end: 30, + end: 100, bottom: 2, // 下滑块距离x轴底部的距离 height: 23 }, @@ -674,7 +674,7 @@ export const getBarOptions = (data: any) => { { // show: true, start: 0, - end: 30, + end: 100, bottom: 2, // 下滑块距离x轴底部的距离 height: 23 }, diff --git a/src/views/largeScreen/components/rightPage.vue b/src/views/largeScreen/components/rightPage.vue index 93b0ad5..07531fb 100644 --- a/src/views/largeScreen/components/rightPage.vue +++ b/src/views/largeScreen/components/rightPage.vue @@ -5,28 +5,38 @@
告警信息中心
-
{{ alarmData.length }}条信息未处理
{{ item.alarmMsg }}
{{ formatDate(item.alarmBeginTime) }}