Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b324efe2
authored
Apr 16, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.6.0版本需求
1 parent
afa64046
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
src/pages/monitor/monitor.vue
src/pages/monitor/monitor.vue
View file @
b324efe
...
@@ -153,7 +153,9 @@
...
@@ -153,7 +153,9 @@
<div>
姓名:{{node.data.label1 || "--"}}
</div>
<div>
姓名:{{node.data.label1 || "--"}}
</div>
<div>
设备号:{{node.data.label||'--'}}
</div>
<div>
设备号:{{node.data.label||'--'}}
</div>
<div>
车架号:{{node.data.label2}}
</div>
<div>
车架号:{{node.data.label2}}
</div>
<div
v-if=
"data.showMore"
@
click=
"loadNext(node, data)"
>
查看更多
</div>
<div
class=
"load_more_link"
v-if=
"data.showMore"
v-loading=
"loadingMore"
@
click=
"loadNext(node, data)"
>
查看更多
</div>
</div>
</div>
<span
v-else
>
<span
v-else
>
{{node.data.label}}
{{node.data.label}}
...
@@ -244,7 +246,8 @@ export default {
...
@@ -244,7 +246,8 @@ export default {
treeKey
:
""
,
treeKey
:
""
,
treeDataList
:
{},
// 缓存车辆
treeDataList
:
{},
// 缓存车辆
pageSizeList
:
{},
pageSizeList
:
{},
pageSize
:
10
pageSize
:
10
,
loadingMore
:
false
};
};
},
},
computed
:
{
computed
:
{
...
@@ -1164,7 +1167,9 @@ export default {
...
@@ -1164,7 +1167,9 @@ export default {
oParams
.
pageSize
=
this
.
pageSize
;
oParams
.
pageSize
=
this
.
pageSize
;
oParams
.
pageNumber
=
pageNumber
+
1
;
oParams
.
pageNumber
=
pageNumber
+
1
;
data
.
showMore
=
false
data
.
showMore
=
false
_this
.
loadingMore
=
true
MONITOR_SERVICE
.
getVehicleTreeUserList
(
oParams
).
then
((
res
)
=>
{
MONITOR_SERVICE
.
getVehicleTreeUserList
(
oParams
).
then
((
res
)
=>
{
_this
.
loadingMore
=
false
let
list
=
res
.
data
||
[];
let
list
=
res
.
data
||
[];
if
(
list
.
length
)
{
if
(
list
.
length
)
{
list
.
map
((
item
)
=>
{
list
.
map
((
item
)
=>
{
...
@@ -1187,6 +1192,8 @@ export default {
...
@@ -1187,6 +1192,8 @@ export default {
_this
.
showMore
(
node
,
k
)
_this
.
showMore
(
node
,
k
)
})
})
}
}
}).
catch
(()
=>
{
_this
.
loadingMore
=
false
});
});
},
},
...
@@ -1287,4 +1294,7 @@ export default {
...
@@ -1287,4 +1294,7 @@ export default {
.monitor_dialog_header
.i_refresh
{
.monitor_dialog_header
.i_refresh
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.load_more_link
{
color
:
#409EFF
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment