From a76e53a4c2f06d906c654b4004ba8669e590fc99 Mon Sep 17 00:00:00 2001 From: yyl <279235553@qq.com> Date: Thu, 18 Jan 2024 17:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=BB=9F=E8=AE=A1=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=B8=8E=E9=83=A8=E5=B1=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/deviceUptime/assets/charts.js | 6 +++--- .../components/deviceUptime/index.vue | 2 +- .../components/monthlyEquipment/assets/charts.js | 2 +- .../components/monthlyEquipment/index.vue | 6 +++--- .../statisticalAnalysis/index.vue | 16 +++++++++++++--- 5 files changed, 21 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/assets/charts.js index 7ef5a96f..4b35b669 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/assets/charts.js @@ -1,5 +1,5 @@ -let data = [100, 0, 0, 0, 40, 40,40, 64,40, 64,40, 64] +let data = [0, 0, 0, 0, 0, 0,0, 0,0, 0,0, 0] let indicator = [ { name: '智能设备箱', max: 100 }, @@ -25,7 +25,7 @@ let options = { tooltip: {}, radar: { center: ['50%', '50%'], - radius: '75%', + radius: '72%', nameGap: 0, indicator: indicator, splitLine: { @@ -41,7 +41,7 @@ let options = { name: { textStyle: { color: '#F2F3F5', - fontSize: '20', + fontSize: '14', borderRadius: 3, padding: [3, 5] } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/index.vue index f9a96f92..9e1e1eb9 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/index.vue @@ -74,7 +74,7 @@ padding: 0px 20px; background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); border-radius: 5px 5px 5px 5px; - opacity: 0.8; + opacity:1; border: 1px solid; border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; display: flex; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/assets/charts.js index c10c506b..dfd3d256 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/assets/charts.js @@ -41,7 +41,7 @@ let options = { name: { textStyle: { color: '#F2F3F5', - fontSize: '20', + fontSize: '12', borderRadius: 3, padding: [3, 5] } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/index.vue index 990a5a8d..a55e0448 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/index.vue @@ -146,7 +146,7 @@ text:"智能设备箱" , color:"#FFCE85", top:430, - left:920, + left:920, } ] } @@ -203,7 +203,7 @@ padding: 0px 20px; background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); border-radius: 5px 5px 5px 5px; - opacity: 0.8; + opacity: 1; border: 1px solid; border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; display: flex; @@ -268,7 +268,7 @@ align-items: center; width: 100%; height: 21px; - font-size: 12px; + font-size: 14px; font-family: Hiragino Sans GB, Hiragino Sans GB; font-weight: normal; color: #FFFFFF; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue index 4f539272..66bac610 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue @@ -16,13 +16,12 @@
- 在线: + 在线:
{{ item.sucessRate }}
-
- 离线: +
离线:
{{ item.failRate }}
@@ -521,6 +520,9 @@ import * as echarts from "echarts"; } console.log(it,i); i+= 1; + if ( it == "全部设备" ) { + allList.splice(0,0,item); + } else allList.push(item); } console.log(allList); @@ -687,7 +689,13 @@ import * as echarts from "echarts"; justify-content: center; align-items: center; + > span:first-child { + display: inline-flex; + width:40px; + } + .show-text1 { + width:100px; color:#00EBC1ee; font-size: 14px; font-family: PangMenZhengDao, PangMenZhengDao; @@ -695,6 +703,7 @@ import * as echarts from "echarts"; } .show-text2 { + width:100px; color:#FFFFFFee; font-size: 14px; font-family: PangMenZhengDao, PangMenZhengDao; @@ -702,6 +711,7 @@ import * as echarts from "echarts"; } .show-text3 { + width:100px; color:#FFD15Cee; font-size: 14px; font-family: PangMenZhengDao, PangMenZhengDao;