12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- function queryClass() {
- try {
- var collegeID = $("#CollegeID").combogridX("getValue");
- var yearID = $("#Year").combobox("getValue");
- var standardID = $("#StandardID").combogridX("getValue");
- var jsonString = "({'QueryParamsDatas':'";
- if (collegeID != "" && collegeID != nonSelect) {
- jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
- }
- if (yearID != nonSelect) {
- jsonString += "DictionaryGrade|*|" + yearID + "|@|";
- }
- if (standardID != "" && standardID != nonSelect) {
- jsonString += "DictionaryStandard|*|" + standardID + "|@|";
- }
- jsonString += "'})";
- $("#StandardID").combogridX("reload", eval(jsonString));
- $("#ClassmajorID").combogridX("reload", eval(jsonString));
- } catch (e) {
- }
- }
- function queryReplaceClass() {
- try {
- var collegeID = $("#ReplaceCollegeID").combogridX("getValue");
- var yearID = $("#ReplaceYear").combobox("getValue");
- var standardID = $("#ReplaceStandardID").combogridX("getValue");
- var jsonString = "({'QueryParamsDatas':'";
- if (collegeID != "" && collegeID != nonSelect) {
- jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
- }
- if (yearID != nonSelect) {
- jsonString += "DictionaryGrade|*|" + yearID + "|@|";
- }
- if (standardID != "" && standardID != nonSelect) {
- jsonString += "DictionaryStandard|*|" + standardID + "|@|";
- }
- jsonString += "'})";
- $("#ReplaceStandardID").combogridX("reload", eval(jsonString));
- $("#ReplaceClassmajorID").combogridX("reload", eval(jsonString));
- } catch (e) {
- }
- }
- function ScoreConvertByLevel_Save()
- {
- $(document.forms[0]).submit();
- }
|