|
@@ -78,6 +78,12 @@ var bootstrap = function ($, learun) { |
|
|
if (!$('body').lrValidform()) { |
|
|
if (!$('body').lrValidform()) { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
let starttime = new Date($('#ExamTimeStart').val()).getTime(); |
|
|
|
|
|
let endtime = new Date($('#ExamTimeEnd').val()).getTime(); |
|
|
|
|
|
if (endtime < starttime) { |
|
|
|
|
|
learun.alert.warning("选择时间段不正确!"); |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
var postData = { |
|
|
var postData = { |
|
|
strEntity: JSON.stringify($('body').lrGetFormData()) |
|
|
strEntity: JSON.stringify($('body').lrGetFormData()) |
|
|
}; |
|
|
}; |
|
|