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
Plain Diff
Browse Files
Authored by
王涛
3 years ago
Commit
8fe478ebbfef81e5406a997e82c4705a6af1b544
2 parents
74f3bacf
ba7e1320
Merge branch 'master-500-dev-xwx' into 'master-500-dev'
活动告警告警闭环消除按钮默认不展示 See merge request
!567
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
hg-monitor-web-base/src/main/resources/static/src/views/alarm/activewarning.html
hg-monitor-web-qh/src/main/resources/static/src/controller/activewarning.js
hg-monitor-web-base/src/main/resources/static/src/views/alarm/activewarning.html
View file @
8fe478e
...
...
@@ -105,7 +105,7 @@
<script
type=
"text/html"
id=
"activeAlarmtoolbar"
>
<
div
class
=
"ayui-btn-container"
>
<
button
id
=
"alarmClear"
type
=
"button"
class
=
"layui-btn layui-btn-sm layui-btn-normal"
>
告警消除
<
/button
>
<
button
id
=
"clearBtn"
type
=
"button"
class
=
"layui-btn layui-btn-sm layui-btn-normal"
>
告警闭环消除
<
/button
>
<
button
id
=
"clearBtn"
type
=
"button"
class
=
"layui-btn layui-btn-sm layui-btn-normal"
style
=
"display: none"
>
告警闭环消除
<
/button
>
<
button
id
=
"closeBtn"
type
=
"button"
class
=
"layui-btn layui-btn-sm layui-btn-normal"
>
告警关闭
<
/button
>
<
button
id
=
"confirmBtn"
type
=
"button"
class
=
"layui-btn layui-btn-sm layui-btn-normal"
>
告警确认
<
/button
>
<
button
id
=
"resumeBtn"
type
=
"button"
class
=
"layui-btn layui-btn-sm layui-btn-normal"
>
告警恢复
<
/button
>
...
...
hg-monitor-web-qh/src/main/resources/static/src/controller/activewarning.js
View file @
8fe478e
...
...
@@ -1046,8 +1046,8 @@ layui.define(['table', 'form', 'laydate', 'admin', 'layer', 'laytpl', 'common',
},
done
:
function
(
data
)
{
let
knFlag
=
data
.
object
.
value
;
if
(
knFlag
==
'0'
){
$
(
'#clearBtn'
).
hide
();
if
(
knFlag
==
'1'
){
$
(
'#clearBtn'
).
show
();
}
}
});
...
...
Please
register
or
login
to post a comment