@@ -10,6 +10,10 @@ | |||||
<div class="col-xs-12 lr-form-item" data-table="StuEncourgement"> | <div class="col-xs-12 lr-form-item" data-table="StuEncourgement"> | ||||
<div class="lr-form-item-title">姓名<font face="宋体">*</font></div> | <div class="lr-form-item-title">姓名<font face="宋体">*</font></div> | ||||
<input id="StuName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly" /> | <input id="StuName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" readonly="readonly" /> | ||||
<input id="ClassNo" hidden="hidden"/> | |||||
<input id="MajorNo" hidden="hidden"/> | |||||
<input id="DeptNo" hidden="hidden"/> | |||||
<input id="Grade" hidden="hidden"/> | |||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item" data-table="StuEncourgement"> | <div class="col-xs-12 lr-form-item" data-table="StuEncourgement"> | ||||
<div class="lr-form-item-title">学年<font face="宋体">*</font></div> | <div class="lr-form-item-title">学年<font face="宋体">*</font></div> | ||||
@@ -90,6 +90,10 @@ var bootstrap = function ($, learun) { | |||||
], | ], | ||||
select: function (item) { | select: function (item) { | ||||
$("#StuName").val(item.stuname); | $("#StuName").val(item.stuname); | ||||
$("#ClassNo").val(item.classno); | |||||
$("#MajorNo").val(item.majorno); | |||||
$("#DeptNo").val(item.deptno); | |||||
$("#Grade").val(item.grade); | |||||
} | } | ||||
}); | }); | ||||
@@ -106,6 +106,26 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
/// </summary> | /// </summary> | ||||
[Column("CHECKMARK")] | [Column("CHECKMARK")] | ||||
public string CheckMark { get; set; } | public string CheckMark { get; set; } | ||||
/// <summary> | |||||
/// 年级 | |||||
/// </summary> | |||||
[Column("GRADE")] | |||||
public string Grade { get; set; } | |||||
/// <summary> | |||||
/// 系所代码 | |||||
/// </summary> | |||||
[Column("DEPTNO")] | |||||
public string DeptNo { get; set; } | |||||
/// <summary> | |||||
/// 专业代码 | |||||
/// </summary> | |||||
[Column("MAJORNO")] | |||||
public string MajorNo { get; set; } | |||||
/// <summary> | |||||
/// 行政班号 | |||||
/// </summary> | |||||
[Column("CLASSNO")] | |||||
public string ClassNo { get; set; } | |||||
#endregion | #endregion | ||||
#region 扩展操作 | #region 扩展操作 | ||||