From 8d5f49a90cdd1fb523d136670d2edf9da3b81299 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 01 四月 2024 09:51:22 +0800
Subject: [PATCH] #

---
 Monitor-APP/pages/home/home.vue |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index fec2c26..f19f9cd 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -253,7 +253,8 @@
 								<view>鍟嗗搧缂栫爜锛歿{item.matnr}}</view>
 								<view>鍟嗗搧鍚嶇О锛歿{item.maknx}}</view>
 								<view>瑙勬牸锛歿{item.specs}}</view>
-								<view>鏁伴噺锛歿{item.count}} / {{item.total ? item.total : '--'}}</view>
+								<view>鍥惧彿锛歿{item.model}}</view>
+								<view>鏁伴噺/鍓╀綑鏁伴噺锛歿{item.count}} / {{item.total ? (item.total - item.count) : '--'}}</view>
 
 
 
@@ -463,10 +464,10 @@
 
 			this.getDate2()
 			setTimeout(() => {
-				// this.getServerData()
-				// this.initlineChart()
-				// this.initPieChart()
-				// this.getOther()
+				this.getServerData()
+				this.initlineChart()
+				this.initPieChart()
+				this.getOther()
 				setTimeout(() => {
 					this.getServerData()
 					this.initlineChart()
@@ -477,9 +478,9 @@
 						this.initlineChart()
 						this.initPieChart()
 						this.getOther()
-					}, 3000)
-				}, 1000)
-			}, 1000)
+					}, 500)
+				}, 500)
+			}, 500)
 		},
 		onLoad() {
 			setInterval(() => {
@@ -599,7 +600,7 @@
 					if (res.data[0].ioType === 101) {
 						that.infoText.title = '鍏ㄦ澘鍑哄簱'
 					} else if (res.data[0].ioType === 103) {
-						that.infoText.title = '妫�鏂欏嚭搴�'
+						that.infoText.title = '鎷f枡鍑哄簱'
 					} else if (res.data[0].ioType === 107) {
 						that.infoText.title = '鐩樼偣鍑哄簱'
 					}

--
Gitblit v1.9.1