823bf70d by 杨威

首页快捷入口跳转逻辑

1 parent 0dea450b
......@@ -28,7 +28,7 @@ export default {
};
},
methods: {
handleClick(tab, event) {
handleClick(tab) {
// this.$refs.fg.$refs.isSearch = true;
if (tab.name != 'fg') {
this.fgLoad = false;
......@@ -51,7 +51,19 @@ export default {
},
},
created() {},
mounted() {},
mounted() {
if (this.$route.query.oLevel) {
this.activeName = this.$route.query.oLevel;
this.handleClick({name:this.$route.query.oLevel});
this.$nextTick(()=>{
if (this.$route.query.oLevel == 'hb') {
this.$refs.hb.tabName = this.$route.query.tLevel;
}else{
this.$refs.fg.tabName = this.$route.query.tLevel;
}
})
}
},
computed: {},
watch: {},
};
......
......@@ -137,7 +137,11 @@ export default {
if (!this.isEdit) {
if(item.path){
this.$router.push({
path:'/dbx'
path:'/change',
query:{
oLevel:'fg',
tLevel:'h'
}
})
}
}
......