|
|
@@ -67,7 +67,13 @@ var bootstrap = function ($, learun) { |
|
|
|
//取消校园卡注销 |
|
|
|
$('#lr_cancelcardderegistrate').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('StuId'); |
|
|
|
var CardDeregistrateStatus = $('#gridtable').jfGridValue('CardDeregistrateStatus'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
for (var i = 0; i < CardDeregistrateStatus.split(',').length; i++) { |
|
|
|
if (CardDeregistrateStatus.split(',')[i] != 1) { |
|
|
|
return learun.alert.warning("选中项包括未注销数据!"); |
|
|
|
} |
|
|
|
} |
|
|
|
learun.layerConfirm('是否确认取消注销校园卡!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/IsCardDeregistrate', { keyValue: keyValue, status: '0' }, function () { |
|
|
|