From a7b31abe460d4f4c98b29b805de460dc5d8b65be Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 12 十二月 2023 14:30:58 +0800
Subject: [PATCH] #

---
 pages/home/home.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/pages/home/home.vue b/pages/home/home.vue
index 09c50c3..f9a1efa 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -23,20 +23,21 @@
 				token: '',
 				icon: '',
 				elements: [],
+				project: 'tzsk',
 				elements2: [
 					{
 						title: 'AGV缁勬墭',
 						name: 'AGVPakin',
 						color: 'blue',
 						// cuIcon: 'pullup',
-						url: '/tzsk/AGV/AGVPakin'
+						url: `/tzsk/AGV/AGVPakin`
 					},
 					{
 						title: 'AGV鐩樼偣/鎷f枡',
 						name: 'AGVPick',
 						color: 'cyan',
 						// cuIcon: 'pullup',
-						url: '/tzsk/AGV/AGVPick'
+						url: `/tzsk/AGV/AGVPick` 
 					},
 					
 					{
@@ -176,7 +177,7 @@
 						name: 'stockQuery',
 						color: 'green',
 						cuIcon: 'check',
-						url: '/stock/stockQuery'
+						url: `/tzsk/stock/stockQuery`
 					},
 					{
 						title: '鐩樼偣',
@@ -236,6 +237,7 @@
 		onShow() {
 			this.baseUrl = uni.getStorageSync('baseUrl');
 			this.token = uni.getStorageSync('token');
+			this.project = uni.getStorageSync('project')
 			this.getAuth()
 			this.backGroundRepeat()
 		},
@@ -276,7 +278,7 @@
 									name: res.data[i].title,
 									color: that.colorList[i],
 									cuIcon: that.icon,
-									url: res.data[i].action
+									url: `/${that.project}${res.data[i].action}`
 								})
 							}
 							that.elements.push({

--
Gitblit v1.9.1