From 4fb780e218234595ccdb8292ea3c4a482999ae33 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 14 五月 2024 09:36:40 +0800
Subject: [PATCH] Merge branch 'tzskMonitor-AGV-2' of http://47.97.1.152:5880/r/private into tzskMonitor-AGV-2

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

diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index 32daa5d..6ee9fc6 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -463,12 +463,42 @@
 				// 娴嬭瘯鐢�
 				
 				this.getVisualized()
+				// this.getVisualizedTest()
 			},1000)
 		},
 		methods: {
 			getUrl() {
 				this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePort + "/" +this.baseUrl
 			},
+			getVisualizedTest() {
+				let that = this
+				var result = ycqdata.dataInfo3
+				console.log(result);
+				let res = result.data
+				if (res.code === 200) {
+					console.log(res.data.agvWaitPakins);
+					if (res.data.agvWrkDetls != null) {
+						that.locs = res.data.agvWrkDetls
+						if (res.data.agvWrkMast) {
+							if (res.data.agvWrkMast.ioType == 107) {
+								that.infoText.title = '鐩樼偣鍑哄簱'
+							} else if (res.data.agvWrkMast.ioType == 103) {
+								that.infoText.title = '鎷f枡鍑哄簱'
+							} else {
+								that.infoText.title = '鍏ㄦ澘鍑哄簱'
+							} 
+						} else{
+							that.infoText.title = '鍏ュ簱浣滀笟'
+						}
+					} else if (res.data.agvWaitPakins != null) {
+						that.locs = res.data.agvWaitPakins
+						that.infoText.title = '鍏ュ簱浣滀笟'
+					}
+					
+					
+					
+				}
+			},
 			getVisualized() {
 				let that = this
 				let param = {devNo: `${that.devNo}`}

--
Gitblit v1.9.1