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
8c1570b9
authored
2020-12-15 10:26:49 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
目录树调整
1 parent
aa47701f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
17 deletions
src/components/lineTree/lineItem.vue
src/components/lineTree/lineItem.vue
View file @
8c1570b
...
...
@@ -175,7 +175,27 @@ export default {
// 左键双击事件
dbclick
(
item
)
{
clearTimeout
(
this
.
time
);
if
(
item
.
type
==
'zd'
||
item
.
type
==
'zrz'
||
item
.
type
==
'dz'
){
//此处不要将$router移到if的外面,因为可能是双击行政区,就不知道去哪儿了
if
(
item
.
type
==
'zd'
)
{
this
.
$store
.
state
.
zdbsm
=
item
.
bsm
;
this
.
$router
.
push
({
path
:
'/'
+
item
.
type
,
query
:{
source
:
2
,
bsm
:
item
.
bsm
}
});
}
else
if
(
item
.
type
==
'zrz'
){
this
.
$store
.
state
.
zrzbsm
=
item
.
bsm
;
this
.
$router
.
push
({
path
:
'/'
+
item
.
type
,
query
:{
source
:
2
,
bsm
:
item
.
bsm
}
});
}
else
if
(
item
.
type
==
'dz'
){
this
.
$store
.
state
.
dzbsm
=
item
.
bsm
;
this
.
$router
.
push
({
path
:
'/'
+
item
.
type
,
query
:{
...
...
@@ -184,22 +204,6 @@ export default {
}
});
}
// 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