From 35b8f2e7b34875efebed526a7394ff50e65f8e90 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 22 十一月 2023 10:50:15 +0800
Subject: [PATCH] #

---
 pages/business/business.vue |   45 ++++++++++++++-------------------------------
 1 files changed, 14 insertions(+), 31 deletions(-)

diff --git a/pages/business/business.vue b/pages/business/business.vue
index 23d3456..ec0f70a 100644
--- a/pages/business/business.vue
+++ b/pages/business/business.vue
@@ -105,59 +105,42 @@
 		},
 		methods: {
 			select(id) {
+				let url = ''
 				switch(id) {
 					case 1: 
-						uni.navigateTo({
-							url:'/pages/business/cstmr/csmtr'
-						})
+						url = '/pages/business/cstmr/csmtr'
 						break;
 					case 2:
-						uni.navigateTo({
-							url:'/pages/business/saleManage/saleManage'
-						})
+						url = '/pages/business/saleManage/saleManage'
 						break;
 					case 3:
-						uni.navigateTo({
-							url:'/pages/business/plan/plan'
-						})
+						url = '/pages/business/plan/plan'
 						break;
 					case 4:
-						uni.navigateTo({
-							url:'/pages/business/cstmrInfo/cstmrInfo'
-						})
+						url = '/pages/business/cstmrInfo/cstmrInfo'
 						break;
 					case 5:
-						uni.navigateTo({
-							url:'/pages/business/goBusiness/reimburseOnline'
-						})
+						url = '/pages/business/goBusiness/reimburseOnline'
 						break;	
 					case 6:
-						uni.navigateTo({
-							url:'/pages/business/goBusiness/goBusiness'
-						})
+						url = '/pages/business/goBusiness/goBusiness'
 						break;
 					case 7:
-						uni.navigateTo({
-							url:'/pages/business/goBusiness/businessTripOther'
-						})
+						url = '/pages/business/goBusiness/businessTripOther'
 						break;
 					case 8:
-						uni.navigateTo({
-							url:'/pages/business/pricing/priOnline'
-						})
+						url = '/pages/business/pricing/priOnline'
 						break;
 					case 9:
-						uni.navigateTo({
-							url:'/pages/business/pricing/priQuote'
-						})
+						url = '/pages/business/pricing/priQuote'
 						break;
 					case 10:
-						uni.navigateTo({
-							url:'/pages/business/pricing/contract'
-						})
+						url = '/pages/business/pricing/contract'
 						break;
-					
 				}
+				uni.navigateTo({
+					url:url
+				})
 				
 			}
 		}

--
Gitblit v1.9.1