DifferentDynamicApplyReport.js 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. var SchoolyearID, CollegeID, yearID, StandardID, LearningformID, LearnSystem, EducationID, ClassmajorID, DifferentDynamicType, ApprovalStatus, DifferentDynamicID,UserID;
  2. $.parser.onComplete = function (context) {
  3. var jsonString = "";
  4. var parameterString = "";
  5. var windowID = $.SystemGeneral.getUrlParam("WindowID");
  6. reportParameter = top.$('#' + windowID).data("inputData");
  7. SchoolyearID = reportParameter.SchoolyearID;
  8. CollegeID = reportParameter.CollegeID;
  9. yearID = reportParameter.yearID;
  10. StandardID = reportParameter.StandardID;
  11. LearningformID = reportParameter.LearningformID;
  12. LearnSystem = reportParameter.LearnSystem;
  13. EducationID = reportParameter.EducationID;
  14. ClassmajorID = reportParameter.ClassmajorID;
  15. DifferentDynamicType = reportParameter.DifferentDynamicType;
  16. ApprovalStatus = reportParameter.ApprovalStatus;
  17. DifferentDynamicID = reportParameter.DifferentDynamicID;
  18. UserID = reportParameter.UserID;
  19. if (SchoolyearID == nonSelect || SchoolyearID == "") SchoolyearID = null;
  20. if (CollegeID == nonSelect || CollegeID == "") CollegeID = null;
  21. if (yearID == nonSelect || yearID == "") yearID = null;
  22. if (StandardID == nonSelect || StandardID == "") StandardID = null;
  23. if (LearningformID == nonSelect || LearningformID == "") LearningformID = null;
  24. if (EducationID == nonSelect || EducationID == "") EducationID = null;
  25. if (ClassmajorID == nonSelect || ClassmajorID == "") ClassmajorID = null;
  26. if (DifferentDynamicType == nonSelect || DifferentDynamicType == "") DifferentDynamicType = null;
  27. if (ApprovalStatus == nonSelect || ApprovalStatus == "") ApprovalStatus = null;
  28. if (DifferentDynamicID == nonSelect || DifferentDynamicID == "") DifferentDynamicID = null;
  29. if (UserID == nonSelect || UserID == "") UserID = null;
  30. Report();
  31. }
  32. function Report() {
  33. top.ReportParameter = {
  34. SchoolyearID: SchoolyearID,
  35. CollegeID: CollegeID,
  36. yearID: yearID,
  37. StandardID:StandardID,
  38. LearningformID: LearningformID,
  39. LearnSystem:LearnSystem,
  40. EducationID: EducationID,
  41. ClassmajorID: ClassmajorID,
  42. DifferentDynamicType: DifferentDynamicType,
  43. ApprovalStatus: ApprovalStatus,
  44. DifferentDynamicID: DifferentDynamicID,
  45. SchoolName: SchoolName,
  46. UserID:UserID
  47. };
  48. var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fDifferentDynamicReport";
  49. $("#reportContent").attr("src", str);
  50. }