From aa6515758876b7df1eec75892713432b022fdc56 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 16 十二月 2023 19:59:06 +0800
Subject: [PATCH] #
---
Monitor-APP/pages/home/home.vue | 34 ++++++++++++++--------------------
1 files changed, 14 insertions(+), 20 deletions(-)
diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index f170774..07787b7 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -410,6 +410,7 @@
currDate: '',
textred: 'textred',
opts1: {
+ fontSize: 8,
dataLabel: true,
fontColor: "#ffffff",
legend: {
@@ -419,6 +420,7 @@
xAxis: {
disableGrid: true,
fontColor: "#ffffff",
+ fontSize: 8,
axisLineColor: "#ffffff",
},
yAxis: {
@@ -427,7 +429,7 @@
extra: {
column: {
type: "group",
- width: 40,
+ width: 30,
activeBgColor: "#000000",
activeBgOpacity: 0.08,
labelPosition: "center"
@@ -439,12 +441,14 @@
"#ea7ccc"
],
fontColor: "#ffffff",
+ fontSize: 8,
padding: [15, 15, 0, 5],
enableScroll: false,
legend: {},
xAxis: {
disableGrid: true,
fontColor: "#ffffff",
+ fontSize: 8,
axisLineColor: "#ffffff",
},
yAxis: {
@@ -463,30 +467,20 @@
},
},
opts3: {
+ fontSize: 8,
fontColor: "#ffffff",
xAxis: {
fontColor: "#ffffff",
+ fontSize: 8,
}
},
opts4: {
fontColor: "#ffffff",
+ fontSize: 8,
legend: {
show: true,
position: "bottom",
fontColor: "#FFFFFF",
- },
- title: {
- name: "",
- color: "#666666",
- offsetX: 0,
- offsetY: 0
- },
- subtitle: {
- name: "",
- fontSize: 25,
- color: "#7cb5ec",
- offsetX: 0,
- offsetY: 0
},
extra: {
pie: {
@@ -520,13 +514,13 @@
this.getDate2()
setTimeout(() => {
setTimeout(() => {
- this.getShuttle()
+ this.getShuttleTest()
this.getServerData()
this.initlineChart()
this.initPieChart()
this.getOther()
setTimeout(() => {
- this.getShuttle()
+ this.getShuttleTest()
this.getServerData()
this.initlineChart()
this.initPieChart()
@@ -553,7 +547,7 @@
// this.changeErrorShow()
// },5000)
setInterval(() => {
- this.getShuttle()
+ this.getShuttleTest()
this.getServerData()
this.initlineChart()
this.initPieChart()
@@ -755,8 +749,8 @@
that.infoText.title = '鍏ㄦ澘鍑哄簱'
that.infoText.title2 = '鍏ㄦ澘鍑哄簱'
} else if (res.data[0].ioType === 103) {
- that.infoText.title = '妫�鏂欏嚭搴�'
- that.infoText.title2 = '妫�鏂欏嚭搴�'
+ that.infoText.title = '鎷f枡鍑哄簱'
+ that.infoText.title2 = '鎷f枡鍑哄簱'
} else if (res.data[0].ioType === 107) {
that.infoText.title = '鐩樼偣鍑哄簱'
that.infoText.title2 = '鐩樼偣鍑哄簱'
@@ -1236,7 +1230,7 @@
.charts-box-ring {
width: 50%;
- height: 24vh;
+ height: 30vh;
/* background-color: #00ffff; */
}
--
Gitblit v1.9.1