Procházet zdrojové kódy

安排考试 没有新增班级不允许直接新增考场

新疆影视学院高职
zhangli před 2 roky
rodič
revize
41f42bc49d
1 změnil soubory, kde provedl 21 přidání a 10 odebrání
  1. +21
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamPlanLesson/Index.js

+ 21
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamPlanLesson/Index.js Zobrazit soubor

@@ -129,16 +129,27 @@ var bootstrap = function ($, learun) {
if (ELCheckMark == 1) {
return learun.alert.warning("该项已审核!");
}
learun.layerForm({
id: 'formteacherRoom',
title: '新增考场',
url: top.$.rootUrl + '/EducationalAdministration/Exam_ExamPlanLesson/FormRoomTeacher?EPLId=' + EPLId + '&EPId=' + EPId,
width: 850,
height: 500,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
var param ={};
param.EPId = EPId;
param.EPLId = EPLId;
//判断是否已新增班级
var data= learun.httpGet(top.$.rootUrl + '/EducationalAdministration/Exam_ExamPlanLesson/GetListForClass?queryJson='+JSON.stringify(param));
if (data.data.length > 0) {
learun.layerForm({
id: 'formteacherRoom',
title: '新增考场',
url: top.$.rootUrl + '/EducationalAdministration/Exam_ExamPlanLesson/FormRoomTeacher?EPLId=' + EPLId + '&EPId=' + EPId,
width: 850,
height: 500,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
} else {
return learun.alert.warning("请先添加班级!");
}
} else {
return learun.alert.warning("请选择考试课程!");
}


Načítá se…
Zrušit
Uložit