PersonalInfoCradReport.js 1.1 KB

123456789101112131415161718192021222324252627
  1. var ApproveEndStatusID, UniversityName, PersonalCradReportName, LoginUserID, Url, isWindowCanClose = false;
  2. $.parser.onComplete = function (context) {
  3. var windowID = $.SystemGeneral.getUrlParam("WindowID");
  4. var reportParameter = top.$('#' + windowID).data("inputData");
  5. PersonalCradReportName = reportParameter.PersonalCradReportName;
  6. ApproveEndStatusID = approveEndStatusID;
  7. UniversityName = universityName;
  8. LoginUserID = loginUserID;
  9. Url = localhostPaht;
  10. if (PersonalCradReportName == "" || PersonalCradReportName == null) PersonalCradReportName = "DefaultPersonalCard";
  11. PersonalCradReport();
  12. }
  13. function PersonalCradReport() {
  14. top.ReportParameter = {
  15. LoginUserID: LoginUserID,
  16. ApproveEndStatusID: ApproveEndStatusID,
  17. UniversityName: UniversityName,
  18. Url: Url
  19. };
  20. var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentWeb%2fInfoCenter%2f" + PersonalCradReportName;
  21. $("#reportContent").attr("src", str);
  22. isWindowCanClose = true;
  23. }