Commit 5ed8dbe3 by caoyanzhi

Merge branch 'feature/1月迭代-年前'

parents edf6e8d2 071f9094
......@@ -751,6 +751,13 @@ export default {
this.$tips({ type: 'warning', message: '执行时间得大于当前时间至少10min' });
return;
}
const time = this.form.execTime.split(' ')[1].split(':');
const flag = Number(time[0]) < 9 || (Number(time[0]) == 23 && Number(time[2]) > 0);
if (this.hasRealTime && flag) {
// 非实时分组人群,当前时段
this.$tips({ type: 'warning', message: '当前时段不可选择非实时分组人群,请修改执行时间或者适用人群' });
return;
}
} else if (this.form.execType !== 1) {
this.$tips({ type: 'warning', message: '请填写执行时间' });
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment