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
d77eef37
authored
2020-12-15 10:45:23 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
9696a1a5
729e5226
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 @
d77eef3
...
...
@@ -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