LevelScoreRate.js 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. function Report_Search() {
  2. var schoolYearID = $("#SchoolyearDropdown").combobox("getValue");
  3. if (schoolYearID == -1 || schoolYearID == "") {
  4. schoolYearID = "";
  5. }
  6. var collegeID = $("#CollegeComboGrid").combogridX("getValue");
  7. if (collegeID == -1 || collegeID == "") {
  8. collegeID = "";
  9. }
  10. var year = $("#DictionarySchoolyear").combobox("getValue");
  11. if (year == -1 || year == "") {
  12. year = "";
  13. }
  14. var standardID = $("#DictionaryStandard").combogridX("getValue");
  15. if (standardID == -1 || standardID == "") {
  16. standardID = "";
  17. }
  18. var educationID = $("#DictionaryEducation").combobox("getValue");
  19. if (educationID == -1 || educationID == "") {
  20. educationID = "";
  21. }
  22. var learnSystem = $("#DictionaryLearnSystem").combogridX("getValue");
  23. if (learnSystem == -1 || learnSystem == "") {
  24. learnSystem = "";
  25. }
  26. var learningFormID = $("#LearningformDictionaryDropDown").combobox("getValue");
  27. if (learningFormID == -1 || learningFormID == "") {
  28. learningFormID = "";
  29. }
  30. var examinationSubjectID = $("#ExaminationSubjectDropdown").combogridX("getValue");
  31. var inSchoolStatus = $("#InSchoolStatusDictionaryDropDown").combobox("getValue");
  32. if (inSchoolStatus == -1 || inSchoolStatus == "") {
  33. inSchoolStatus = "";
  34. }
  35. if (examinationSubjectID == -1 || examinationSubjectID == "")
  36. $.messager.alert("系统信息", "请选择考试科目");
  37. else
  38. $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fLevelScoreRateView&ExaminationSubjectID_RAP=" + examinationSubjectID + "&SchoolyearID_RAP=" + schoolYearID + "&CollegeID_RAP=" + collegeID + "&Year_RAP=" + year + "&StandardID_RAP=" + standardID + "&EducationID_RAP=" + educationID + "&LearningformID_RAP=" + learningFormID + "&LearnSystem_RAP=" + learnSystem + "&InSchoolStatusID_RAP=" + inSchoolStatus);
  39. }
  40. function queryCollege(data) {
  41. queryClass();
  42. }
  43. function queryStandard(data) {
  44. queryClass();
  45. }
  46. function queryClass() {
  47. var jsonString = "";
  48. var parameterString = "";
  49. //var campusID = $("#CampusDropdown").combogridX("getValue");
  50. var collegeID = $("#CollegeComboGrid").combogridX("getValue");
  51. var educationID = $("#DictionaryEducation").combobox("getValue");
  52. var schoolYearID = $("#DictionarySchoolyear").combobox("getValue");
  53. var standardID = $("#DictionaryStandard").combogridX("getValue");
  54. var LearnSystem = $("#DictionaryLearnSystem").combogridX("getValue");
  55. var learningFormID = $("#LearningformDictionaryDropDown").combobox("getValue");
  56. //if (campusID != nonSelect) parameterString += "CampusDropdown|*|" + campusID + "|@|";
  57. if (collegeID != nonSelect) parameterString += "CollegeDropdown|*|" + collegeID + "|@|";
  58. if (educationID != nonSelect) parameterString += "DictionaryEducation|*|" + educationID + "|@|";
  59. if (schoolYearID != nonSelect) parameterString += "DictionaryGrade|*|" + schoolYearID + "|@|";
  60. if (standardID != nonSelect) parameterString += "DictionaryStandard|*|" + standardID + "|@|";
  61. if (learningFormID != nonSelect) parameterString += "DictionaryLearningform|*|" + learningFormID + "|@|";
  62. if (LearnSystem != nonSelect) parameterString += "DictionaryLearnSystem|*|" + LearnSystem + "|@|";
  63. if (parameterString != "") {
  64. jsonString = "({'QueryParamsDatas':'" + parameterString + "'})";
  65. $("#ClassmajorDropdown").combogridX("reload", eval(jsonString));
  66. $("#DictionaryStandard").combogridX("reload", eval(jsonString));
  67. } else {
  68. $("#ClassmajorDropdown").combogridX("reload");
  69. $("#DictionaryStandard").combogridX("reload");
  70. }
  71. }