Commit 0c1a57cc authored by zhangyanni's avatar zhangyanni

返回

parent 440e2367
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
}, },
handleToProject(data){ handleToProject(data){
this.$router.push({path:"/require/detail",query:{id:data.detailId}}) this.$router.push({path:"/require/detail",query:{id:data.detailId,flag:1}})
}, },
//切换页面条数 //切换页面条数
......
...@@ -290,9 +290,14 @@ ...@@ -290,9 +290,14 @@
//返回上一页 //返回上一页
handleGoBack(){ handleGoBack(){
let id = this.$route.query.isId; let id = this.$route.query.isId,flag = this.$route.query.flag;
if(flag){
this.$router.go(-1);
}else{
if(id==0) this.$router.push("/bigBusiness/detail"); if(id==0) this.$router.push("/bigBusiness/detail");
else this.$router.push({path:"/bigBusiness/detail",query:{id:id}}); else this.$router.push({path:"/bigBusiness/detail",query:{id:id}});
}
}, },
handleToProject(data) { handleToProject(data) {
......
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
}); });
}, },
seecompany(val){ seecompany(val){
this.$router.push({path:"/require/detail",query:{id:val.detailId}}); this.$router.push({path:"/require/detail",query:{id:val.detailId,flag:1}});
}, },
}, },
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
this.searchSalesAxios(); this.searchSalesAxios();
}, },
companygo(val){ companygo(val){
this.$router.push({path:"/require/detail",query:{id:val.detailId}}); this.$router.push({path:"/require/detail",query:{id:val.detailId,flag:1}});
}, },
projectgo(val){ projectgo(val){
this.$router.push({path:"/viewproject",query:{projectId:val.projectId}}); this.$router.push({path:"/viewproject",query:{projectId:val.projectId}});
......
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
}, },
handleToRequire(data){ handleToRequire(data){
this.$router.push({path:"/salerequire/detail",query:{id:this.requireInfo.detailId}}) this.$router.push({path:"/salerequire/detail",query:{id:this.requireInfo.detailId,flag:1}})
}, },
//取消第三阶段记录 //取消第三阶段记录
......
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
handleToRequire(data){ handleToRequire(data){
this.$router.push({path:"/salerequire/detail",query:{id:data.detailId}}) this.$router.push({path:"/salerequire/detail",query:{id:data.detailId,flag:1}})
}, },
//分页 //分页
......
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
handleToRequire(data){ handleToRequire(data){
this.$router.push({path:"/salerequire/detail",query:{id:data.detailId}}) this.$router.push({path:"/salerequire/detail",query:{id:data.detailId,flag:1}})
}, },
handleChange(data){ handleChange(data){
......
...@@ -341,6 +341,7 @@ ...@@ -341,6 +341,7 @@
//返回上一页 //返回上一页
handleGoBack(){ handleGoBack(){
if(this.$route.query.flag) this.$router.go(-1);
this.$router.push({path:"/salerequire/list"}); this.$router.push({path:"/salerequire/list"});
}, },
......
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