From 336e087ad36d842168734544c4006c6e3fe008df Mon Sep 17 00:00:00 2001 From: ndbs Date: Sat, 7 May 2022 09:42:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E5=8A=A1=E5=AD=A6=E7=94=9F=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=E7=A6=81=E7=94=A8=E7=A6=81=E6=AD=A2=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Exam_ExamStudent/Index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js index d0301f6b0..4c0d74e78 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js @@ -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 () {