From cbe582d4cee959967527148b1f15917b8194ed85 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期三, 03 七月 2024 16:05:59 +0800
Subject: [PATCH] fix:修改测试单若干bug

---
 store/index.js |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/store/index.js b/store/index.js
index 59360b8..00dcf55 100644
--- a/store/index.js
+++ b/store/index.js
@@ -87,8 +87,8 @@
 	},
 	{
 		pagePath: 'pages/loadUnload-page/orderPlanList/index',
-		iconPath: '../../static/tabBar-icon/Gmine10.png',
-		selectedIconPath: '../../static/tabBar-icon/Bmine57.png',
+		iconPath:  '../../static/tabBar-icon/statistics.png',
+		selectedIconPath: '../../static/tabBar-icon/statisticsactive.png',
 		text: '鏃ヨ鍒�'	
 	},
 	{
@@ -96,8 +96,20 @@
 		iconPath: '../../static/tabBar-icon/Gmine10.png',
 		selectedIconPath: '../../static/tabBar-icon/Bmine57.png',
 		text: '鎴戠殑'
+	}
+	],
+	six:[{
+		pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar',
+		iconPath: '../../static/tabBar-icon/home.png',
+		selectedIconPath: '../../static/tabBar-icon/homeblue.png',
+		text: '棣栭〉'
 	},
-]
+	{
+		pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar',
+		iconPath: '../../static/tabBar-icon/Gmine10.png',
+		selectedIconPath: '../../static/tabBar-icon/Bmine57.png',
+		text: '鎴戠殑'
+	}]
 }
 const store = new Vuex.Store({
 	state: {
@@ -214,6 +226,9 @@
 			}else if (roleType == 6) {
 				state.userTabbar = userRoleTabbar.fourth
 				uni.setStorageSync('userTabbar', state.userTabbar)
+			}else if (roleType == 7) {
+				state.userTabbar = userRoleTabbar.six
+				uni.setStorageSync('userTabbar', state.userTabbar)
 			}
 		},
 		// 鏀瑰彉閲嶉噺
@@ -252,6 +267,7 @@
 			console.log(state.globalisLogin, '鍏ㄥ眬鐧诲綍鐘舵�佹敼鍙樹簡')
 		},
 		setWebsocketData(state, data) {
+			console.log(data,'data-----')
 			state.websocketData = data
 		},
 		// 鏀瑰彉閲嶈繛鐘舵��
@@ -454,6 +470,10 @@
 				commit('getBunkerList',res.data)
 			})
 		},
+	},
+	getters:{
+		websocketData:(state) => state.websocketData
+
 	}
 })
 

--
Gitblit v1.9.1