twt пре 3 година
родитељ
комит
5c4e54d621
1 измењених фајлова са 12 додато и 4 уклоњено
  1. 12 4
      operatingCompany/pages/entryReport/opinion.vue

+ 12 - 4
operatingCompany/pages/entryReport/opinion.vue

@@ -95,6 +95,7 @@
 				var goname=true;
 				var gotime=true;
 				var gosuggest=true;
+				var that=this;
 				this.suggestList.forEach(item=>{
 					if(item.managerName==''){
 						goname=false;
@@ -143,9 +144,12 @@
 				     });
 					 //this.$store.commit('mutationsCategoryList',this.categoryList)
 					 setTimeout(function(){
-					 	uni.navigateBack({
+					 	/* uni.navigateBack({
 					 		delta:2
-					 	})
+					 	}) */
+						uni.navigateTo({
+							url:'../reportManage/reportDetail?id='+that.sheetID
+						})
 					 },1000)
 					
 				})
@@ -197,6 +201,7 @@
 				})
 			},
 			submitSuperCheckSheet(){
+				var that=this;
 				uni.showLoading({ });
 				this.$http('accompany/SuperCheckSheet/submitSuperCheckSheet', {
 					sheetID:this.sheetID,
@@ -210,11 +215,14 @@
 					setTimeout(function(){
 						if(res.data){
 							uni.navigateTo({
-								url:'shopEvaStar?id='+res.data+'&sheetID='+this.sheetID+'&shopName='+this.shopName+'&Contactor='+this.Contactor
+								url:'shopEvaStar?id='+res.data+'&sheetID='+that.sheetID+'&shopName='+that.shopName+'&Contactor='+that.Contactor
 							})
 						}else{
-							uni.navigateBack({
+							/* uni.navigateBack({
 								delta:2
+							}) */
+							uni.navigateTo({
+								url:'../reportManage/reportDetail?id='+that.sheetID
 							})
 						}
 					},1000)