|
|
@@ -106,6 +106,42 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
// 审核助学贷款 |
|
|
|
$('#lr_checkLoan').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|
selectedRow = $('#gridtable').jfGridGet('rowdata'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
if (selectedRow.StudentLoanStatus == "1") { |
|
|
|
learun.alert.warning("当前新生助学贷款已审核!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
learun.layerConfirm('是否确认审核助学贷款!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/DoCheckLoan', { keyValue: keyValue, status: 1 }, function () { |
|
|
|
refreshGirdData(); |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
// 去审核助学贷款 |
|
|
|
$('#lr_uncheckLoan').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|
selectedRow = $('#gridtable').jfGridGet('rowdata'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
if (selectedRow.StudentLoanStatus != "1") { |
|
|
|
learun.alert.warning("当前新生助学贷款未审核!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
learun.layerConfirm('是否确认去审核助学贷款!', function (res) { |
|
|
|
if (res) { |
|
|
|
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/DoCheckLoan', { keyValue: keyValue, status: 0 }, function () { |
|
|
|
refreshGirdData(); |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
// 现场缴费 |
|
|
|
$('#lr_onsitePay').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|