Commit c83f3808 authored by zhangyanni's avatar zhangyanni

已发布

parent 5f051a46
......@@ -117,7 +117,7 @@
id: 3,
name: "hasPublish",
icon:"icon-yifabu",
routerLink:"/minePublished"
routerLink:"/minePublished?selectedTab=1"
});
this.activeList.push({
......
......@@ -211,7 +211,7 @@
},
handleToDetail(data){
this.$router.push({path:"/projectdetails",query:{id:data.projectId}})
this.$router.push({path:"/projectdetails",query:{id:data.projectId,selectedTab:this.$route.query.selectedTab}})
},
loadTop() {
......
......@@ -22,12 +22,13 @@
name: "published",
data() {
return {
addprojecttype: 1,
addprojecttype: this.$route.query.selectedTab?this.$route.query.selectedTab:1,
isVisible: false,
}
},
methods: {
addtype(val) {
this.$router.replace({path:"/minePublished",query:{selectedTab:val}})
if (val == 1) {
this.addprojecttype = 1;
} else if (val == 2) {
......
......@@ -159,7 +159,7 @@
},
handleToDetail(data){
this.$router.push({path:"/phoneRequireDetail",query:{id:data.detailId}});
this.$router.push({path:"/phoneRequireDetail",query:{id:data.detailId,selectedTab:this.$route.query.selectedTab}});
},
handleTrans(flag){
......
......@@ -285,7 +285,7 @@
//修改需求
handleEdit(){
this.$router.push({path:"/phoneRequire/edit",query:{id:this.$route.query.id}})
this.$router.push({path:"/phoneRequire/edit",query:{id:this.$route.query.id,selectedTab:this.$route.query.selectedTab}})
},
// 去认证
......
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