tanxue hace 2 meses
padre
commit
9b0ad35c82
Se han modificado 2 ficheros con 10 adiciones y 7 borrados
  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({