TeacherExaminationTimes.js 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. function queryTeacher(data) {
  2. try {
  3. var jsonString = "({'QueryParamsDatas':'";
  4. var collegeID = $("#ddlCollege").combobox("getValue");
  5. if (collegeID != nonSelect) {
  6. jsonString += "CollegeDropdown|*|" + collegeID + "|@|";
  7. }
  8. jsonString += "'})";
  9. $("#cgbTeacher").combogridX("reload", eval(jsonString));
  10. } catch (e) {
  11. }
  12. }
  13. function reload() {
  14. var schoolYearID = $("#ddlSchoolyear").combobox("getValue");
  15. var collegeID = $("#ddlCollege").combobox("getValue");
  16. var userID = $("#cgbTeacher").combogridX("getValue");
  17. if (collegeID == nonSelect) collegeID = null;
  18. if (userID == nonSelect) userID = null;
  19. top.ReportParameter = {
  20. SchoolyearID: schoolYearID,
  21. CollegeID: collegeID,
  22. UserID: userID
  23. };
  24. if (schoolYearID == nonSelect || !schoolYearID)
  25. $.messager.alert("系统信息", "请选择学年学期。");
  26. else
  27. $("#reportContent").attr("src", CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fExaminationManage%2fTeacherExaminationTimes");
  28. }