var Attribute, CampusID, SchoolYearID, CollegeID, StandardID, LearningFormID, ClassmajorID, InSchoolStatus, IsGraduation, IsPhotos, LoginID, Condition, Value, UserIDs, ConditionString, ReportStatusID, Education, LearnSystem; $.parser.onComplete = function (context) { var jsonString = ""; var parameterString = ""; var windowID = $.SystemGeneral.getUrlParam("WindowID"); reportParameter = top.$('#' + windowID).data("inputData"); Attribute = reportParameter.Attribute; CampusID = reportParameter.CampusID; SchoolYearID = reportParameter.SchoolYearID; CollegeID = reportParameter.CollegeID; StandardID = reportParameter.StandardID; LearningFormID = reportParameter.LearningFormID; ClassmajorID = reportParameter.ClassmajorID; InSchoolStatus = reportParameter.InSchoolStatus; IsGraduation = reportParameter.IsGraduation; IsPhotos = reportParameter.IsPhotos; LoginID = reportParameter.LoginID; Condition = reportParameter.Condition; Value = reportParameter.Value; ReportStatusID = reportParameter.ReportStatusID, Education = reportParameter.Education, LearnSystem = reportParameter.LearnSystem, UserIDs = reportParameter.Ids; ConditionString = " and " + reportParameter.ConditionString; if (CampusID == nonSelect || CampusID == "") CampusID = null; if (SchoolYearID == nonSelect || SchoolYearID == "") SchoolYearID = null; if (CollegeID == nonSelect || CollegeID == "") CollegeID = null; if (StandardID == nonSelect || StandardID == "") StandardID = null; if (LearningFormID == nonSelect || LearningFormID == "") LearningFormID = null; if (InSchoolStatus == nonSelect || InSchoolStatus == "") InSchoolStatus = null; if (ClassmajorID == nonSelect || ClassmajorID == "") ClassmajorID = null; if (IsGraduation == nonSelect || IsGraduation == "") IsGraduation = null; if (LoginID == nonSelect || LoginID == "") LoginID = null; if (IsPhotos == nonSelect || IsPhotos == "") IsPhotos = null; if (UserIDs == nonSelect || UserIDs == "") UserIDs = null; if (Education == nonSelect || Education == "") Education = null; if (ReportStatusID == nonSelect || ReportStatusID == "") ReportStatusID = null; if (LearnSystem == nonSelect || LearnSystem == "") LearnSystem = null; Report(); } function Report() { var ApprovalStatus = endStatusID; if(ApprovalStatus=="") { ApprovalStatus = "99"; } var StudentCardName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='StudentCardView']").attr("customName"); StudentCardName = StudentCardName == "" || StudentCardName == null ? "StudentCardView" : StudentCardName; var i = $("#selReport").combobox("getValue"); top.ReportParameter = { CampusID: CampusID, Years: SchoolYearID, CollegeID: CollegeID, StandardID: StandardID, LearningformID: LearningFormID, ClassID: ClassmajorID, InSchoolStatusID: InSchoolStatus, StudentStatus: IsGraduation, LoginID: LoginID, isPhotos: IsPhotos, ConditionString: ConditionString, ApprovalStatus:ApprovalStatus, LoginUserID:LoginUserID, DataRange: DataRange, Url: localhostPaht, ReportStatusID: ReportStatusID, Education: Education, LearnSystem: LearnSystem, UserIDs: UserIDs, SchoolName: SchoolName }; if (i == 1) { var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fClassStudentView"; $("#reportContent").attr("src", str); } else if (i == 2) { //学籍卡 var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2f" + StudentCardName; $("#reportContent").attr("src", str); } else if (i == 3) { //准考证 var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fGZtyAdmissionNoView"; $("#reportContent").attr("src", str); } else if (i == 4) { //准考证背面 var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fGZtyAdmissionNoBackView"; $("#reportContent").attr("src", str); } }