var Attribute, CampusID, SchoolYearID, CollegeID, StandardID, LearningFormID, ClassmajorID, InSchoolStatus, IsGraduation, IsPhotos, LoginID, Condition, Value, UserIDs, ConditionString, ReportStatusID; $.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, 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 (ReportStatusID == nonSelect || ReportStatusID == "") ReportStatusID = null; Report(); } function Report() { 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, LoginUserID: LoginUserID, DataRange: DataRange, ReportStatusID: ReportStatusID, UserIDs: UserIDs, SchoolName:SchoolName }; if (i == 1) {//在学证明 var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProof"; $("#reportContent").attr("src", str); } else if (i == 2) { //毕业证明 var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fGraduateProof"; $("#reportContent").attr("src", str); } else if (i == 3) { //专升本证明 var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fSpecialEditionProof"; $("#reportContent").attr("src", str); } }