|
|
@@ -15,7 +15,7 @@ var bootstrap = function ($, learun) { |
|
|
|
bind: function () { |
|
|
|
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { |
|
|
|
page.search(queryJson); |
|
|
|
}, 220, 400); |
|
|
|
}, 245, 400); |
|
|
|
$('#AcademicYearNo').lrselect({ |
|
|
|
placeholder: "学年", |
|
|
|
allowSearch: true, |
|
|
@@ -35,6 +35,7 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#lr_refresh').on('click', function () { |
|
|
|
location.reload(); |
|
|
|
}); |
|
|
|
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); |
|
|
|
// 新增 |
|
|
|
$('#lr_add').on('click', function () { |
|
|
|
learun.layerForm({ |
|
|
@@ -157,7 +158,20 @@ var bootstrap = function ($, learun) { |
|
|
|
headData: [ |
|
|
|
{ label: "学年", name: "AcademicYearNo", width: 100, align: "left" }, |
|
|
|
{ label: "学期", name: "Semester", width: 100, align: "left" }, |
|
|
|
{ label: "学生学号", name: "StuNo", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "班级", name: "ClassNo", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj', |
|
|
|
key: value, |
|
|
|
keyId: 'classno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['classname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "学生编号", name: "StuNo", width: 100, align: "left" }, |
|
|
|
{ label: "学生姓名", name: "StuName", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "考试类型", name: "ESType", width: 100, align: "left", |
|
|
|