Browse Source

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

长阳分支中职
ndbs 2 weeks ago
parent
commit
e70d8a765a
3 changed files with 14 additions and 2 deletions
  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 View File

@@ -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 View File

@@ -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 View File

@@ -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…
Cancel
Save