//确定 function Classmajor_BatchSave() { var BeForeYearID = $("#SchoolyearID").combobox("getValue"); if (BeForeYearID == nonSelect) { $.messager.alert("系统提示", "请选择要复制的年级。"); return; } var AfterYearID = $("#BatchSchoolyearID").combobox("getValue"); if (AfterYearID == nonSelect) { $.messager.alert("系统提示", "请选择目标年级。"); return; } if (BeForeYearID >= AfterYearID) { $.messager.alert("系统提示", "目标年级要大于复制的年级。"); return; } $(document.forms[0]).submit(); } function QueryComboGridList() { var parameterString = ""; $("#StandardID").combogridX("setValue", "-1"); var collegeID = $("#CollegeID").combogridX("getValue"); if (collegeID != nonSelect) { parameterString += "CollegeDropdown|*|" + collegeID + "|@|"; } var schoolyearID = $("#SchoolyearID").combobox("getValue"); if (schoolyearID != nonSelect) { parameterString += "DictionaryGrade|*|" + schoolyearID + "|@|"; } if (parameterString != "") { jsonString = "({'QueryParamsDatas':'" + parameterString + "'})"; $("#StandardID").combogridX("reload", eval(jsonString)); } else { $("#StandardID").combogridX("reload"); } }