Переглянути джерело

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

临城职教中职
dyy 2 роки тому
джерело
коміт
35731f12a8
3 змінених файлів з 11 додано та 2 видалено
  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 Переглянути файл

@@ -35,7 +35,11 @@
</div>
<div class="col-xs-12 lr-form-item" data-table="Acc_StuDayRoutine">
<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>
@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 Переглянути файл

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


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_StuDayRoutine/Acc_StuDayRoutineEntity.cs Переглянути файл

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

#region 扩展操作


Завантаження…
Відмінити
Зберегти