|
|
@@ -24,7 +24,7 @@ var bootstrap = function ($, learun) { |
|
|
|
return; |
|
|
|
} |
|
|
|
page.search(queryJson); |
|
|
|
}, 250, 400); |
|
|
|
}, 300, 400); |
|
|
|
$('#AcademicYearNo').lrselect({ |
|
|
|
placeholder: "请选择学年", |
|
|
|
allowSearch: true, |
|
|
@@ -46,6 +46,13 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' }); |
|
|
|
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' }); |
|
|
|
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); |
|
|
|
$('#LessonNo').lrselect({ |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=LessonInfo', |
|
|
|
param: { strWhere: "1=1 AND LessonSortNo='2' " }, |
|
|
|
value: "lessonno", |
|
|
|
text: "lessonname" |
|
|
|
}); |
|
|
|
// 刷新 |
|
|
|
$('#lr_refresh').on('click', function () { |
|
|
|
location.reload(); |
|
|
@@ -174,11 +181,12 @@ var bootstrap = function ($, learun) { |
|
|
|
{ |
|
|
|
label: "上课节次", name: "LessonSection", width: 150, align: "left", |
|
|
|
formatter: function (cellvalue, row) { |
|
|
|
if (cellvalue != "") { |
|
|
|
if (cellvalue.indexOf(',') == -1) |
|
|
|
if (cellvalue != "" && cellvalue != undefined && cellvalue != null) { |
|
|
|
if (cellvalue.indexOf(',') == -1) { |
|
|
|
return "星期" + weekChina[cellvalue.slice(0, 1) - 1] + "第" + cellvalue.slice(1) + "节"; |
|
|
|
else |
|
|
|
} else { |
|
|
|
return "星期" + weekChina[cellvalue.slice(0, 1) - 1] + "第" + cellvalue.slice(1, 2) + "、" + cellvalue.slice(4) + "节"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|