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
823bf70d
authored
2020-12-30 14:56:06 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首页快捷入口跳转逻辑
1 parent
0dea450b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
src/views/panel/change/index.vue
src/views/panel/index.vue
src/views/panel/change/index.vue
View file @
823bf70
...
...
@@ -28,7 +28,7 @@ export default {
};
},
methods
:
{
handleClick
(
tab
,
event
)
{
handleClick
(
tab
)
{
// this.$refs.fg.$refs.isSearch = true;
if
(
tab
.
name
!=
'fg'
)
{
this
.
fgLoad
=
false
;
...
...
@@ -51,7 +51,19 @@ export default {
},
},
created
()
{},
mounted
()
{},
mounted
()
{
if
(
this
.
$route
.
query
.
oLevel
)
{
this
.
activeName
=
this
.
$route
.
query
.
oLevel
;
this
.
handleClick
({
name
:
this
.
$route
.
query
.
oLevel
});
this
.
$nextTick
(()
=>
{
if
(
this
.
$route
.
query
.
oLevel
==
'hb'
)
{
this
.
$refs
.
hb
.
tabName
=
this
.
$route
.
query
.
tLevel
;
}
else
{
this
.
$refs
.
fg
.
tabName
=
this
.
$route
.
query
.
tLevel
;
}
})
}
},
computed
:
{},
watch
:
{},
};
...
...
src/views/panel/index.vue
View file @
823bf70
...
...
@@ -137,7 +137,11 @@ export default {
if
(
!
this
.
isEdit
)
{
if
(
item
.
path
){
this
.
$router
.
push
({
path
:
'/dbx'
path
:
'/change'
,
query
:{
oLevel
:
'fg'
,
tLevel
:
'h'
}
})
}
}
...
...
Please
register
or
sign in
to post a comment