瀏覽代碼

教师证书管理 [任教学科]改下拉

长阳分支中职
ndbs 2 週之前
父節點
當前提交
e70d8a765a
共有 3 個文件被更改,包括 14 次插入2 次删除
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Form.cshtml
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Form.js
  3. +12
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Index.js

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Form.cshtml 查看文件

@@ -22,7 +22,7 @@
</div>
<div class="col-xs-12 lr-form-item" data-table="TeacherCertificate">
<div class="lr-form-item-title">任教学科</div>
<input id="TCClass" type="text" class="form-control" />
<div id="TCClass"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="TeacherCertificate">
<div class="lr-form-item-title">批准单位</div>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Form.js 查看文件

@@ -18,6 +18,7 @@ var bootstrap = function ($, learun) {
$('#TCTypeID').lrDataItemSelect({ code: 'jszgzl' });
$('#TCNo').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_encode', text: 'f_realname' });
$('#FilePath').lrUploader();
$('#TCClass').lrDataItemSelect({ code: 'xkfl' });
},
initData: function () {
if (!!keyValue) {


+ 12
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/TeacherCertificate/Index.js 查看文件

@@ -125,7 +125,18 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "任教学科", name: "TCClass", width: 100, align: "left" },
{
label: "任教学科", name: "TCClass", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'xkfl',
callback: function (_data) {
callback(_data.text);
}
});
}
},
{ label: "批准时间", name: "TCTime", width: 100, align: "left" },
{ label: "批准单位", name: "TCUnit", width: 100, align: "left" },
{ label: "批准文号", name: "TCNum", width: 100, align: "left" },


Loading…
取消
儲存