function Report_Search() { var schoolYearID = $("#SchoolyearDropdown").combobox("getValue"); if (schoolYearID == -1 || schoolYearID == "") { schoolYearID = ""; } var collegeID = $("#CollegeComboGrid").combogridX("getValue"); if (collegeID == -1 || collegeID == "") { collegeID = ""; } var year = $("#DictionarySchoolyear").combobox("getValue"); if (year == -1 || year == "") { year = ""; } var standardID = $("#DictionaryStandard").combogridX("getValue"); if (standardID == -1 || standardID == "") { standardID = ""; } var educationID = $("#DictionaryEducation").combobox("getValue"); if (educationID == -1 || educationID == "") { educationID = ""; } var learnSystem = $("#DictionaryLearnSystem").combogridX("getValue"); if (learnSystem == -1 || learnSystem == "") { learnSystem = ""; } var learningFormID = $("#LearningformDictionaryDropDown").combobox("getValue"); if (learningFormID == -1 || learningFormID == "") { learningFormID = ""; } var examinationSubjectID = $("#ExaminationSubjectDropdown").combogridX("getValue"); var inSchoolStatus = $("#InSchoolStatusDictionaryDropDown").combobox("getValue"); if (inSchoolStatus == -1 || inSchoolStatus == "") { inSchoolStatus = ""; } if (examinationSubjectID == -1 || examinationSubjectID == "") $.messager.alert("系统信息", "请选择考试科目"); else $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fLevelScoreRateView&ExaminationSubjectID_RAP=" + examinationSubjectID + "&SchoolyearID_RAP=" + schoolYearID + "&CollegeID_RAP=" + collegeID + "&Year_RAP=" + year + "&StandardID_RAP=" + standardID + "&EducationID_RAP=" + educationID + "&LearningformID_RAP=" + learningFormID + "&LearnSystem_RAP=" + learnSystem + "&InSchoolStatusID_RAP=" + inSchoolStatus); } function queryCollege(data) { queryClass(); } function queryStandard(data) { queryClass(); } function queryClass() { var jsonString = ""; var parameterString = ""; //var campusID = $("#CampusDropdown").combogridX("getValue"); var collegeID = $("#CollegeComboGrid").combogridX("getValue"); var educationID = $("#DictionaryEducation").combobox("getValue"); var schoolYearID = $("#DictionarySchoolyear").combobox("getValue"); var standardID = $("#DictionaryStandard").combogridX("getValue"); var LearnSystem = $("#DictionaryLearnSystem").combogridX("getValue"); var learningFormID = $("#LearningformDictionaryDropDown").combobox("getValue"); //if (campusID != nonSelect) parameterString += "CampusDropdown|*|" + campusID + "|@|"; if (collegeID != nonSelect) parameterString += "CollegeDropdown|*|" + collegeID + "|@|"; if (educationID != nonSelect) parameterString += "DictionaryEducation|*|" + educationID + "|@|"; if (schoolYearID != nonSelect) parameterString += "DictionaryGrade|*|" + schoolYearID + "|@|"; if (standardID != nonSelect) parameterString += "DictionaryStandard|*|" + standardID + "|@|"; if (learningFormID != nonSelect) parameterString += "DictionaryLearningform|*|" + learningFormID + "|@|"; if (LearnSystem != nonSelect) parameterString += "DictionaryLearnSystem|*|" + LearnSystem + "|@|"; if (parameterString != "") { jsonString = "({'QueryParamsDatas':'" + parameterString + "'})"; $("#ClassmajorDropdown").combogridX("reload", eval(jsonString)); $("#DictionaryStandard").combogridX("reload", eval(jsonString)); } else { $("#ClassmajorDropdown").combogridX("reload"); $("#DictionaryStandard").combogridX("reload"); } }