|
|
@@ -167,32 +167,33 @@ var bootstrap = function ($, learun) { |
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/Exam_ExamLesson/GetPageList', |
|
|
|
headData: [ |
|
|
|
{ label: "学年", name: "AcademicYearNo", width: 100, align: "left" }, |
|
|
|
{ label: "学期", name: "Semester", width: 100, 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: "MajorNo", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'majorno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['majorname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "学期", name: "Semester", width: 100, 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: "MajorNo", width: 100, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo', |
|
|
|
// key: value, |
|
|
|
// keyId: 'majorno', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['majorname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
{ label: "年级", name: "Grade", width: 50, align: "left" }, |
|
|
|
{ label: "课程编号", name: "LessonNo", width: 100, align: "left" }, |
|
|
|
{ label: "课程名称", name: "LessonName", width: 200, align: "left" }, |
|
|
@@ -207,7 +208,7 @@ var bootstrap = function ($, learun) { |
|
|
|
mainId: 'ELId', |
|
|
|
isMultiselect: true, |
|
|
|
isPage: true, |
|
|
|
sidx: 'AcademicYearNo desc,Semester desc,ELOrder asc' |
|
|
|
sidx: 'AcademicYearNo desc,Semester desc,ELOrder asc,LessonNo asc' |
|
|
|
}); |
|
|
|
page.search(); |
|
|
|
}, |
|
|
|