18aab8a0 by 杨威

目录树双击携参跳转

1 parent 867392cd
...@@ -175,9 +175,31 @@ export default { ...@@ -175,9 +175,31 @@ export default {
175 // 左键双击事件 175 // 左键双击事件
176 dbclick(item) { 176 dbclick(item) {
177 clearTimeout(this.time); 177 clearTimeout(this.time);
178 if (item.zdbsm || item.zrzbsm) { 178 if(item.type == 'zd' || item.type == 'zrz' ||item.type == 'dz'){
179 this.$router.push("/zd"); 179 this.$router.push({
180 path: '/'+item.type,
181 query:{
182 source: 2,
183 bsm:item.bsm
184 }
185 });
180 } 186 }
187 // if (item.type == 'zd') {
188 // this.$router.push({
189 // path: '/zd',
190 // query:{
191 // source: 2,
192 // bsm:item.bsm
193 // }
194 // });
195 // }else if(item.type == 'zrz'){
196 // this.$router.push({
197 // path: '/zrz',
198 // query:{
199 // bsm:item.bsm
200 // }
201 // });
202 // }
181 }, 203 },
182 closeMenu() { 204 closeMenu() {
183 this.$emit("changeVisible", false); 205 this.$emit("changeVisible", false);
......