소스 검색

跳转修改

tanxue 1 주 전
부모
커밋
9b0ad35c82
2개의 변경된 파일10개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 1
      pages/admin/Hetong/HetongList.vue
  2. 9 6
      pages/admin/ShouYe/shouye.vue

+ 1 - 1
pages/admin/Hetong/HetongList.vue

@@ -48,7 +48,7 @@ onLoad((options) => {
 	})
 
 onShow(() => {
-	getMore()
+	refreshData();
 })
 
 function onRefresh() {

+ 9 - 6
pages/admin/ShouYe/shouye.vue

@@ -276,12 +276,15 @@
 				break;
 			// 家政合同	
 			case 'jzht':
-				uni.navigateTo({
-					url: '/pages/admin/Hetong/Hetong'
-				})
-				/* uni.redirectTo({
-					url: '/pages/admin/Hetong/HetongList'
-				}) */
+				if(indexInfoData.tixingFlag){
+					uni.navigateTo({
+						url: '/pages/admin/Hetong/Hetong'
+					})
+				}else{
+					uni.redirectTo({
+						url: '/pages/admin/Hetong/HetongList'
+					})
+				}
 				break;
 			case 'demo':
 				uni.redirectTo({