var SchoolyearID; var CollegeID; var StandardID; var Year; var EducationID; var LearningformID; var IsDreamProject = ""; var LearnSystem; var GraduationTypeID; var ConditionString; var TempTableName; var classmajorID; var urlStr = location.href; var isWindowCanClose = false; function Report() { var ApprovalStatus = endStatusID; var userIDs = reportParameter.ids; classmajorID = null; top.ReportParameter = { GraduatingSemesterID: SchoolyearID, CollegeID: CollegeID, YearID: Year, StandardID: StandardID, EducationID: EducationID, LearningformID: LearningformID, LearnSystem: LearnSystem, IsDreamProject: IsDreamProject, ApprovalStatus: ApprovalStatus, GraduationTypeID: GraduationTypeID, ConditionString: ConditionString, ClassmajorID: classmajorID, UserIDs: userIDs, BackGroundImage: "../Images/GraduationImages/Certificate.png" }; var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fEducationResult%2fCertificate"; $("#reportContent").attr("src", str); isWindowCanClose = true; } $.parser.onComplete = function (context) { var jsonString = ""; var parameterString = ""; var windowID = $.SystemGeneral.getUrlParam("WindowID"); reportParameter = top.$('#' + windowID).data("inputData"); SchoolyearID = reportParameter.schoolyearID; CollegeID = reportParameter.collegeID; StandardID = reportParameter.standardID; Year = reportParameter.year; EducationID = reportParameter.educationID; LearningformID = reportParameter.learningformID; IsDreamProject = reportParameter.isDreamProject; LearnSystem = reportParameter.learnSystem; GraduationTypeID = reportParameter.graduationTypeID; ConditionString = " and " + reportParameter.conditionString; if (CollegeID == nonSelect) CollegeID = null; if (StandardID == nonSelect) StandardID = null; if (Year == nonSelect) Year = null; if (EducationID == nonSelect) EducationID = null; if (LearningformID == nonSelect) LearningformID = null; if (LearnSystem == nonSelect) LearnSystem = null; if (SchoolyearID == nonSelect) SchoolyearID = null; Report(); }