|
|
@@ -186,9 +186,9 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
{ label: "课程简称", name: "EnName", width: 100, align: "left" }, |
|
|
|
{ label: "学分", name: "StudyScore", width: 50, align: "left" }, |
|
|
|
{ label: "周理论学时", name: "WeekStudyHour", width: 80, align: "left" }, |
|
|
|
{ label: "周实验学时", name: "WeekPracticeHour", width: 80, align: "left" }, |
|
|
|
{ label: "每周课时", name: "TotalStudyHour", width: 80, align: "left" }, |
|
|
|
{ label: "理论学时", name: "WeekStudyHour", width: 80, align: "left" }, |
|
|
|
{ label: "实训学时", name: "WeekPracticeHour", width: 80, align: "left" }, |
|
|
|
{ label: "周学时", name: "TotalStudyHour", width: 80, align: "left" }, |
|
|
|
{ |
|
|
|
label: "是否先修", name: "HaveBeforeLesson", width: 80, align: "left", |
|
|
|
formatter: function (cellvalue) { |
|
|
@@ -208,19 +208,19 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "修读对象", name: "WhoStudy", width: 120, 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: "WhoStudy", width: 120, 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: "LessonSortNo", width: 150, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|