Explorar el Código

教师证书管理添加附件

临城职教中职
ndbs hace 2 años
padre
commit
79b545074f
Se han modificado 3 ficheros con 11 adiciones y 1 borrados
  1. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Form.cshtml
  2. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Form.js
  3. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/TeacherCertificate/TeacherCertificateEntity.cs

+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Form.cshtml Ver fichero

@@ -36,5 +36,9 @@
<div class="lr-form-item-title">批准时间<font face="宋体">*</font></div>
<input id="TCTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#TCTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TeacherCertificate">
<div class="lr-form-item-title">批准文号</div>
<div id="FilePath"></div>
</div>
</div>
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/TeacherCertificate/Form.js")

+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Form.js Ver fichero

@@ -17,13 +17,14 @@ var bootstrap = function ($, learun) {
bind: function () {
$('#TCTypeID').lrDataItemSelect({ code: 'jszgzl' });
$('#TCNo').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_encode', text: 'f_realname' });
$('#FilePath').lrUploader();
},
initData: function () {
if (!!keyValue) {
$.lrSetForm(top.$.rootUrl + '/PersonnelManagement/TeacherCertificate/GetFormData?keyValue=' + keyValue, function (data) {
for (var id in data) {
if (!!data[id].length && data[id].length > 0) {
$('#' + id ).jfGridSet('refreshdata', data[id]);
$('#' + id).jfGridSet('refreshdata', data[id]);
}
else {
$('[data-table="' + id + '"]').lrSetFormData(data[id]);


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/TeacherCertificate/TeacherCertificateEntity.cs Ver fichero

@@ -64,6 +64,11 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// </summary>
[Column("TCNUM")]
public string TCNum { get; set; }
/// <summary>
/// 批准文号
/// </summary>
[Column("FILEPATH")]
public string FilePath { get; set; }
#endregion

#region 扩展操作


Cargando…
Cancelar
Guardar