|
|
@@ -321,6 +321,22 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
}, |
|
|
|
initGird: function () { |
|
|
|
$('#gridtable2').jfGrid({ |
|
|
|
headData: [ |
|
|
|
{ label: "学年", name: "AcademicYearNo", width: 100, align: "left" }, |
|
|
|
{ label: "学期", name: "Semester", width: 100, align: "left" }, |
|
|
|
{ label: "系部", name: "DeptNo", width: 100, align: "left" }, |
|
|
|
{ label: "专业", name: "MajorNo", width: 100, align: "left" }, |
|
|
|
{ label: "课程", name: "LessonNo", width: 100, align: "left" }, |
|
|
|
{ label: "班级", name: "TeachClassNo", width: 100, align: "left" }, |
|
|
|
{ label: "教师", name: "EmpNo", width: 100, align: "left" }, |
|
|
|
{ label: "教室", name: "ClassroomNo", width: 100, align: "left" }, |
|
|
|
], |
|
|
|
mainId: 'Id', |
|
|
|
isPage: true, |
|
|
|
//sord: 'desc', |
|
|
|
//sidx: 'CreateTime' |
|
|
|
}); |
|
|
|
//$('#gridtable').jfGrid({ |
|
|
|
// headData: [ |
|
|
|
// { label: "日期", name: "time", width: 100, align: "left" }, |
|
|
@@ -367,15 +383,18 @@ var bootstrap = function ($, learun) { |
|
|
|
//$('#gridtable1').jfGridSet('refreshdata', temprow.predata); |
|
|
|
//$('#gridtable'). |
|
|
|
} else { |
|
|
|
//$('#F_SchoolId').lrselectSet(temprow.schooldId); |
|
|
|
$('#AcademicYearNo').lrselectSet(temprow.academicyear); |
|
|
|
$('#Semester').lrselectSet(temprow.semester); |
|
|
|
$('#DeptNo').lrselectSet(temprow.deptNo); |
|
|
|
$('#MajorNo').lrselectSet(temprow.majorNo); |
|
|
|
$('#LessonNo').lrselectSet(temprow.lessonNo); |
|
|
|
$('#TeachClassNo').lrselectSet(temprow.teachClassNo); |
|
|
|
$('#EmpNo').lrselectSet(temprow.empno); |
|
|
|
$('#ClassroomNo').lrselectSet(temprow.classRoomNo); |
|
|
|
for (var i = 0; i < temprow.length; i++) { |
|
|
|
|
|
|
|
//$('#F_SchoolId').lrselectSet(temprow.schooldId); |
|
|
|
$('#AcademicYearNo').lrselectSet(temprow[i].academicyear); |
|
|
|
$('#Semester').lrselectSet(temprow[i].semester); |
|
|
|
$('#DeptNo').lrselectSet(temprow[i].deptNo); |
|
|
|
$('#MajorNo').lrselectSet(temprow[i].majorNo); |
|
|
|
$('#LessonNo').lrselectSet(temprow[i].lessonNo); |
|
|
|
$('#TeachClassNo').lrselectSet(temprow[i].teachClassNo); |
|
|
|
$('#EmpNo').lrselectSet(temprow[i].empno); |
|
|
|
$('#ClassroomNo').lrselectSet(temprow[i].classRoomNo); |
|
|
|
} |
|
|
|
} |
|
|
|
page.query(); |
|
|
|
} |
|
|
|