Parcourir la source

学生奖励添加 班级等属性

临城职教中职
ndbs il y a 2 ans
Parent
révision
1a4c8d2147
3 fichiers modifiés avec 28 ajouts et 0 suppressions
  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 Voir le fichier

@@ -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 Voir le fichier

@@ -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 Voir le fichier

@@ -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 扩展操作


Chargement…
Annuler
Enregistrer