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
69815c61
authored
2020-12-15 11:29:37 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
目录树 点击事件调整!
1 parent
729e5226
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
src/views/Home.vue
src/views/panel/search/index.vue
src/views/Home.vue
View file @
69815c6
...
...
@@ -169,6 +169,8 @@ export default {
this
.
getRightTreeByZrzbsm
(
this
.
$store
.
state
.
zrzbsm
);
}
else
if
(
newPath
==
"/dz"
){
this
.
getRightTreeByDzbsm
(
this
.
$store
.
state
.
dzbsm
);
}
else
if
(
newPath
==
"/h"
){
this
.
getRightTreeByHbsm
(
this
.
$store
.
state
.
hbsm
);
}
else
if
(
newPath
==
"/viewMap"
){
this
.
isMap
=
true
;
if
(
this
.
$route
.
query
.
type
==
"zd"
){
...
...
@@ -329,6 +331,14 @@ export default {
});
},
getRightTreeByHbsm
(
bsm
)
{
getTreeByBsm
(
bsm
,
"h"
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
this
.
pd
=
res
.
result
;
}
});
},
sortNavigation
(
data
,
selectId
)
{
let
headTop
=
this
.
headTop
;
data
.
forEach
((
item
,
index
)
=>
{
...
...
src/views/panel/search/index.vue
View file @
69815c6
...
...
@@ -6,6 +6,7 @@
:data=
"tableData"
:height=
"tableHeight"
:row-class-name=
"tableRowClassName"
@
row-dblclick=
"doubleClick"
>
<el-table-column
type=
"index"
width=
"80"
align=
"center"
label=
"序号"
>
</el-table-column>
...
...
@@ -81,6 +82,9 @@
methods
:
{
onSubmit
()
{
},
doubleClick
(
row
,
column
,
event
){
this
.
handleClick
(
row
);
},
tableRowClassName
({
row
,
rowIndex
})
{
if
(
rowIndex
%
2
!==
0
)
{
return
"even-row"
;
...
...
Please
register
or
sign in
to post a comment