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

【修改】教师信息-专业技术职务经历:增加附件;

塔里木分支
dyy 3 месяцев назад
Родитель
Сommit
850820d0ed
3 измененных файлов: 21 добавлений и 11 удалений
  1. +15
    -11
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_TechnicalPost/Form.cshtml
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_TechnicalPost/Form.js
  3. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PM_TechnicalPost/PM_TechnicalPostEntity.cs

+ 15
- 11
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_TechnicalPost/Form.cshtml Просмотреть файл

@@ -3,29 +3,33 @@
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap">
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost" >
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost">
<div class="lr-form-item-title">技术职务名称<font face="宋体">*</font></div>
<input id="TPName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost" >
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost">
<div class="lr-form-item-title">专业</div>
<input id="Major" type="text" class="form-control" />
<input id="Major" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost" >
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost">
<div class="lr-form-item-title">证书编号</div>
<input id="CertificateNo" type="text" class="form-control" />
<input id="CertificateNo" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost" >
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost">
<div class="lr-form-item-title">取得时间</div>
<input id="GetTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#GetTime').trigger('change'); } })" />
<input id="GetTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#GetTime').trigger('change'); } })" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost" >
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost">
<div class="lr-form-item-title">聘任时间</div>
<input id="AppointmentTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#AppointmentTime').trigger('change'); } })" />
<input id="AppointmentTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm',onpicked: function () { $('#AppointmentTime').trigger('change'); } })" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost" >
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost">
<div class="lr-form-item-title">发证机关</div>
<input id="CertificationAuthority" type="text" class="form-control" />
<input id="CertificationAuthority" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="PM_TechnicalPost">
<div class="lr-form-item-title">证书附件</div>
<div id="Files"></div>
</div>
</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/PM_TechnicalPost/Form.js")

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_TechnicalPost/Form.js Просмотреть файл

@@ -16,6 +16,7 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
$('#Files').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/PM_TechnicalPost/PM_TechnicalPostEntity.cs Просмотреть файл

@@ -64,6 +64,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[Column("UPDATETIME")]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 证书附件
/// </summary>
[Column("FILES")]
public string Files { get; set; }
#endregion

#region 扩展操作


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