From a6a13c6ebbbf26ec5e12b391c68b0a869cd141d7 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 29 十月 2024 10:35:56 +0800
Subject: [PATCH] #

---
 Monitor-APP/pages/home/home.vue |   42 +++++++++++++++++++++++++++++++++++++-----
 1 files changed, 37 insertions(+), 5 deletions(-)

diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index a5d8769..793fa4e 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -427,10 +427,10 @@
 				this.getServerData()
 				this.getDate2()
 				this.getUrl()
-				// this.getInfo()
-				// this.getError()
-				this.getInfo2()
-				this.getError2()
+				this.getInfo()
+				this.getError()
+				// this.getInfo2()
+				// this.getError2()
 				this.controller()
 			},1000)
 			
@@ -539,10 +539,42 @@
                             }
                             // infoType1:鍙湁鎷f枡绛変俊鎭�
                             that.infoType = 1
+							switch (res.data[0].ioType) {
+								case 1:
+									that.infoText.title = '鍏ㄦ澘鍏ュ簱'
+									break;
+								case 1:
+									that.infoText.title = '绌烘澘鍏ュ簱'
+									break;
+								case 53:
+									that.infoText.title = '鎷f枡鍥炲簱'
+									break;
+								case 54:
+									that.infoText.title = '骞舵澘鍥炲簱'
+									break;
+								case 57:
+									that.infoText.title = '鐩樼偣鍥炲簱'
+									break;
+								case 101:
+									that.infoText.title = '鍏ㄦ澘鍑哄簱'
+									break;
+								case 103:
+									that.infoText.title = '鎷f枡鍑哄簱'
+									break;
+								case 104:
+									that.infoText.title = '骞舵澘鍑哄簱'
+									break;
+								case 107:
+									that.infoText.title = '鐩樼偣鍑哄簱'
+									break;
+								case 110:
+									that.infoText.title = '绌烘澘鍑哄簱'
+									break;
+							}
                             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