From 94c4496ebe697ed0fa560e7620f5146ef4cc62e6 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期六, 18 五月 2024 16:39:28 +0800
Subject: [PATCH] #

---
 pages/phyz/bcp/bcpDbList.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/pages/phyz/bcp/bcpDbList.vue b/pages/phyz/bcp/bcpDbList.vue
index df355ca..b0eebbb 100644
--- a/pages/phyz/bcp/bcpDbList.vue
+++ b/pages/phyz/bcp/bcpDbList.vue
@@ -283,7 +283,8 @@
 				let _this = this
 				let param = {floor: this.floor,dbList: this.dbList,moveType: this.moveType}
 				uni.request({
-					url: `${_this.baseUrl}/agvMobile/agv/v1/locMove`,
+					url: `${_this.baseUrl}/agvMobile/agv/v2/locMove`,
+					header: {'token': uni.getStorageSync('token'),},
 					data: param,
 					method: 'POST',
 					success(res) {
@@ -293,7 +294,12 @@
 							uni.navigateBack({
 								delta: 1
 							});
-						}
+						} else if (res.code == 403) {
+							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
+							setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);
+						} else {
+							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
+						} 
 					}
 				})
 				this.$refs.filter.close('bottom')
@@ -306,7 +312,7 @@
 	@import url('../../../static/css/common/order.css');
 	
 	.station {
-		position: fixed;
+		/* position: fixed; */
 		font-size: 18px;
 		width: 96%;
 		padding: 24rpx;

--
Gitblit v1.9.1