From 6e7a76429d625a8e3122bd34500d4b6b5fde6bbd Mon Sep 17 00:00:00 2001 From: edy Date: Wed, 26 May 2021 17:59:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=A6=E7=B1=8D=E8=A1=A8?= =?UTF-8?q?=EF=BC=8C=E5=BC=80=E6=88=B7=E9=93=B6=E8=A1=8C=EF=BC=8C=E9=93=B6?= =?UTF-8?q?=E8=A1=8C=E5=8D=A1=E8=B4=A6=E5=8F=B7=EF=BC=8C=E5=BC=80=E6=88=B7?= =?UTF-8?q?=E9=93=B6=E8=A1=8C=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/StuInfoBasicController.cs | 9 +++++++++ .../Controllers/StuInfoFreshController.cs | 10 ++++++++++ .../Views/StuInfoBasic/Form.cshtml | 18 +++++++++++++++--- .../Views/StuInfoBasic/Form.js | 2 ++ .../Views/StuInfoBasic/FormOfDC.js | 1 - .../Views/StuInfoBasic/Index.js | 5 ++++- .../Views/StuInfoFresh/Form.cshtml | 13 ++++++++++++- .../Views/StuInfoFresh/Form.js | 1 + .../Views/StuInfoFresh/Index.js | 3 +++ .../LR_Content/script/lr-validator-helper.js | 12 +++++++++++- .../StuInfoBasic/StuInfoBasicEntity.cs | 16 +++++++++++++++- .../StuInfoFresh/StuInfoFreshEntity.cs | 15 +++++++++++++++ 12 files changed, 97 insertions(+), 8 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs index bb578e616..29ed6a8d3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs @@ -39,6 +39,15 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers return View(); } /// + /// 银行 + /// + /// + [HttpGet] + public ActionResult IndexBank() + { + return View("Index"); + } + /// /// 主页面【大厂】 /// /// diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs index ae881ba38..c1f64a959 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs @@ -46,6 +46,16 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers { return View(); } + /// + /// + /// + /// + [HttpGet] + public ActionResult Indexbank() + { + return View("Index"); + } + [HttpGet] public ActionResult IndexDC() { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml index cca53fdce..6c86ed491 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml @@ -41,7 +41,7 @@
疫情状态
-
+
政治面貌
@@ -54,8 +54,8 @@
健康状况
-
-
+
+
户口分类
@@ -79,6 +79,18 @@
E-mail
+
+
开户银行*
+
+
+
+
开户卡账号*
+ +
+
+
开户银行位置
+ +
通信地址*
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js index 481635b8f..c53eb1050 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js @@ -55,6 +55,7 @@ var bootstrap = function ($, learun) { } }, bind: function () { + $('#DepositBank').lrDataItemSelect({ code: 'DepositBank' }); $('#F_ProvinceId').lrDataSourceSelect({ code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', select: function (item) { @@ -168,6 +169,7 @@ var bootstrap = function ($, learun) { learun.alert.error('请先选择系和专业'); } }); + }, initData: function () { if (!!keyValue) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js index 9efee1a5e..dbcec20ae 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js @@ -198,7 +198,6 @@ var bootstrap = function ($, learun) { - }, initData: function () { if (!!keyValue) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js index 367bc0204..d5913cd4f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js @@ -351,7 +351,10 @@ var bootstrap = function ($, learun) { formatter: function (cellvalue) { return cellvalue == "1" ? "已审核" : "未审核"; } - } + }, + { label: '开户银行', name: 'DepositBank', width: 100, align: "left" }, + { label: '银行卡账号', name: 'BankCard', width: 150, align: "left" }, + { label: '开户银行位置', name: 'BankLocation', width: 200, align: "left" }, ], mainId: 'StuId', isPage: true, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml index 9cfc81e3f..ede79a9a1 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml @@ -129,7 +129,18 @@
精准贫困户
- +
+
开户银行*
+
+
+
+
银行卡账号*
+ +
+
+
开户银行位置
+ +
拍照
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js index 8b8387548..a7e80130d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js @@ -15,6 +15,7 @@ var bootstrap = function ($, learun) { page.initData(); }, bind: function () { + $('#DepositBank').lrDataItemSelect({ code: 'DepositBank' }); $("#GenderNo").lrDataItemSelect({ code: 'usersex' }); $('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); $("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js index 296d47d15..d1efe7215 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js @@ -321,6 +321,9 @@ var bootstrap = function ($, learun) { { label: '数学', name: 'MathScore', width: 100, align: "left" }, { label: '英语', name: 'ForeignLangScore', width: 100, align: "left" }, { label: '综合', name: 'ComprehensiveScore', width: 100, align: "left" }, + { label: '开户银行', name: 'DepositBank', width: 100, align: "left" }, + { label: '银行卡账号', name: 'BankCard', width: 150, align: "left" }, + { label: '开户银行位置', name: 'BankLocation', width: 200, align: "left" }, ], mainId: 'ID', isPage: true, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js index cf0f792a8..dcac566ad 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js @@ -38,9 +38,19 @@ } return res; }, + isBankCard: function (obj) {//验证银行卡的长度 + var res = { code: true, msg: '' }; + obj = $.trim(obj); + if (obj.length >= 20 || obj.length < 16) { + res.code = false; + res.msg = '输入错误,请核对银行卡账号'; + } + return res; + }, isNum: function (obj) {// 验证数字 return learun.validator.validReg(obj, /^[-+]?\d+$/, '必须为数字'); }, + isPositiveInteger: function (obj) {// 正整数 return learun.validator.validReg(obj, /^[1-9]\d*$/, '必须为正整数'); }, @@ -201,7 +211,7 @@ res.msg = '必须小于等于' + n + '位字符或空'; } return res; - } + }, }; })(window.jQuery, top.learun); diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs index 88606a2b6..2e14c2089 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs @@ -708,7 +708,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration ///
[Column("TWOPOSITION")] public string TwoPosition { get; set; } - + /// + /// 开户银行 + /// + [Column("DEPOSITBANK")] + public string DepositBank { get; set; } + /// + /// 银行卡账号 + /// + [Column("BANKCARD")] + public string BankCard { get; set; } + /// + /// 开户银行位置 + /// + [Column("BANKLOCATION")] + public string BankLocation { get; set; } #endregion #region 扩展操作 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 bb33a915d..9deaa0983 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 @@ -597,6 +597,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration /// [Column("ISINBASIC")] public bool? IsInBasic { get; set; } + /// + /// 开户银行 + /// + [Column("DEPOSITBANK")] + public string DepositBank { get; set; } + /// + /// 银行卡账号 + /// + [Column("BANKCARD")] + public string BankCard { get; set; } + /// + /// 开户银行位置 + /// + [Column("BANKLOCATION")] + public string BankLocation { get; set; } #endregion