From 33ca0619ee10adc9f307480a5f58bb77bb142ffd Mon Sep 17 00:00:00 2001
From: jt <jt@activesoft.com.cn>
Date: 星期一, 01 四月 2024 15:04:37 +0800
Subject: [PATCH] PDA长时间未退出导致SessionID过期,提示‘登录已过期,请重新登录’改进

---
 pages/index/index.vue |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/pages/index/index.vue b/pages/index/index.vue
index 3998586..806ae86 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -5,7 +5,7 @@
 		align-items: center;
 		justify-content: center; */
 		width: 100vw;
-		height: 100vh;
+		min-height: 100vh;
 		background: #EAEAEA;
 		padding: 1rpx 0rpx;
 	}
@@ -13,7 +13,7 @@
 		border-radius: 12rpx;
 		margin: 30rpx;
 		padding: 10rpx;
-		background: #FFFFFF;    
+		background: #FFFFFF;
 	}
 	.areaList{
 		padding: 0;
@@ -23,9 +23,11 @@
 		list-style: none;
 		/* width: 120rpx; */
 		display: inline-block;
-		padding: 30rpx 16rpx 16rpx 20rpx;
+		padding: 30rpx 10rpx 16rpx 10rpx;
 		text-align: center;
 		font-size: 14px;
+		width: 100px;
+		vertical-align: text-top;
 	}
 	.logo {
 		height: 120rpx;
@@ -112,7 +114,7 @@
 				this.data = this.$store.state.areaFunc.data;
 			else
 				this.$store.dispatch('areaFunc',{}).then(success=>{
-					console.log(success);
+					// console.log(success);
 					if (success.code=='00000' || success.err_code == 0) {
 						this.data = success.data;
 						if(success.err_code!=undefined){ //鍒ゆ柇鏄惁鏄疢obox3
@@ -154,7 +156,7 @@
 					need_ace: '0',
 				};
 				this.$store.dispatch('GetFuncTree',json).then(success=>{
-					console.log(success);
+					// console.log(success);
 					if (success.err_code == 0) {
 						$this.data.push(success.result[0]);
 						this.$store.commit("areaFunc", $this.data);
@@ -211,6 +213,12 @@
 							url:'../modal/3200?param='+param+"&titlename="+appName
 						});
 					}
+				} else if(defCode == '3201'){
+					if(this.$store.state.OIMoboxSAPI){ //Mobox3
+						uni.navigateTo({
+							url:'../modal/3201?param='+param+"&titlename="+appName
+						});
+					}
 				} else if(defCode == '5600'){ //鐮佺洏
 					if(this.$store.state.OIMoboxSAPI){ //Mobox3
 						uni.navigateTo({

--
Gitblit v1.9.1