Authored by 王涛

Merge branch 'master-500-dev-xwx' into 'master-500-dev'

【167】告警策略配置功能调整



See merge request !844
@@ -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 == '') {