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
zhangtianqi
3 years ago
Commit
be1fb5312cc96bb9302cd8f263b9c056fb90f338
1 parent
95637bd3
告警 生成策略 方法修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/alarmpolicyAdd.js
hg-monitor-web-base/src/main/resources/static/src/controller/alarmpolicyAdd.js
View file @
be1fb53
...
...
@@ -1058,9 +1058,9 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist', 't
}
else
if
(
conditon
==
7
)
{
//字符串类的
policyStr
+=
`
!
[
$
{
kpiId
},
kpiValue
].
$
{
conOjb
[
conditon
].
split
(
","
)[
1
]}(
"${conval}"
)
`
;
}
else
if
(
conditon
==
8
)
{
//字符串类的
policyStr
+=
`
(
"${conval}"
).
$
{
conOjb
[
conditon
]}[
$
{
kpiId
},
kpiValue
]
`
;
policyStr
+=
`
[
$
{
kpiId
},
kpiValue
].
$
{
conOjb
[
conditon
]}(
"${conval}"
)
`
;
}
else
if
(
conditon
==
11
)
{
//字符串类的
policyStr
+=
`
!
(
"${conval}"
).
$
{
conOjb
[
conditon
].
split
(
","
)[
1
]}[
$
{
kpiId
},
kpiValue
]
`
;
policyStr
+=
`
[
$
{
kpiId
},
kpiValue
].
$
{
conOjb
[
conditon
].
split
(
","
)[
1
]}
!
(
"${conval}"
)
`
;
}
else
{
policyStr
+=
`
[
$
{
kpiId
},
kpiValue
].
$
{
conOjb
[
conditon
]}(
"${conval}"
)
`
;
...
...
Please
register
or
login
to post a comment