|
|
@@ -174,39 +174,39 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "审批部门", name: "AuditDepartment", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', |
|
|
|
key: value, |
|
|
|
keyId: 'id', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['name']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "审批用户", name: "AuditUser", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'TeacherInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'f_userid', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['f_realname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "审批时间", name: "AuditTime", width: 100, align: "left" |
|
|
|
, formatter: function (cellvalue) { |
|
|
|
return learun.formatDate(cellvalue, 'yyyy-MM-dd hh-mm-ss'); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "审批备注", name: "AuditRemark", width: 100, align: "left" }, |
|
|
|
//{ |
|
|
|
// label: "审批部门", name: "AuditDepartment", width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', |
|
|
|
// key: value, |
|
|
|
// keyId: 'id', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['name']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: "审批用户", name: "AuditUser", width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'TeacherInfo', |
|
|
|
// key: value, |
|
|
|
// keyId: 'f_userid', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['f_realname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ |
|
|
|
// label: "审批时间", name: "AuditTime", width: 100, align: "left" |
|
|
|
// , formatter: function (cellvalue) { |
|
|
|
// return learun.formatDate(cellvalue, 'yyyy-MM-dd hh-mm-ss'); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
//{ label: "审批备注", name: "AuditRemark", width: 100, align: "left" }, |
|
|
|
], |
|
|
|
mainId: 'ID', |
|
|
|
isPage: true, |
|
|
|