Commit 34b2bd8e authored by zhangyanni's avatar zhangyanni

返回

parent 35b0ab63
......@@ -556,7 +556,7 @@
if(this.$route.name=='activitySearchResult'){
query['key'] = this.$route.query.key;
}
if(this.detailInfo.channelType==2) this.$router.push({path:'/apply',query:query});
if(this.detailInfo.channelType==2) this.$router.replace({path:'/apply',query:query});
else {
// this.$toast({
// message: "报名成功",
......
......@@ -189,7 +189,7 @@
this.$router.push({path:'/activitysearch',query:{key:this.$route.query.key}})
}
if(this.$route.query.isApply>=0){
this.$router.push({path:"/activitydetail",query:{page:this.$route.query.page,id:this.$route.query.id,isDetail:true,isApply:this.$route.query.isApply?this.$route.query.isApply:0}})
this.$router.push({path:"/activitydetail",query:{page:this.$route.query.page,id:this.$route.query.id,isDetail:true,isApply:this.$route.query.isApply?this.$route.query.isApply:0,key:this.$route.query.key}})
}
},
......
......@@ -164,7 +164,7 @@
}
if(res.code==0){
var query = {aid:this.$route.query.id?this.$route.query.id:this.detailInfo.channelId,id:res.result.enterId,page:this.$route.query.page,isApply:this.$route.query.isApply,key:this.$route.query.key?this.$route.query.key:'',type:this.$route.query.type}
if(this.detailInfo.channelType==2) this.$router.push({path:'/apply',query:query});
if(this.detailInfo.channelType==2) this.$router.replace({path:'/apply',query:query});
else {
// this.$toast({
// message: "报名成功",
......
......@@ -286,7 +286,7 @@
if(this.$route.name=='activitySearchResult'){
query['key'] = this.$route.query.key;
}
if(this.detailInfo.channelType==2) this.$router.push({path:'/apply',query:query});
if(this.detailInfo.channelType==2) this.$router.replace({path:'/apply',query:query});
else {
// this.$toast({
// message: "报名成功",
......
......@@ -261,7 +261,7 @@
},
handleToDetail(data){
let query = this.channelCity?{page:this.page,id:data.channelId,city:this.channelCity,isSearchList:true}:{page:this.page,id:data.channelId,key:this.$route.query.key,isApply:2};
let query = this.channelCity?{page:this.page,id:data.channelId,city:this.channelCity,isSearchList:true}:{page:this.page,id:data.channelId,key:this.$route.query.key,isApply:2,type:data.channelType};
this.$router.push({path:"/activitydetail",query:query});
},
......@@ -320,7 +320,7 @@
if(this.$route.name=='activitySearchResult'){
query['key'] = this.$route.query.key;
}
if(this.detailInfo.channelType==2) this.$router.push({path:'/apply',query:query});
if(this.detailInfo.channelType==2) this.$router.replace({path:'/apply',query:query});
else {
// this.$toast({
// message: "报名成功",
......
......@@ -122,7 +122,7 @@
},that = this;
if(this.userInfo){
if(this.publicFun.getUserRoleIsZjFunc()){
this.$router.push({path:"/masterComment",query:query});
this.$router.replace({path:"/masterComment",query:query});
}else{
this.isReply = data?true:false;
this.isDeepReply = data1?true:false;
......@@ -277,7 +277,7 @@
query = this.isScoreQueryVal;
}
if(this.publicFun.getUserRoleIsZjFunc()){
this.$router.push({path:"/masterComment",query:query});
this.$router.replace({path:"/masterComment",query:query});
}else{
if(this.isScoreQueryVal){
this.isReply = this.isScoreQueryVal.isReply?true:false;
......
......@@ -656,7 +656,7 @@
},that = this;
if(this.userInfo){
if(this.publicFun.getUserRoleIsZjFunc()){
this.$router.push({path:"/masterComment",query:query});
this.$router.replace({path:"/masterComment",query:query});
}else{
this.commentVisible = true;
this.isReply = data?true:false;
......@@ -677,7 +677,7 @@
if(this.$route.query.isList){
if(this.isListFlag==0){
if(this.publicFun.getUserRoleIsZjFunc()){
this.$router.push({path:"/masterComment",query:this.$route.query});
this.$router.replace({path:"/masterComment",query:this.$route.query});
}else{
this.commentVisible = true;
if(this.isScoreQueryVal){
......@@ -707,7 +707,7 @@
query = this.isScoreQueryVal;
}
if(this.publicFun.getUserRoleIsZjFunc()){
this.$router.push({path:"/masterComment",query:query});
this.$router.replace({path:"/masterComment",query:query});
}else{
if(this.isScoreQueryVal){
this.isReply = this.isScoreQueryVal.isReply?true:false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment