瀏覽代碼

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

西昌缴费二期
ndbs 2 年之前
父節點
當前提交
336e087ad3
共有 1 個檔案被更改,包括 5 行新增0 行删除
  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 查看文件

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


Loading…
取消
儲存