PostPracticeAppraiseReport.js 1.0 KB

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