Parcourir la source

添加学籍表,开户银行,银行卡账号,开户银行位置

master
edy il y a 3 ans
Parent
révision
6e7a76429d
12 fichiers modifiés avec 97 ajouts et 8 suppressions
  1. +9
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs
  2. +10
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs
  3. +15
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml
  4. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  5. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
  6. +4
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
  7. +12
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml
  8. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js
  9. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js
  10. +11
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js
  11. +15
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
  12. +15
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs

+ 9
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoBasicController.cs Voir le fichier

@@ -39,6 +39,15 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
return View();
}
/// <summary>
/// 银行
/// <summary>
/// <returns></returns>
[HttpGet]
public ActionResult IndexBank()
{
return View("Index");
}
/// <summary>
/// 主页面【大厂】
/// <summary>
/// <returns></returns>


+ 10
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs Voir le fichier

@@ -46,6 +46,16 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{
return View();
}
/// <summary>
///
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult Indexbank()
{
return View("Index");
}
[HttpGet]
public ActionResult IndexDC()
{


+ 15
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml Voir le fichier

@@ -41,7 +41,7 @@
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">疫情状态</div>
<div id="HealthStatus" ></div>
<div id="HealthStatus"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">政治面貌</div>
@@ -54,8 +54,8 @@
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">健康状况</div>
<div id="HealthStatusNo"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic">
</div>
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">户口分类</div>
<div id="ResidenceNo"></div>
</div>
@@ -79,6 +79,18 @@
<div class="lr-form-item-title">E-mail</div>
<input id="EMail" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">开户银行<font face="宋体">*</font></div>
<div id="DepositBank" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">开户卡账号<font face="宋体">*</font></div>
<input id="BankCard" type="text" class="form-control" isvalid="yes" checkexpession="BankCard" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">开户银行位置</div>
<input id="BankLocation" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">通信地址<font face="宋体">*</font></div>
<input id="MailAddress" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js Voir le fichier

@@ -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) {


+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js Voir le fichier

@@ -198,7 +198,6 @@ var bootstrap = function ($, learun) {




},
initData: function () {
if (!!keyValue) {


+ 4
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js Voir le fichier

@@ -351,7 +351,10 @@ var bootstrap = function ($, learun) {
formatter: function (cellvalue) {
return cellvalue == "1" ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-danger\">未审核</span>";
}
}
},
{ 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,


+ 12
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml Voir le fichier

@@ -129,7 +129,18 @@
<div class="lr-form-item-title">精准贫困户</div>
<div id="IsPoor"></div>
</div>

<div class="col-xs-6 lr-form-item" data-table="StuInfoFresh" >
<div class="lr-form-item-title">开户银行<font face="宋体">*</font></div>
<div id="DepositBank" isvalid="yes" checkexpession="NotNull" ></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoFresh" >
<div class="lr-form-item-title">银行卡账号<font face="宋体">*</font></div>
<input id="BankCard" type="text" class="form-control" isvalid="yes" checkexpession="BankCard" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoFresh" >
<div class="lr-form-item-title">开户银行位置</div>
<input id="BankLocation" type="text" class="form-control" />
</div>

<div class="col-xs-12" id="photoBox">
<div id="photoBtn" class="btn btn-default ">拍照</div>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js Voir le fichier

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


+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js Voir le fichier

@@ -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,


+ 11
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js Voir le fichier

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

+ 15
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs Voir le fichier

@@ -708,7 +708,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[Column("TWOPOSITION")]
public string TwoPosition { get; set; }

/// <summary>
/// 开户银行
/// </summary>
[Column("DEPOSITBANK")]
public string DepositBank { get; set; }
/// <summary>
/// 银行卡账号
/// </summary>
[Column("BANKCARD")]
public string BankCard { get; set; }
/// <summary>
/// 开户银行位置
/// </summary>
[Column("BANKLOCATION")]
public string BankLocation { get; set; }
#endregion

#region 扩展操作


+ 15
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs Voir le fichier

@@ -597,6 +597,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// <returns></returns>
[Column("ISINBASIC")]
public bool? IsInBasic { get; set; }
/// <summary>
/// 开户银行
/// </summary>
[Column("DEPOSITBANK")]
public string DepositBank { get; set; }
/// <summary>
/// 银行卡账号
/// </summary>
[Column("BANKCARD")]
public string BankCard { get; set; }
/// <summary>
/// 开户银行位置
/// </summary>
[Column("BANKLOCATION")]
public string BankLocation { get; set; }

#endregion



Chargement…
Annuler
Enregistrer