ScoreConvertByLevelEdit.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. function queryClass() {
  2. try {
  3. var collegeID = $("#CollegeID").combogridX("getValue");
  4. var yearID = $("#Year").combobox("getValue");
  5. var standardID = $("#StandardID").combogridX("getValue");
  6. var jsonString = "({'QueryParamsDatas':'";
  7. if (collegeID != "" && collegeID != nonSelect) {
  8. jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
  9. }
  10. if (yearID != nonSelect) {
  11. jsonString += "DictionaryGrade|*|" + yearID + "|@|";
  12. }
  13. if (standardID != "" && standardID != nonSelect) {
  14. jsonString += "DictionaryStandard|*|" + standardID + "|@|";
  15. }
  16. jsonString += "'})";
  17. $("#StandardID").combogridX("reload", eval(jsonString));
  18. $("#ClassmajorID").combogridX("reload", eval(jsonString));
  19. } catch (e) {
  20. }
  21. }
  22. function queryReplaceClass() {
  23. try {
  24. var collegeID = $("#ReplaceCollegeID").combogridX("getValue");
  25. var yearID = $("#ReplaceYear").combobox("getValue");
  26. var standardID = $("#ReplaceStandardID").combogridX("getValue");
  27. var jsonString = "({'QueryParamsDatas':'";
  28. if (collegeID != "" && collegeID != nonSelect) {
  29. jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
  30. }
  31. if (yearID != nonSelect) {
  32. jsonString += "DictionaryGrade|*|" + yearID + "|@|";
  33. }
  34. if (standardID != "" && standardID != nonSelect) {
  35. jsonString += "DictionaryStandard|*|" + standardID + "|@|";
  36. }
  37. jsonString += "'})";
  38. $("#ReplaceStandardID").combogridX("reload", eval(jsonString));
  39. $("#ReplaceClassmajorID").combogridX("reload", eval(jsonString));
  40. } catch (e) {
  41. }
  42. }
  43. function ScoreConvertByLevel_Save()
  44. {
  45. $(document.forms[0]).submit();
  46. }