Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
9470329d
Commit
9470329d
authored
Jan 03, 2025
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改左边下拉框
parent
c9537f15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
21 deletions
+28
-21
device-manager-ui/admin/src/views/Home.vue
device-manager-ui/admin/src/views/Home.vue
+2
-2
device-manager-ui/admin/src/views/sitestat/maplist.vue
device-manager-ui/admin/src/views/sitestat/maplist.vue
+26
-19
No files found.
device-manager-ui/admin/src/views/Home.vue
View file @
9470329d
...
@@ -334,11 +334,11 @@ export default {
...
@@ -334,11 +334,11 @@ export default {
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
this
.
statData
=
res
.
data
.
data
[
0
];
this
.
statData
=
res
.
data
.
data
[
0
];
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
msg
);
this
.
$message
.
error
(
res
.
data
);
}
}
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
this
.
$message
.
error
(
error
.
message
);
this
.
$message
.
error
(
'
同步统计设备中,请稍后再统计!
'
);
});
});
},
},
...
...
device-manager-ui/admin/src/views/sitestat/maplist.vue
View file @
9470329d
...
@@ -9,24 +9,27 @@
...
@@ -9,24 +9,27 @@
>
切换为列表模式
</el-button
>
切换为列表模式
</el-button
>
>
</div>
</div>
<el-scrollbar
style=
"height: 100%"
>
<div
style=
"height: calc(100vh - 220px); overflow: auto;"
>
<el-tree
<el-scrollbar
style=
"height: 100%;"
>
size=
"mini"
<el-tree
ref=
"siteTree"
size=
"mini"
:data=
"areaData"
ref=
"siteTree"
id=
"el-tree"
:data=
"areaData"
node-key=
"id"
id=
"el-tree"
indent=
"4"
node-key=
"id"
:props=
"treeProps"
indent=
"4"
:load=
"loadNode"
:props=
"treeProps"
highlight-current
:load=
"loadNode"
default-expand-all
highlight-current
:expand-on-click-node=
"false"
default-expand-all
:render-content=
"renderContent"
:expand-on-click-node=
"false"
@
node-click=
"handleNodeClick"
:render-content=
"renderContent"
>
@
node-click=
"handleNodeClick"
</el-tree>
>
</el-scrollbar>
</el-tree>
</el-scrollbar>
</div>
</el-card>
</el-card>
</el-row>
</el-row>
<el-row
:gutter=
"20"
slot=
"rightTop"
class=
"mytree"
>
<el-row
:gutter=
"20"
slot=
"rightTop"
class=
"mytree"
>
...
@@ -368,7 +371,8 @@ export default {
...
@@ -368,7 +371,8 @@ export default {
width: 0;
width: 0;
}
}
.listbody {
.listbody {
max-height: 700px;
// max-height: 700px;
max-height: calc(100vh - 220px);
overflow: auto;
overflow: auto;
.listtop {
.listtop {
display: flex;
display: flex;
...
@@ -422,6 +426,9 @@ export default {
...
@@ -422,6 +426,9 @@ export default {
border-bottom
:
3px
solid
rgb
(
20
,
134
,
248
);
border-bottom
:
3px
solid
rgb
(
20
,
134
,
248
);
padding-bottom
:
2px
;
padding-bottom
:
2px
;
}
}
::v-deep
.el-scrollbar__wrap
{
overflow-x
:
unset
!
important
;
}
.
mytree
:
:
v-deep
{
.
mytree
:
:
v-deep
{
.
el-tree--highlight-current
.
el-tree--highlight-current
:
:
v-deep
:
:
v-deep
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment