@@ -26,6 +26,8 @@ | |||||
<a id="lr_pay" class="btn btn-default"><i class="fa fa-plus"></i> 线上缴费</a> | <a id="lr_pay" class="btn btn-default"><i class="fa fa-plus"></i> 线上缴费</a> | ||||
<a id="lr_cancelPay" class="btn btn-default"><i class="fa fa-trash-o"></i> 取消线上缴费</a> | <a id="lr_cancelPay" class="btn btn-default"><i class="fa fa-trash-o"></i> 取消线上缴费</a> | ||||
<a id="lr_loan" class="btn btn-default"><i class="fa fa-plus"></i> 填写贷款回执码</a> | <a id="lr_loan" class="btn btn-default"><i class="fa fa-plus"></i> 填写贷款回执码</a> | ||||
<a id="lr_checkLoan" class="btn btn-default"><i class="fa fa-plus"></i> 审核助学贷款</a> | |||||
<a id="lr_uncheckLoan" class="btn btn-default"><i class="fa fa-trash-o"></i> 去审核助学贷款</a> | |||||
<a id="lr_onsitePay" class="btn btn-default"><i class="fa fa-plus"></i> 现场缴费</a> | <a id="lr_onsitePay" class="btn btn-default"><i class="fa fa-plus"></i> 现场缴费</a> | ||||
<a id="lr_otherPay" class="btn btn-default"><i class="fa fa-plus"></i> 其他费用缴费</a> | <a id="lr_otherPay" class="btn btn-default"><i class="fa fa-plus"></i> 其他费用缴费</a> | ||||
<a id="lr_cancelOtherPay" class="btn btn-default"><i class="fa fa-trash-o"></i> 取消其他费用缴费</a> | <a id="lr_cancelOtherPay" class="btn btn-default"><i class="fa fa-trash-o"></i> 取消其他费用缴费</a> | ||||
@@ -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 () { | $('#lr_onsitePay').on('click', function () { | ||||
var keyValue = $('#gridtable').jfGridValue('ID'); | var keyValue = $('#gridtable').jfGridValue('ID'); | ||||
@@ -507,6 +507,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
[Column("STUDENTLOAN")] | [Column("STUDENTLOAN")] | ||||
public string StudentLoan { get; set; } | public string StudentLoan { get; set; } | ||||
/// <summary> | /// <summary> | ||||
/// 助学贷款状态:1已审核0未审核 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("STUDENTLOANSTATUS")] | |||||
public string StudentLoanStatus { get; set; } | |||||
/// <summary> | |||||
/// 现场缴费状态 | /// 现场缴费状态 | ||||
/// </summary> | /// </summary> | ||||
/// <returns></returns> | /// <returns></returns> | ||||