12345678910111213141516171819202122232425262728293031323334353637 |
- //确定
- function Grademajor_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");
- }
- }
|