1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- var CollegeID, YearID, ClassmajorID, SchoolyearID, StandardID, EducationID, LearningformID, LearnSystem, CoursematerialID, CourseTypeID, ExamsCategoryID, StarttermBegin, StarttermEnd, UserIDs, LoginCollegeID, loginCampusID, LoginClassmajorID;
- $.parser.onComplete = function (context) {
- var jsonString = "";
- var parameterString = "";
- var windowID = $.SystemGeneral.getUrlParam("WindowID");
- reportParameter = top.$('#' + windowID).data("inputData");
- CollegeID = reportParameter.CollegeID;
- YearID = reportParameter.YearID;
- ClassmajorID = reportParameter.ClassmajorID;
- SchoolyearID = reportParameter.SchoolYearID;
- StandardID = reportParameter.StandardID;
- EducationID = reportParameter.Education;
- LearningformID = reportParameter.LearningFormID;
- LearnSystem = reportParameter.LearnSystem;
- CoursematerialID = reportParameter.CoursematerialID;
- CourseTypeID = reportParameter.CourseTypeID;
- ExamsCategoryID = reportParameter.ExamsCategoryID;
- StarttermBegin = reportParameter.StarttermBegin;
- StarttermEnd = reportParameter.StarttermEnd;
- UserIDs = reportParameter.Ids;
- ConditionString = " and " + reportParameter.ConditionString;
- if (CollegeID == nonSelect || CollegeID == "") CollegeID = null;
- if (YearID == nonSelect || YearID == "") YearID = null;
- if (ClassmajorID == nonSelect || ClassmajorID == "") ClassmajorID = null;
- if (SchoolyearID == nonSelect || SchoolyearID == "") SchoolyearID = null;
- if (StandardID == nonSelect || StandardID == "") StandardID = null;
- if (EducationID == nonSelect || EducationID == "") EducationID = null;
- if (LearningformID == nonSelect || LearningformID == "") LearningformID = null;
- if (LearnSystem == nonSelect || LearnSystem == "") LearnSystem = null;
- if (CoursematerialID == nonSelect || CoursematerialID == "") CoursematerialID = null;
- if (CourseTypeID == nonSelect || CourseTypeID == "") CourseTypeID = null;
- if (ExamsCategoryID == nonSelect || ExamsCategoryID == "") ExamsCategoryID = null;
- if (StarttermBegin == nonSelect || StarttermBegin == "") StarttermBegin = null;
- if (StarttermEnd == nonSelect || StarttermEnd == "") StarttermEnd = null;
- if (UserIDs == nonSelect || UserIDs == "") UserIDs = null;
- Report();
- }
- function Report() {
- if (loginCampusID == nonSelect || loginCampusID == "") loginCampusID = null;
- if (LoginCollegeID == nonSelect || LoginCollegeID == "") LoginCollegeID = null;
- if (LoginClassmajorID == nonSelect || LoginClassmajorID == "") LoginClassmajorID = null;
- top.ReportParameter = {
- CollegeID: CollegeID,
- YearID: YearID,
- ClassmajorID: ClassmajorID,
- SchoolyearID: SchoolyearID,
- StandardID: StandardID,
- EducationID: EducationID,
- LearningformID: LearningformID,
- LearnSystem: LearnSystem,
- CoursematerialID: CoursematerialID,
- CourseTypeID: CourseTypeID,
- ExamsCategoryID: ExamsCategoryID,
- StarttermBegin: StarttermBegin,
- StarttermEnd: StarttermEnd,
- UserIDs: UserIDs,
- ConditionString: ConditionString,
- loginCampusID: loginCampusID,
- LoginCollegeID: LoginCollegeID,
- LoginClassmajorID: LoginClassmajorID
- };
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fEducationResult%2fHBKDStudentFinallyScoreView";
- $("#reportContent").attr("src", str);
- }
|