Commit 0c1a57cc authored by zhangyanni's avatar zhangyanni

返回

parent 440e2367
......@@ -95,7 +95,7 @@
},
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 @@
//返回上一页
handleGoBack(){
let id = this.$route.query.isId;
if(id==0) this.$router.push("/bigBusiness/detail");
else this.$router.push({path:"/bigBusiness/detail",query:{id:id}});
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");
else this.$router.push({path:"/bigBusiness/detail",query:{id:id}});
}
},
handleToProject(data) {
......
......@@ -195,7 +195,7 @@
});
},
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 @@
this.searchSalesAxios();
},
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){
this.$router.push({path:"/viewproject",query:{projectId:val.projectId}});
......
......@@ -233,7 +233,7 @@
},
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 @@
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 @@
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){
......
......@@ -341,6 +341,7 @@
//返回上一页
handleGoBack(){
if(this.$route.query.flag) this.$router.go(-1);
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