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
24a19283425dd32c33e267eb43d898811ee3fce6
1 parent
abd97a89
故障拨测
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/dialtest/index.html
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/dialtest/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/dialtest/index.html
View file @
24a1928
...
...
@@ -4,7 +4,7 @@
<h3
style=
"margin-left: 10px;color: #666666;font-size: 18px"
>
业务拨测
</h3>
<div
style=
"width: calc(100% - 200px);line-height: 54px"
class=
"align-right"
>
<a
class=
"m-r-20"
v-if=
"card && card.length > 0"
@
click=
"openMoreDialog"
>
更多
</a>
<a
v-model=
"cardName"
v-if=
"card && card.length > 0"
@
click=
"openOrCloseDialtest(
dialTest.faultFixInfoList
)"
>
{{cardName}}
</a>
<a
v-model=
"cardName"
v-if=
"card && card.length > 0"
@
click=
"openOrCloseDialtest()"
>
{{cardName}}
</a>
</div>
</div>
<el-divider/>
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/dialtest/index.js
View file @
24a1928
...
...
@@ -26,13 +26,18 @@ export default {
let
card
=
Vue
.
ref
({})
let
cardOpen
=
Vue
.
ref
(
false
);
let
cardName
=
Vue
.
ref
(
'展开'
);
let
openOrCloseDialtest
=
(
data
)
=>
{
let
openOrCloseDialtest
=
()
=>
{
cardOpen
.
value
=
!
cardOpen
.
value
;
if
(
cardOpen
.
value
)
{
cardName
.
value
=
'收起'
;
getDialtestCard
(
data
);
}
else
{
cardName
.
value
=
'展开'
;
if
(
cardOpen
.
value
){
cardName
.
value
=
'收起'
;
if
(
dialTest
.
value
!=
''
&&
dialTest
.
value
!=
null
){
getDialtestCard
(
dialTest
.
value
.
faultFixInfoList
);
}
}
else
{
cardName
.
value
=
'展开'
;
cardData
=
Vue
.
ref
([]);
}
}
...
...
@@ -40,7 +45,7 @@ export default {
let
getDialtestList
=
()
=>
{
let
params
=
{
faultNo
:
props
.
faultNo
,
targetType
:
props
.
targetType
targetType
:
props
.
targetType
.
toLocaleLowerCase
()
}
store
.
dispatch
(
'getFaultList'
,
params
).
then
((
res
)
=>
{
...
...
Please
register
or
login
to post a comment