Merge branch 'master-500-dev-xwx' into 'master-500-dev'
【167】告警策略配置功能调整 See merge request !844
Showing
1 changed file
with
7 additions
and
0 deletions
@@ -233,6 +233,13 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist'], f | @@ -233,6 +233,13 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist'], f | ||
233 | }); | 233 | }); |
234 | return false; | 234 | return false; |
235 | } | 235 | } |
236 | + if (!data.seriousTimes || data.seriousTimes == '') { | ||
237 | + layer.msg("请先填写告警时段!", { | ||
238 | + icon: 7 | ||
239 | + , time: 3000 | ||
240 | + }); | ||
241 | + return false; | ||
242 | + } | ||
236 | 243 | ||
237 | if (NoticeMergeFlag && NoticeMergeFlag == 'on') { | 244 | if (NoticeMergeFlag && NoticeMergeFlag == 'on') { |
238 | if (!data.alarmContentExpr || data.alarmContentExpr == '') { | 245 | if (!data.alarmContentExpr || data.alarmContentExpr == '') { |
-
Please register or login to post a comment