@@ -39,6 +39,15 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||||
return View(); | return View(); | ||||
} | } | ||||
/// <summary> | /// <summary> | ||||
/// 银行 | |||||
/// <summary> | |||||
/// <returns></returns> | |||||
[HttpGet] | |||||
public ActionResult IndexBank() | |||||
{ | |||||
return View("Index"); | |||||
} | |||||
/// <summary> | |||||
/// 主页面【大厂】 | /// 主页面【大厂】 | ||||
/// <summary> | /// <summary> | ||||
/// <returns></returns> | /// <returns></returns> | ||||
@@ -46,6 +46,16 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||||
{ | { | ||||
return View(); | return View(); | ||||
} | } | ||||
/// <summary> | |||||
/// | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[HttpGet] | |||||
public ActionResult Indexbank() | |||||
{ | |||||
return View("Index"); | |||||
} | |||||
[HttpGet] | [HttpGet] | ||||
public ActionResult IndexDC() | public ActionResult IndexDC() | ||||
{ | { | ||||
@@ -41,7 +41,7 @@ | |||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | <div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | ||||
<div class="lr-form-item-title">疫情状态</div> | <div class="lr-form-item-title">疫情状态</div> | ||||
<div id="HealthStatus" ></div> | |||||
<div id="HealthStatus"></div> | |||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | <div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | ||||
<div class="lr-form-item-title">政治面貌</div> | <div class="lr-form-item-title">政治面貌</div> | ||||
@@ -54,8 +54,8 @@ | |||||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | <div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | ||||
<div class="lr-form-item-title">健康状况</div> | <div class="lr-form-item-title">健康状况</div> | ||||
<div id="HealthStatusNo"></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 class="lr-form-item-title">户口分类</div> | ||||
<div id="ResidenceNo"></div> | <div id="ResidenceNo"></div> | ||||
</div> | </div> | ||||
@@ -79,6 +79,18 @@ | |||||
<div class="lr-form-item-title">E-mail</div> | <div class="lr-form-item-title">E-mail</div> | ||||
<input id="EMail" type="text" class="form-control" /> | <input id="EMail" type="text" class="form-control" /> | ||||
</div> | </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="col-xs-12 lr-form-item" data-table="StuInfoBasic"> | ||||
<div class="lr-form-item-title">通信地址<font face="宋体">*</font></div> | <div class="lr-form-item-title">通信地址<font face="宋体">*</font></div> | ||||
<input id="MailAddress" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | <input id="MailAddress" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | ||||
@@ -55,6 +55,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}, | }, | ||||
bind: function () { | bind: function () { | ||||
$('#DepositBank').lrDataItemSelect({ code: 'DepositBank' }); | |||||
$('#F_ProvinceId').lrDataSourceSelect({ | $('#F_ProvinceId').lrDataSourceSelect({ | ||||
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', | code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', | ||||
select: function (item) { | select: function (item) { | ||||
@@ -168,6 +169,7 @@ var bootstrap = function ($, learun) { | |||||
learun.alert.error('请先选择系和专业'); | learun.alert.error('请先选择系和专业'); | ||||
} | } | ||||
}); | }); | ||||
}, | }, | ||||
initData: function () { | initData: function () { | ||||
if (!!keyValue) { | if (!!keyValue) { | ||||
@@ -198,7 +198,6 @@ var bootstrap = function ($, learun) { | |||||
}, | }, | ||||
initData: function () { | initData: function () { | ||||
if (!!keyValue) { | if (!!keyValue) { | ||||
@@ -351,7 +351,10 @@ var bootstrap = function ($, learun) { | |||||
formatter: function (cellvalue) { | formatter: function (cellvalue) { | ||||
return cellvalue == "1" ? "<span class=\"label label-success\">已审核</span>" : "<span class=\"label label-danger\">未审核</span>"; | 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', | mainId: 'StuId', | ||||
isPage: true, | isPage: true, | ||||
@@ -129,7 +129,18 @@ | |||||
<div class="lr-form-item-title">精准贫困户</div> | <div class="lr-form-item-title">精准贫困户</div> | ||||
<div id="IsPoor"></div> | <div id="IsPoor"></div> | ||||
</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 class="col-xs-12" id="photoBox"> | ||||
<div id="photoBtn" class="btn btn-default ">拍照</div> | <div id="photoBtn" class="btn btn-default ">拍照</div> | ||||
@@ -15,6 +15,7 @@ var bootstrap = function ($, learun) { | |||||
page.initData(); | page.initData(); | ||||
}, | }, | ||||
bind: function () { | bind: function () { | ||||
$('#DepositBank').lrDataItemSelect({ code: 'DepositBank' }); | |||||
$("#GenderNo").lrDataItemSelect({ code: 'usersex' }); | $("#GenderNo").lrDataItemSelect({ code: 'usersex' }); | ||||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | $('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | ||||
$("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' }); | $("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' }); | ||||
@@ -321,6 +321,9 @@ var bootstrap = function ($, learun) { | |||||
{ label: '数学', name: 'MathScore', width: 100, align: "left" }, | { label: '数学', name: 'MathScore', width: 100, align: "left" }, | ||||
{ label: '英语', name: 'ForeignLangScore', width: 100, align: "left" }, | { label: '英语', name: 'ForeignLangScore', width: 100, align: "left" }, | ||||
{ label: '综合', name: 'ComprehensiveScore', 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', | mainId: 'ID', | ||||
isPage: true, | isPage: true, | ||||
@@ -38,9 +38,19 @@ | |||||
} | } | ||||
return res; | 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) {// 验证数字 | isNum: function (obj) {// 验证数字 | ||||
return learun.validator.validReg(obj, /^[-+]?\d+$/, '必须为数字'); | return learun.validator.validReg(obj, /^[-+]?\d+$/, '必须为数字'); | ||||
}, | }, | ||||
isPositiveInteger: function (obj) {// 正整数 | isPositiveInteger: function (obj) {// 正整数 | ||||
return learun.validator.validReg(obj, /^[1-9]\d*$/, '必须为正整数'); | return learun.validator.validReg(obj, /^[1-9]\d*$/, '必须为正整数'); | ||||
}, | }, | ||||
@@ -201,7 +211,7 @@ | |||||
res.msg = '必须小于等于' + n + '位字符或空'; | res.msg = '必须小于等于' + n + '位字符或空'; | ||||
} | } | ||||
return res; | return res; | ||||
} | |||||
}, | |||||
}; | }; | ||||
})(window.jQuery, top.learun); | })(window.jQuery, top.learun); |
@@ -708,7 +708,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
/// </summary> | /// </summary> | ||||
[Column("TWOPOSITION")] | [Column("TWOPOSITION")] | ||||
public string TwoPosition { get; set; } | 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 | #endregion | ||||
#region 扩展操作 | #region 扩展操作 | ||||
@@ -597,6 +597,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
/// <returns></returns> | /// <returns></returns> | ||||
[Column("ISINBASIC")] | [Column("ISINBASIC")] | ||||
public bool? IsInBasic { get; set; } | 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 | #endregion | ||||