var CampusID, CollegeID, GradeID, StandardID, EducationID, LearningformID, LearnSystem, ClassmajorID, IsPhoto, ReportStatus, PlanningGraduateDate, InSchoolStatus, UserIDs, UniversityName, ConditionString, LearningProveReportName, RiseOnlyThisProveReportName, GraduateProveReportName, LoginUserID, DataRangeID, isWindowCanClose = false; $.parser.onComplete = function (context) { var windowID = $.SystemGeneral.getUrlParam("WindowID"); var reportParameter = top.$('#' + windowID).data("inputData"); UserIDs = reportParameter.UserIDs; if (UserIDs == "" || UserIDs == null) { CampusID = reportParameter.CampusID; CollegeID = reportParameter.CollegeID; GradeID = reportParameter.GradeID; StandardID = reportParameter.StandardID; EducationID = reportParameter.EducationID; LearningformID = reportParameter.LearningformID; LearnSystem = reportParameter.LearnSystem; ClassmajorID = reportParameter.ClassmajorID; IsPhoto = reportParameter.IsPhoto; ReportStatus = reportParameter.ReportStatus; PlanningGraduateDate = reportParameter.PlanningGraduateDate; InSchoolStatus = reportParameter.InSchoolStatus; ConditionString = reportParameter.ConditionString; } else { CampusID = null; CollegeID = null; GradeID = null; StandardID = null; EducationID = null; LearningformID = null; LearnSystem = null; ClassmajorID = null; IsPhoto = null; ReportStatus = null; PlanningGraduateDate = null; InSchoolStatus = null; ConditionString = null; } LearningProveReportName = reportParameter.LearningProveReportName; RiseOnlyThisProveReportName = reportParameter.RiseOnlyThisProveReportName; GraduateProveReportName = reportParameter.GraduateProveReportName; UniversityName = universityName; LoginUserID = loginUserID; DataRangeID = dataRangeID; if (CampusID == nonSelect || CampusID == "") CampusID = null; if (CollegeID == nonSelect || CollegeID == "") CollegeID = null; if (GradeID == nonSelect || GradeID == "") GradeID = 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 (ClassmajorID == nonSelect || ClassmajorID == "") ClassmajorID = null; if (IsPhoto == nonSelect || IsPhoto == "") IsPhoto = null; if (ReportStatus == nonSelect || ReportStatus == "") ReportStatus = null; if (PlanningGraduateDate == nonSelect || PlanningGraduateDate == "") PlanningGraduateDate = null; if (InSchoolStatus == nonSelect || InSchoolStatus == "") InSchoolStatus = null; if (ConditionString == nonSelect || ConditionString == "") ConditionString = null; if (LearningProveReportName == "" || LearningProveReportName == null) LearningProveReportName = "DefaultLearningProve"; if (RiseOnlyThisProveReportName == "" || RiseOnlyThisProveReportName == null) RiseOnlyThisProveReportName = "DefaultRiseOnlyThisProve"; if (GraduateProveReportName == "" || GraduateProveReportName == null) GraduateProveReportName = "DefaultGraduateProve"; StudentProveReport(); } function StudentProveReport() { top.ReportParameter = { CampusID: CampusID, CollegeID: CollegeID, GradeID: GradeID, StandardID: StandardID, EducationID: EducationID, LearningformID: LearningformID, LearnSystem: LearnSystem, ClassmajorID: ClassmajorID, IsPhoto: IsPhoto, ReportStatus: ReportStatus, PlanningGraduateDate: PlanningGraduateDate, InSchoolStatus: InSchoolStatus, UserIDs: UserIDs, ConditionString: ConditionString, LoginUserID: LoginUserID, DataRangeID: DataRangeID, UniversityName: UniversityName }; var studentProveReportID = $("#DictionaryStudentProveReport").combobox("getValue"); if (studentProveReportID == learning) { var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + LearningProveReportName; $("#reportContent").attr("src", str); } else if (studentProveReportID == riseOnlyThis) { var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + RiseOnlyThisProveReportName; $("#reportContent").attr("src", str); } else if (studentProveReportID == graduate) { var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + GraduateProveReportName; $("#reportContent").attr("src", str); } else { var str = ""; $("#reportContent").attr("src", str); } }