function queryTeacher(data) { try { var jsonString = "({'QueryParamsDatas':'"; var collegeID = $("#ddlCollege").combobox("getValue"); if (collegeID != nonSelect) { jsonString += "CollegeDropdown|*|" + collegeID + "|@|"; } jsonString += "'})"; $("#cgbTeacher").combogridX("reload", eval(jsonString)); } catch (e) { } } function reload() { var schoolYearID = $("#ddlSchoolyear").combobox("getValue"); var collegeID = $("#ddlCollege").combobox("getValue"); var userID = $("#cgbTeacher").combogridX("getValue"); if (collegeID == nonSelect) collegeID = null; if (userID == nonSelect) userID = null; top.ReportParameter = { SchoolyearID: schoolYearID, CollegeID: collegeID, UserID: userID }; if (schoolYearID == nonSelect || !schoolYearID) $.messager.alert("系统信息", "请选择学年学期。"); else $("#reportContent").attr("src", CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fExaminationManage%2fTeacherExaminationTimes"); }