From d74e125a03426aebf9bc52b5a824f2cb09538db2 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期三, 07 二月 2024 20:07:27 +0800
Subject: [PATCH] #

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

diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index 07169ae..ad44654 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -485,22 +485,29 @@
 					data: JSON.stringify(param),
 					success(res) {
 						res = res.data
-						console.log(res);
 						that.result = res
-						if (res.code === 200 && res.data) {
-							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{
+						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 = '鍏ュ簱浣滀笟'
 							}
 							
+							
+							
 						}
 					}
 				})

--
Gitblit v1.9.1