Sfoglia il codice sorgente

考务管理 - 老师时间管理 提示

怀来职教中心中职
ndbs 1 anno fa
parent
commit
d3b7ddbb1e
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamTeacherTime/Form.js

+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamTeacherTime/Form.js Vedi File

@@ -78,6 +78,12 @@ var bootstrap = function ($, learun) {
if (!$('body').lrValidform()) {
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 = {
strEntity: JSON.stringify($('body').lrGetFormData())
};


Caricamento…
Annulla
Salva