From b3dbc2c7234e432b98f5299376024acec69bbb4b Mon Sep 17 00:00:00 2001
From: dyy <18335927079@163.com>
Date: Fri, 25 Sep 2020 18:17:50 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91=E6=96=B0?=
=?UTF-8?q?=E7=94=9F=E8=A1=A8=E5=A2=9E=E5=8A=A0=E5=8A=A9=E5=AD=A6=E8=B4=B7?=
=?UTF-8?q?=E6=AC=BE=E5=AE=A1=E6=A0=B8=E7=8A=B6=E6=80=81=E5=AD=97=E6=AE=B5?=
=?UTF-8?q?=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Views/StuInfoFresh/PayFeeIndex.cshtml | 2 ++
.../Views/StuInfoFresh/PayFeeIndex.js | 36 +++++++++++++++++++
.../StuInfoFresh/StuInfoFreshEntity.cs | 6 ++++
3 files changed, 44 insertions(+)
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.cshtml
index ee697bc2a..c0c4fb108 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.cshtml
@@ -26,6 +26,8 @@
线上缴费
取消线上缴费
填写贷款回执码
+ 审核助学贷款
+ 去审核助学贷款
现场缴费
其他费用缴费
取消其他费用缴费
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.js
index afd6ed3c0..9d8302b67 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/PayFeeIndex.js
@@ -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');
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs
index 48515af83..67bb71c37 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs
@@ -507,6 +507,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
[Column("STUDENTLOAN")]
public string StudentLoan { get; set; }
///
+ /// 助学贷款状态:1已审核0未审核
+ ///
+ ///
+ [Column("STUDENTLOANSTATUS")]
+ public string StudentLoanStatus { get; set; }
+ ///
/// 现场缴费状态
///
///