Przeglądaj źródła

【修改】学生日常规管理:增加附件上传;

临城职教中职
dyy 2 lat temu
rodzic
commit
35731f12a8
3 zmienionych plików z 11 dodań i 2 usunięć
  1. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_StuDayRoutine/Form.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_StuDayRoutine/Form.js
  3. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_StuDayRoutine/Acc_StuDayRoutineEntity.cs

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_StuDayRoutine/Form.cshtml Wyświetl plik

@@ -35,7 +35,11 @@
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="Acc_StuDayRoutine"> <div class="col-xs-12 lr-form-item" data-table="Acc_StuDayRoutine">
<div class="lr-form-item-title">奖扣分原因<font face="宋体">*</font></div> <div class="lr-form-item-title">奖扣分原因<font face="宋体">*</font></div>
<textarea id="Reason" class="form-control" isvalid="yes" checkexpession="NotNull" style="height:150px;"></textarea>
<textarea id="Reason" class="form-control" isvalid="yes" checkexpession="NotNull" style="height:150px;"></textarea>
</div>
<div class="col-xs-12 lr-form-item" data-table="Acc_StuDayRoutine">
<div class="lr-form-item-title">附件上传</div>
<div id="Files"></div>
</div> </div>
</div> </div>
@Html.AppendJsFile("/Areas/LogisticsManagement/Views/Acc_StuDayRoutine/Form.js") @Html.AppendJsFile("/Areas/LogisticsManagement/Views/Acc_StuDayRoutine/Form.js")

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_StuDayRoutine/Form.js Wyświetl plik

@@ -68,7 +68,7 @@ var bootstrap = function ($, learun) {
text: "classname" text: "classname"
}); });
$('#StuNo').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuno', text: 'stuname'}); $('#StuNo').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuno', text: 'stuname'});
$('#Files').lrUploader();
}, },
initData: function () { initData: function () {
if (!!keyValue) { if (!!keyValue) {


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_StuDayRoutine/Acc_StuDayRoutineEntity.cs Wyświetl plik

@@ -79,6 +79,11 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement
/// </summary> /// </summary>
[Column("MODIFYTIME")] [Column("MODIFYTIME")]
public DateTime? ModifyTime { get; set; } public DateTime? ModifyTime { get; set; }
/// <summary>
/// 附件上传
/// </summary>
[Column("FILES")]
public string Files { get; set; }
#endregion #endregion


#region 扩展操作 #region 扩展操作


Ładowanie…
Anuluj
Zapisz