CollegeTeacherFullReport.js 824 B

1234567891011121314151617181920212223
  1. var isFirstLoadCollege = true;
  2. function QueryCollegeDropdownList(data) {
  3. if (((data.length && data.length > 0) || data)) {
  4. if (isFirstLoadCollege) {
  5. isFirstLoadCollege = false;
  6. } else {
  7. if (data.length > 0) {
  8. $("#CollegeDropdown").combobox("setValue", data[0].Value);
  9. } else {
  10. $("#CollegeDropdown").combobox("clear");
  11. }
  12. }
  13. reload();
  14. }
  15. }
  16. function reload() {
  17. var schoolYearID = $("#SchoolYearDropdown").combobox("getValue");
  18. var collegeID = $("#CollegeDropdown").combobox("getValue");
  19. $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationScheduling%2fCollegeTeacherSchedulingView&CollegeID_RAP=" + collegeID + "&SchoolyearID_RAP=" + schoolYearID);
  20. }