18aab8a0 by 杨威

目录树双击携参跳转

1 parent 867392cd
......@@ -175,9 +175,31 @@ export default {
// 左键双击事件
dbclick(item) {
clearTimeout(this.time);
if (item.zdbsm || item.zrzbsm) {
this.$router.push("/zd");
if(item.type == 'zd' || item.type == 'zrz' ||item.type == 'dz'){
this.$router.push({
path: '/'+item.type,
query:{
source: 2,
bsm:item.bsm
}
});
}
// if (item.type == 'zd') {
// this.$router.push({
// path: '/zd',
// query:{
// source: 2,
// bsm:item.bsm
// }
// });
// }else if(item.type == 'zrz'){
// this.$router.push({
// path: '/zrz',
// query:{
// bsm:item.bsm
// }
// });
// }
},
closeMenu() {
this.$emit("changeVisible", false);
......