SOCCourseScoreList.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. var mnu = "";
  2. //加载
  3. $(function () {
  4. mnu = $.SystemGeneral.getUrlParam("MNU");
  5. })
  6. function SOCCourseScore_Excel() {
  7. $(document.forms[0]).submit();
  8. }
  9. function reload() {
  10. $("#dgSOCCourseScoreList").cmsXDataTable("load", $.getDataGridParams("dgSOCCourseScoreList"));
  11. }
  12. function queryStandard() {
  13. try {
  14. var collegeID = $("#cgbCollege").combogridX("getValue");
  15. var yearID = $("#ddlYear").combobox("getValue");
  16. var jsonString = "({'QueryParamsDatas':'";
  17. if (collegeID != "" && collegeID != nonSelect) {
  18. jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
  19. }
  20. if (yearID != nonSelect) {
  21. jsonString += "DictionaryGrade|*|" + yearID + "|@|";
  22. }
  23. jsonString += "'})";
  24. $("#cbgStandard").combogridX("reload", eval(jsonString));
  25. } catch (e) {
  26. }
  27. }
  28. function queryClass() {
  29. try {
  30. var collegeID = $("#cgbCollege").combogridX("getValue");
  31. var yearID = $("#ddlYear").combobox("getValue");
  32. var standardID = $("#cbgStandard").combogridX("getValue");
  33. var jsonString = "({'QueryParamsDatas':'";
  34. if (collegeID != "" && collegeID != nonSelect) {
  35. jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
  36. }
  37. if (yearID != nonSelect) {
  38. jsonString += "DictionaryGrade|*|" + yearID + "|@|";
  39. }
  40. if (standardID != "" && standardID != nonSelect) {
  41. jsonString += "DictionaryStandard|*|" + standardID + "|@|";
  42. }
  43. jsonString += "'})";
  44. $("#cbgClassmajor").combogridX("reload", eval(jsonString));
  45. } catch (e) {
  46. }
  47. }