Просмотр исходного кода

学生奖励添加 班级等属性

临城职教中职
ndbs 2 лет назад
Родитель
Сommit
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 扩展操作


Загрузка…
Отмена
Сохранить