DifferentDynamicBatchSuspendReport.cshtml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "DifferentDynamicBatchSuspendReport";
  5. }
  6. @section scripts{
  7. <script type="text/javascript">
  8. var curWwwPath = window.document.location.href;
  9. var pathName = window.document.location.pathname;
  10. var pos = curWwwPath.indexOf(pathName);
  11. var localhostPaht = curWwwPath.substring(0, pos) + "/";
  12. var nonSelect = "@DropdownList.SELECT_ALL";
  13. var SchoolName = '@EMIS.Utility.RSL.Get("UniversityInscribe")';
  14. var SchoolyearID, CollegeID, yearID, StandardID, LearningformID, LearnSystem, EducationID, ClassmajorID, DifferentDynamicType, ApprovalStatus, DifferentDynamicID, UserID;
  15. $.parser.onComplete = function (context) {
  16. var jsonString = "";
  17. var parameterString = "";
  18. var windowID = $.SystemGeneral.getUrlParam("WindowID");
  19. reportParameter = top.$('#' + windowID).data("inputData");
  20. SchoolyearID = reportParameter.SchoolyearID;
  21. CollegeID = reportParameter.CollegeID;
  22. yearID = reportParameter.yearID;
  23. StandardID = reportParameter.StandardID;
  24. LearningformID = reportParameter.LearningformID;
  25. LearnSystem = reportParameter.LearnSystem;
  26. EducationID = reportParameter.EducationID;
  27. ClassmajorID = reportParameter.ClassmajorID;
  28. DifferentDynamicType = reportParameter.DifferentDynamicType;
  29. ApprovalStatus = reportParameter.ApprovalStatus;
  30. DifferentDynamicID = reportParameter.DifferentDynamicID;
  31. UserID = reportParameter.UserID;
  32. if (SchoolyearID == nonSelect || SchoolyearID == "") SchoolyearID = null;
  33. if (CollegeID == nonSelect || CollegeID == "") CollegeID = null;
  34. if (yearID == nonSelect || yearID == "") yearID = null;
  35. if (StandardID == nonSelect || StandardID == "") StandardID = null;
  36. if (LearningformID == nonSelect || LearningformID == "") LearningformID = null;
  37. if (EducationID == nonSelect || EducationID == "") EducationID = null;
  38. if (ClassmajorID == nonSelect || ClassmajorID == "") ClassmajorID = null;
  39. if (DifferentDynamicType == nonSelect || DifferentDynamicType == "") DifferentDynamicType = null;
  40. if (ApprovalStatus == nonSelect || ApprovalStatus == "") ApprovalStatus = null;
  41. if (DifferentDynamicID == nonSelect || DifferentDynamicID == "") DifferentDynamicID = null;
  42. if (UserID == nonSelect || UserID == "") UserID = null;
  43. Report();
  44. }
  45. function Report() {
  46. top.ReportParameter = {
  47. SchoolyearID: SchoolyearID,
  48. CollegeID: CollegeID,
  49. yearID: yearID,
  50. StandardID: StandardID,
  51. LearningformID: LearningformID,
  52. LearnSystem: LearnSystem,
  53. EducationID: EducationID,
  54. ClassmajorID: ClassmajorID,
  55. DifferentDynamicType: DifferentDynamicType,
  56. ApprovalStatus: ApprovalStatus,
  57. DifferentDynamicID: DifferentDynamicID,
  58. SchoolName: SchoolName
  59. };
  60. var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fDifferentDynamicReportForAllSuspend";
  61. $("#reportContent").attr("src", str);
  62. }
  63. </script>
  64. }
  65. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  66. <div class="search_list">
  67. <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 95%; position: absolute;
  68. left: 5px;"></iframe>
  69. </div>
  70. </div>