|
|
@@ -19,7 +19,7 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { |
|
|
|
page.search(queryJson); |
|
|
|
}, 220, 400); |
|
|
|
$('#DepartmentID').lrDataSourceSelect({ code: 'classdata', value: 'id', text: 'name' }); |
|
|
|
$('#UserID').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_userid', text: 'f_realname' }); |
|
|
|
// 刷新 |
|
|
|
$('#lr_refresh').on('click', function () { |
|
|
|
location.reload(); |
|
|
@@ -124,7 +124,7 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
search: function (param) { |
|
|
|
param = param || {}; |
|
|
|
param.DepartmentID = departmentId; |
|
|
|
//param.DepartmentID = departmentId; |
|
|
|
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); |
|
|
|
} |
|
|
|
}; |
|
|
|