Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
18aab8a0
authored
2020-12-04 16:50:18 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
目录树双击携参跳转
1 parent
867392cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
src/components/lineTree/lineItem.vue
src/components/lineTree/lineItem.vue
View file @
18aab8a
...
...
@@ -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
);
...
...
Please
register
or
sign in
to post a comment