Browse Source

提交统计样式与部局问题

wangqin
yyl 10 months ago
parent
commit
a76e53a4c2
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/assets/charts.js
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/index.vue
  3. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/assets/charts.js
  4. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/index.vue
  5. 14
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue

6
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 = [ let indicator = [
{ name: '智能设备箱', max: 100 }, { name: '智能设备箱', max: 100 },
@ -25,7 +25,7 @@ let options = {
tooltip: {}, tooltip: {},
radar: { radar: {
center: ['50%', '50%'], center: ['50%', '50%'],
radius: '75%', radius: '72%',
nameGap: 0, nameGap: 0,
indicator: indicator, indicator: indicator,
splitLine: { splitLine: {
@ -41,7 +41,7 @@ let options = {
name: { name: {
textStyle: { textStyle: {
color: '#F2F3F5', color: '#F2F3F5',
fontSize: '20', fontSize: '14',
borderRadius: 3, borderRadius: 3,
padding: [3, 5] padding: [3, 5]
} }

2
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/deviceUptime/index.vue

@ -74,7 +74,7 @@
padding: 0px 20px; padding: 0px 20px;
background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%);
border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px;
opacity: 0.8; opacity:1;
border: 1px solid; border: 1px solid;
border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1;
display: flex; display: flex;

2
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/assets/charts.js

@ -41,7 +41,7 @@ let options = {
name: { name: {
textStyle: { textStyle: {
color: '#F2F3F5', color: '#F2F3F5',
fontSize: '20', fontSize: '12',
borderRadius: 3, borderRadius: 3,
padding: [3, 5] padding: [3, 5]
} }

4
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/components/monthlyEquipment/index.vue

@ -203,7 +203,7 @@
padding: 0px 20px; padding: 0px 20px;
background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%); background: linear-gradient(180deg, rgba(6,66,88,0.2) 0%, #064258 100%);
border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px;
opacity: 0.8; opacity: 1;
border: 1px solid; border: 1px solid;
border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1; border-image: linear-gradient(360deg, rgba(55, 231, 255,0.3), rgba(55, 231, 255, 0)) 1 1;
display: flex; display: flex;
@ -268,7 +268,7 @@
align-items: center; align-items: center;
width: 100%; width: 100%;
height: 21px; height: 21px;
font-size: 12px; font-size: 14px;
font-family: Hiragino Sans GB, Hiragino Sans GB; font-family: Hiragino Sans GB, Hiragino Sans GB;
font-weight: normal; font-weight: normal;
color: #FFFFFF; color: #FFFFFF;

14
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue

@ -21,8 +21,7 @@
{{ item.sucessRate }} {{ item.sucessRate }}
</div> </div>
</div> </div>
<div class="list-text" > <div class="list-text" ><span>离线</span>
<span>离线</span>
<div class="show-text2" > <div class="show-text2" >
{{ item.failRate }} {{ item.failRate }}
</div> </div>
@ -521,6 +520,9 @@ import * as echarts from "echarts";
} }
console.log(it,i); console.log(it,i);
i+= 1; i+= 1;
if ( it == "全部设备" ) {
allList.splice(0,0,item);
} else
allList.push(item); allList.push(item);
} }
console.log(allList); console.log(allList);
@ -687,7 +689,13 @@ import * as echarts from "echarts";
justify-content: center; justify-content: center;
align-items: center; align-items: center;
> span:first-child {
display: inline-flex;
width:40px;
}
.show-text1 { .show-text1 {
width:100px;
color:#00EBC1ee; color:#00EBC1ee;
font-size: 14px; font-size: 14px;
font-family: PangMenZhengDao, PangMenZhengDao; font-family: PangMenZhengDao, PangMenZhengDao;
@ -695,6 +703,7 @@ import * as echarts from "echarts";
} }
.show-text2 { .show-text2 {
width:100px;
color:#FFFFFFee; color:#FFFFFFee;
font-size: 14px; font-size: 14px;
font-family: PangMenZhengDao, PangMenZhengDao; font-family: PangMenZhengDao, PangMenZhengDao;
@ -702,6 +711,7 @@ import * as echarts from "echarts";
} }
.show-text3 { .show-text3 {
width:100px;
color:#FFD15Cee; color:#FFD15Cee;
font-size: 14px; font-size: 14px;
font-family: PangMenZhengDao, PangMenZhengDao; font-family: PangMenZhengDao, PangMenZhengDao;

Loading…
Cancel
Save