function queryStandard(data) { queryClass(); reload(); } function queryCollege(data) { var campusID = $("#CampusDropdown").combogridX("getValue"); var collegeID = $("#CollegeDropdown").combogridX("getValue"); var jsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|"; jsonString += "CollegeDropdown|*|" + collegeID + "|@|'})"; // if (campusID != nonSelect) { // var jsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|'})"; // $("#CollegeDropdown").combogridX("reload", eval(jsonString)); // } queryClass(); reload(); } function queryClass() { var jsonString = ""; var parameterString = ""; var campusID = $("#CampusDropdown").combogridX("getValue"); var collegeID = $("#CollegeDropdown").combogridX("getValue"); //var educationID = $("#Education").combobox("getValue"); var schoolYearID = $("#SchoolyearDictionaryDropDown").combobox("getValue"); var standardID = $("#StandardDictionaryDropDown").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 (parameterString != "") { jsonString = "({'QueryParamsDatas':'" + parameterString + "'})"; $("#StandardDictionaryDropDown").combogridX("reload", eval(jsonString)); $("#ClassmajorDropdown").combogridX("reload", eval(jsonString)); } else { $("#StandardDictionaryDropDown").combogridX("reload", eval(jsonString)); $("#ClassmajorDropdown").combogridX("reload"); } reload(); } function reload() { $("#dgList").cmsXDataTable("load", $.getDataGridParams("dgList")); $("#dgClassStudentStatisticsList").cmsXDataTable("load", $.getDataGridParams("dgClassStudentStatisticsList")); } function ClassStudentStatisticsList_Export() { $(document.forms[0]).submit(); } function ClassStudentStatisticsList_Report() { $.popupTopWindow('考试报名班级学生统计', CMS_SystemConfig.VirtualDirectoryPath + "/ExaminationApplayStudentList/ClassStudentStatisticsReport?" + "&ExaminationSubjectID=" + $("#ddlExaminationSubject").combogridX("getValue") + "&SchoolYearID=" + $("#SchoolYearDropdown").combobox("getValue"), 800, 550, null, null); } function SelectExaminationSubjectDropdown(data) { var jsonString = "({'QueryParamsDatas':'SchoolYearDropdown|*|" + $("#SchoolYearDropdown").combobox("getValue") + "|@|'})"; $("#ddlExaminationSubject").combogridX("reload", eval(jsonString)); reload(); } function QueryExaminationSubjectDropdown(data) { var jsonString = "({'QueryParamsDatas':'SchoolYearDropdown|*|" + $("#SchoolYearDropdown").combobox("getValue") + "|@|'})"; $("#ddlExaminationSubject").combogridX("reload", eval(jsonString)); reload(); }