From 8d93d4a5e413f6687d3659bbd1dfff7171f092f3 Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期二, 01 四月 2025 10:56:13 +0800
Subject: [PATCH] 1

---
 Monitor-APP/pages/home/home.vue |   30 ++++++++++++++++++++++--------
 1 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index fec2c26..ed86c39 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -253,6 +253,7 @@
 								<view>鍟嗗搧缂栫爜锛歿{item.matnr}}</view>
 								<view>鍟嗗搧鍚嶇О锛歿{item.maknx}}</view>
 								<view>瑙勬牸锛歿{item.specs}}</view>
+								<view>鍥惧彿锛歿{item.model ? item.model :''}}</view>
 								<view>鏁伴噺锛歿{item.count}} / {{item.total ? item.total : '--'}}</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,10 +600,23 @@
 					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 = '鐩樼偣鍑哄簱'
+					}else if (res.data[0].ioType === 1) {
+						that.infoText.title = '鍏ㄦ澘鍏ュ簱'
+					}else if (res.data[0].ioType === 10) {
+						that.infoText.title = '绌烘澘鍏ュ簱'
+					}else if (res.data[0].ioType === 54) {
+						that.infoText.title = '骞舵澘鍏ュ簱'
+					}else if (res.data[0].ioType === 110) {
+						that.infoText.title = '绌烘澘鍑哄簱'
+					}else if (res.data[0].ioType === 53) {
+						that.infoText.title = '鎷f枡鍐嶅叆搴�'
+					}else if (res.data[0].ioType === 57) {
+						that.infoText.title = '鐩樼偣鍐嶅叆搴�'
 					}
+				
 					that.infoText.staNo = res.data[0].staNo
 					that.swiperList = res.data[0].matDtos
 					// that.infoText.matnr = res.data[0].matDtos[0].matnr

--
Gitblit v1.9.1