diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamLesson/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamLesson/Index.js index c7d0be5c4..e8420c804 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamLesson/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamLesson/Index.js @@ -93,7 +93,7 @@ var bootstrap = function ($, learun) { }); //启用 $('#lr_lock').on('click', function () { - var keyValue = $('#gridtable').jfGridValue('ID'); + var keyValue = $('#gridtable').jfGridValue('ELId'); if (learun.checkrow(keyValue)) { var ELEnabled = $('#gridtable').jfGridValue('ELEnabled'); if (ELEnabled.indexOf('true') != -1) { @@ -111,7 +111,7 @@ var bootstrap = function ($, learun) { }); //禁用 $('#lr_unlock').on('click', function () { - var keyValue = $('#gridtable').jfGridValue('ID'); + var keyValue = $('#gridtable').jfGridValue('ELId'); if (learun.checkrow(keyValue)) { var ELEnabled = $('#gridtable').jfGridValue('ELEnabled'); if (ELEnabled.indexOf('false') != -1) {