From 72935b2a35765bcc3622561bb06f2eccd64caf83 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期二, 16 五月 2023 16:49:00 +0800
Subject: [PATCH] 修改上传图片时页面跳转问题

---
 store/index.js |   50 ++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 44 insertions(+), 6 deletions(-)

diff --git a/store/index.js b/store/index.js
index 1321749..72a6b9c 100644
--- a/store/index.js
+++ b/store/index.js
@@ -6,9 +6,15 @@
 const userRoleTabbar = {
 	first: [{
 			pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar',
-			iconPath: '../../static/tabBar-icon/Gfayun.png',
-			selectedIconPath: '../../static/tabBar-icon/Bfayun1.png',
+			iconPath: '../../static/tabBar-icon/home.png',
+			selectedIconPath: '../../static/tabBar-icon/homeblue.png',
 			text: '棣栭〉'
+		},
+		{
+			pagePath: 'pages/customer-page/customer-my/faYunstatistics/faYunstatistics',
+			iconPath: '../../static/tabBar-icon/statistics.png',
+			selectedIconPath: '../../static/tabBar-icon/statisticsactive.png',
+			text: '缁熻'
 		},
 		{
 			pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar',
@@ -19,9 +25,15 @@
 	],
 	second: [{
 			pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar',
-			iconPath: '../../static/tabBar-icon/Ghome.png',
-			selectedIconPath: '../../static/tabBar-icon/Bhome.png',
+			iconPath: '../../static/tabBar-icon/home.png',
+			selectedIconPath: '../../static/tabBar-icon/homeblue.png',
 			text: '棣栭〉'
+		},
+		{
+			pagePath: 'pages/customer-page/customer-my/faYunstatistics/faYunstatistics',
+			iconPath: '../../static/tabBar-icon/statistics.png',
+			selectedIconPath: '../../static/tabBar-icon/statisticsactive.png',
+			text: '缁熻'
 		},
 		{
 			pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar',
@@ -44,7 +56,23 @@
 		// 鍏ㄥ眬weihousecode
 		globalweighHouseCode: '',
 		// 鍏ㄥ眬绾㈠鐘舵��
-		globalinfraredStatus: false
+		globalinfraredStatus: false,
+		// 鍙告満淇敼涓汉淇℃伅
+		globaluserInfo: {
+			phone: '',
+			name: '',
+			username: '',
+			type: 3,
+			idCard: '',
+			carNo: '',
+			carImg: '',
+			drivingImg: '',
+			axleNum: '',
+			weight: '',
+			userId: ''
+		},
+		globalisconnect: false,
+		globalisUploadimg: false
 	},
 	mutations: {
 		lengthchange(state, payload) {
@@ -67,7 +95,7 @@
 		// 鏀瑰彉閲嶉噺
 		changeWeigh(state, payload) {
 			state.globalweigh = payload
-			console.log(state.globalweigh, '閲嶉噺鏀瑰彉浜�')
+			console.log(state.globalweigh, '鍏ㄥ眬閲嶉噺鏀瑰彉浜�')
 		},
 		// 娑堟伅鎺ㄩ��
 		pushMessage(state, payload) {
@@ -81,6 +109,16 @@
 		// 鏀瑰彉绾㈠鐘舵��
 		changeinfraredStatus(state, payload) {
 			state.globalinfraredStatus = payload
+		},
+		changeuserInfo(state, payload) {
+			state.globaluserInfo = payload
+		},
+		// 鏀圭増鍏ㄥ眬websocket鐘舵��
+		changeisconnect(state, payload) {
+			state.globalisconnect = payload
+		},
+		changeisUploadimg(state, payload) {
+			state.globalisUploadimg = payload
 		}
 	}
 })

--
Gitblit v1.9.1