Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wangtao
3 years ago
Commit
496ee5f3c3ed5e289662691a23e38367ca3a38ea
1 parent
8f550098
样式调整
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/item/index.html
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/item/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/item/index.html
View file @
496ee5f
...
...
@@ -63,7 +63,7 @@
</div>
</div>
</div>
<div
v-if=
"card
Data
.length == 0"
class=
"align-center d-flex"
style=
"flex: 1"
>
<div
v-if=
"card.length == 0"
class=
"align-center d-flex"
style=
"flex: 1"
>
<el-empty
:image-size=
"50"
/>
</div>
<div
v-else
>
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/item/index.js
View file @
496ee5f
...
...
@@ -48,12 +48,14 @@ export default {
store
.
dispatch
(
'getFaultList'
,
params
).
then
((
res
)
=>
{
if
(
res
.
data
&&
res
.
success
)
{
dialTest
.
value
=
res
.
data
[
0
];
let
arr
=
[];
for
(
var
i
=
1
;
i
<
res
.
data
.
length
;
i
++
)
{
arr
.
push
(
res
.
data
[
i
])
if
(
res
.
data
.
length
>
0
){
dialTest
.
value
=
res
.
data
[
0
];
let
arr
=
[];
for
(
var
i
=
1
;
i
<
res
.
data
.
length
;
i
++
)
{
arr
.
push
(
res
.
data
[
i
])
}
card
.
value
=
arr
;
}
card
.
value
=
arr
;
}
}).
catch
(
e
=>
{
console
.
log
(
e
);
...
...
Please
register
or
login
to post a comment