Parcourir la source

考务学生管理 禁用禁止删除项

西昌缴费二期
ndbs il y a 2 ans
Parent
révision
336e087ad3
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js

+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js Voir le fichier

@@ -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 () {


Chargement…
Annuler
Enregistrer