Explorar el Código

学生学籍信息 : 添加监护人,联系电话,关系

临城职教中职
ndbs hace 2 años
padre
commit
4c98c7c4eb
Se han modificado 3 ficheros con 45 adiciones y 17 borrados
  1. +27
    -15
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml
  2. +3
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  3. +15
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs

+ 27
- 15
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.cshtml Ver fichero

@@ -58,8 +58,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>
@@ -99,22 +99,34 @@
<div class="lr-form-item-title">档案所在地</div>
<input id="MatherUnit" 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>
<input id="FatherName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">父亲电话<font face="宋体">*</font></div>
<input id="FatherPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">监护人姓名<font face="宋体">*</font></div>
<input id="Guardian" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">母亲姓名<font face="宋体">*</font></div>
<input id="MatherName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">监护人联系方式<font face="宋体">*</font></div>
<input id="GuardianPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">母亲电话<font face="宋体">*</font></div>
<input id="MatherPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
<div class="col-xs-4 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">与监护人关系<font face="宋体">*</font></div>
<div id="GuardianType" type="text" class="form-control" 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="FatherName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">父亲电话<font face="宋体">*</font></div>
<input id="FatherPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">母亲姓名<font face="宋体">*</font></div>
<input id="MatherName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">母亲电话<font face="宋体">*</font></div>
<input id="MatherPhone" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>*@
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic">
<div class="lr-form-item-title">家庭出身</div>
<div id="FamilyOriginNo"></div>


+ 3
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js Ver fichero

@@ -15,10 +15,11 @@ var bootstrap = function ($, learun) {
page.bind();
page.initData();
page.hide();
},
},
hide: function () {
if (isStudent == "1") {
$("#StuName").parent().hide();
$("#GuardianType").parent().hide();
$("#IdentityCardNo").parent().hide();
$("#StuNo").parent().hide();
$("#ClassNo").parent().hide();
@@ -104,6 +105,7 @@ var bootstrap = function ($, learun) {
value: 'value',
text: 'text'
});
$('#GuardianType').lrDataItemSelect({ code: 'GuardianType' });
$('#HealthStatus').lrDataItemSelect({ code: 'QRCodeHealthStatus' });
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#NationalityNo').lrDataItemSelect({ code: 'National' });


+ 15
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs Ver fichero

@@ -712,8 +712,22 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// 省编学号
/// </summary>
[Column("PROVINCECODE")]

public string ProvinceCode { get; set; }
/// <summary>
/// 监护人
/// </summary>
[Column("GUARDIAN")]
public string Guardian { get; set; }
/// <summary>
/// 监护人电话
/// </summary>
[Column("GUARDIANPHONE")]
public string GuardianPhone { get; set; }
/// <summary>
/// 监护人与被监护人的关系
/// </summary>
[Column("GUARDIANTYPE")]
public string GuardianType { get; set; }

#endregion



Cargando…
Cancelar
Guardar