function queryStandard() { try { var jsonString = "({'QueryParamsDatas':'"; var collegeID = $("#ddlCollege").combobox("getValue"); var yearID = $("#ddlYear").combobox("getValue"); if (collegeID != nonSelect) { jsonString += "CollegeDropdown|*|" + collegeID + "|@|"; } if (yearID != nonSelect) { jsonString += "DictionaryGrade|*|" + yearID + "|@|"; } jsonString += "'})"; $("#cgbStandard").combogridX("reload", eval(jsonString)); } catch (e) { } } function reload() { var schoolYearID = $("#ddlSchoolyear").combobox("getValue"); var collegeID = $("#ddlCollege").combobox("getValue"); var yearID = $("#ddlYear").combobox("getValue"); var standardID = $("#cgbStandard").combogridX("getValue"); if (yearID == nonSelect) yearID = null; if (standardID == nonSelect) standardID = null; top.ReportParameter = { CollegeID: collegeID, SchoolyearID: schoolYearID, GradeyearID: yearID, StandardID: standardID }; if (schoolYearID == nonSelect || !schoolYearID) $.messager.alert("系统信息", "请选择学年学期。"); else if (collegeID == nonSelect || !collegeID) $.messager.alert("系统信息", "请选择" + collegeTitle + "。"); else if (yearID == nonSelect || !yearID) $.messager.alert("系统信息", "请选择年级。"); else $("#reportContent").attr("src", CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fPaymentManage%2fGradeyearReport"); }