Explorar el Código

【增加】新生表增加助学贷款审核状态字段;

中职版本
dyy hace 4 años
padre
commit
b3dbc2c723
Se han modificado 3 ficheros con 44 adiciones y 0 borrados
  1. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.cshtml
  2. +36
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.js
  3. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.cshtml Ver fichero

@@ -26,6 +26,8 @@
<a id="lr_pay" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;线上缴费</a>
<a id="lr_cancelPay" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;取消线上缴费</a>
<a id="lr_loan" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;填写贷款回执码</a>
<a id="lr_checkLoan" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;审核助学贷款</a>
<a id="lr_uncheckLoan" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;去审核助学贷款</a>
<a id="lr_onsitePay" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;现场缴费</a>
<a id="lr_otherPay" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;其他费用缴费</a>
<a id="lr_cancelOtherPay" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;取消其他费用缴费</a>


+ 36
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.js Ver fichero

@@ -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');


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs Ver fichero

@@ -507,6 +507,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
[Column("STUDENTLOAN")]
public string StudentLoan { get; set; }
/// <summary>
/// 助学贷款状态:1已审核0未审核
/// </summary>
/// <returns></returns>
[Column("STUDENTLOANSTATUS")]
public string StudentLoanStatus { get; set; }
/// <summary>
/// 现场缴费状态
/// </summary>
/// <returns></returns>


Cargando…
Cancelar
Guardar