|
|
@@ -72,13 +72,37 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#gridtable').lrAuthorizeJfGrid({ |
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/BookCard/GetPageList', |
|
|
|
headData: [ |
|
|
|
{ label: "借书证号", name: "LibraryCard", width: 100, align: "left"}, |
|
|
|
{ label: "借书人编号", name: "BorrowerID", width: 100, align: "left"}, |
|
|
|
{ label: "借书证号", name: "LibraryCard", width: 120, align: "left"}, |
|
|
|
{ label: "借书人编号", name: "BorrowerID", width: 120, align: "left"}, |
|
|
|
{ label: "借书数量", name: "AllowNum", width: 100, align: "left"}, |
|
|
|
{ label: "借书人类型", name: "BorrowerType", width: 100, align: "left"}, |
|
|
|
{ label: "办证时间", name: "RegistrationTime", width: 100, align: "left"}, |
|
|
|
{ label: "系部名称", name: "DeptNo", width: 100, align: "left"}, |
|
|
|
{ label: "校区名称", name: "CompanyID", width: 100, align: "left"}, |
|
|
|
{ label: "借书人类型", name: "BorrowerType", width: 120, align: "left"}, |
|
|
|
{ label: "办证时间", name: "RegistrationTime", width: 140, align: "left"}, |
|
|
|
{ |
|
|
|
label: "系部名称", name: "DeptNo", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'deptno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['deptname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "校区名称", name: "CompanyID", width: 200, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'company', |
|
|
|
key: value, |
|
|
|
keyId: 'f_companyid', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['f_fullname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "审核标志", name: "CheckMark", width: 100, align: "left"}, |
|
|
|
], |
|
|
|
mainId:'ID', |
|
|
|