浏览代码

学生奖励添加 班级等属性

临城职教中职
ndbs 2 年前
父节点
当前提交
1a4c8d2147
共有 3 个文件被更改,包括 28 次插入0 次删除
  1. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEncourgement/Form.cshtml
  2. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEncourgement/Form.js
  3. +20
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuEncourgement/StuEncourgementEntity.cs

+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEncourgement/Form.cshtml 查看文件

@@ -10,6 +10,10 @@
<div class="col-xs-12 lr-form-item" data-table="StuEncourgement">
<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="ClassNo" hidden="hidden"/>
<input id="MajorNo" hidden="hidden"/>
<input id="DeptNo" hidden="hidden"/>
<input id="Grade" hidden="hidden"/>
</div>
<div class="col-xs-12 lr-form-item" data-table="StuEncourgement">
<div class="lr-form-item-title">学年<font face="宋体">*</font></div>


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEncourgement/Form.js 查看文件

@@ -90,6 +90,10 @@ var bootstrap = function ($, learun) {
],
select: function (item) {
$("#StuName").val(item.stuname);
$("#ClassNo").val(item.classno);
$("#MajorNo").val(item.majorno);
$("#DeptNo").val(item.deptno);
$("#Grade").val(item.grade);
}

});


+ 20
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuEncourgement/StuEncourgementEntity.cs 查看文件

@@ -106,6 +106,26 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[Column("CHECKMARK")]
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

#region 扩展操作


正在加载...
取消
保存