|
|
@@ -73,6 +73,11 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#lr_delete').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ESId'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
var ESEnabled = $('#gridtable').jfGridValue('ESEnabled'); |
|
|
|
if (ESEnabled.indexOf('true') != -1) { |
|
|
|
learun.alert.warning("选中记录中包含已启用项目!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
learun.layerConfirm('是否确认删除该项!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/Exam_ExamStudent/DeleteForm', { keyValue: keyValue }, function () { |
|
|
|