|
|
@@ -162,18 +162,21 @@ var bootstrap = function ($, learun) { |
|
|
|
{ label: "学年", name: "AcademicYearNo", width: 45, align: "left" }, |
|
|
|
{ label: "学期", name: "Semester", width: 35, align: "left" }, |
|
|
|
{ label: "课程号", name: "LessonNo", width: 70, align: "left" }, |
|
|
|
//{ |
|
|
|
// label: "课程名称", name: "LessonNo2", width: 170, align: "left", |
|
|
|
// formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
// learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'LessonInfo', |
|
|
|
// key: value, |
|
|
|
// keyId: 'lessonno', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['lessonname']); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } |
|
|
|
//}, |
|
|
|
{ |
|
|
|
label: "课程名称", name: "LessonNo2", width: 170, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'LessonInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'lessonno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['lessonname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
label: "课程名称", name: "LessonName", width: 170, align: "left" |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "上课节次", name: "LessonSection", width: 100, align: "left", |
|
|
@@ -233,7 +236,7 @@ var bootstrap = function ($, learun) { |
|
|
|
], |
|
|
|
mainId: 'Id', |
|
|
|
isPage: true, |
|
|
|
sidx: 'AcademicYearNo,Semester', |
|
|
|
sidx: 'AcademicYearNo DESC, Semester DESC, LessonName ASC', |
|
|
|
sord: 'desc' |
|
|
|
}); |
|
|
|
page.search(); |
|
|
|