Browse Source

上传任务,没有填写采集结束时间,却填写了延迟时间,会导致后台报错,不能上传。

chendi 8 years ago
parent
commit
5a8263f9d7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/webapp/WEB-INF/ehr/jsp/datacollect/editorJobJs.jsp

+ 3 - 1
src/main/webapp/WEB-INF/ehr/jsp/datacollect/editorJobJs.jsp

@ -439,7 +439,8 @@
                repeatEndTime: $("#repeatEndTime").ligerDateEditor('getValue'),
                delayTime: $('#txtDelayTime').val(),
                jobCron:$('#txtCronExpression').val(),
                dataKey:$('#jobDatasetKeyvalue').val()
                dataKey:$('#jobDatasetKeyvalue').val(),
                delayTime:$('#txtDelayTime').val()
            };
            return model;
@ -838,6 +839,7 @@
            var me = this;
            me.setCheckVal();
            var data = me.getData();
            console.log(data);
            //按钮失效
            $("a[href='#finish']").unbind("click");
            $.ajax({ //ajax处理