var CampusID, CollegeID, GradeID, StandardID, EducationID, LearningformID, LearnSystem, ClassmajorID, IsPhoto, ReportStatus, PlanningGraduateDate, InSchoolStatus, UserIDs, UniversityName, ConditionString, StudentGraAppraiseReportName, StudentPPraAppraiseReportName, LoginUserID, DataRangeID, Url, 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; } StudentGraAppraiseReportName = reportParameter.StudentGraAppraiseReportName; StudentPPraAppraiseReportName = reportParameter.StudentPPraAppraiseReportName; UniversityName = universityName; LoginUserID = loginUserID; DataRangeID = dataRangeID; Url = localhostPaht; 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 (StudentGraAppraiseReportName == "" || StudentGraAppraiseReportName == null) StudentGraAppraiseReportName = "DefaultGraduateAppraise"; if (StudentPPraAppraiseReportName == "" || StudentPPraAppraiseReportName == null) StudentPPraAppraiseReportName = "DefaultPostPracticeAppraise"; StudentAppraiseReport(); } function StudentAppraiseReport() { 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, Url: Url }; var studentAppraiseReportID = $("#DictionaryStudentAppraiseReport").combobox("getValue"); if (studentAppraiseReportID == graduateAppraise) { var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + StudentGraAppraiseReportName; $("#reportContent").attr("src", str); } else if (studentAppraiseReportID == postPracticeAppraise) { var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + StudentPPraAppraiseReportName; $("#reportContent").attr("src", str); } else { var str = ""; $("#reportContent").attr("src", str); } }