|
|
@@ -45,11 +45,11 @@ var bootstrap = function ($, learun) { |
|
|
|
page.search(); |
|
|
|
} |
|
|
|
}); |
|
|
|
$('#TCName').lrselect({ |
|
|
|
$('#TCNo').lrselect({ |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=EmpInfo', |
|
|
|
param: { strWhere: "1=1 " }, |
|
|
|
value: "empid", |
|
|
|
value: "empno", |
|
|
|
text: "empname" |
|
|
|
}); |
|
|
|
$('#TCTypeID').lrDataItemSelect({ code: 'jszgzl' }); |
|
|
@@ -109,19 +109,8 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#gridtable').lrAuthorizeJfGrid({ |
|
|
|
url: top.$.rootUrl + '/PersonnelManagement/TeacherCertificate/GetPageList', |
|
|
|
headData: [ |
|
|
|
{ |
|
|
|
label: "教师姓名", name: "TCName", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'EmpInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'empid', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['empname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "教师编号", name: "TCNo", width: 150, align: "left" }, |
|
|
|
{ label: "教师姓名", name: "TCName", width: 100, align: "left" }, |
|
|
|
{ label: "证书名称", name: "TCType", width: 150, align: "left" }, |
|
|
|
{ label: "证书编号", name: "TCCode", width: 150, align: "left" }, |
|
|
|
{ |
|
|
@@ -141,7 +130,7 @@ var bootstrap = function ($, learun) { |
|
|
|
], |
|
|
|
mainId: 'TCID', |
|
|
|
isPage: true, |
|
|
|
sidx:'TCTime desc' |
|
|
|
sidx: 'TCTime desc' |
|
|
|
}); |
|
|
|
page.search(); |
|
|
|
}, |
|
|
|