|
|
@@ -137,7 +137,7 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
// 初始化列表 |
|
|
|
initGird: function () { |
|
|
|
$('#gridtable').lrAuthorizeJfGrid({ |
|
|
|
$('#gridtable').jfGrid({ |
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/ClassPlanTeach/GetPageList', |
|
|
|
headData: [ |
|
|
|
{ |
|
|
@@ -194,19 +194,20 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
{ label: "年级", name: "Grade", width: 50, align: "left" }, |
|
|
|
{ label: "课程编码", name: "LessonNo", width: 200, align: "left" }, |
|
|
|
{ |
|
|
|
label: "课程名称", name: "LessonNo", width: 200, 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: 200, align: "left" }, |
|
|
|
//{ |
|
|
|
// label: "课程名称", name: "LessonNo", width: 200, 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: "StuNum", width: 80, align: "left" }, |
|
|
|
{ label: "上机课时", name: "PracticeHour", width: 80, align: "left" }, |
|
|
|
{ label: "班级编号", name: "TeachClassNo", width: 80, align: "left" }, |
|
|
|