|
|
@@ -83,6 +83,12 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#lr_delete').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
var check = $("#gridtable").jfGridValue('IsCheck'); |
|
|
|
if (check >= "1") { |
|
|
|
learun.alert.warning("该项已审核,无法删除!"); |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
learun.layerConfirm('是否确认删除该项!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.deleteForm(top.$.rootUrl + '/EducationalAdministration/StuAttendanceLeave/DeleteForm', { keyValue: keyValue }, function () { |
|
|
|