From c380a8d6e114ff623832d2b34fca52b10537a1d0 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 14 六月 2024 17:03:22 +0800
Subject: [PATCH] 5600 onchange run +json

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

diff --git a/pages/index/index.vue b/pages/index/index.vue
index fe32e4d..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,11 +114,10 @@
 				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
-						
 							success.result.forEach(async (area,index) => {
 								if(area.client_type==2){ //鍒ゆ柇绫诲瀷鏄惁鏄疨DA绫诲瀷
 									await this.GetFuncTree(index,area);
@@ -212,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