showDcBaseReport.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html lang="zh-Hans" xmlns:th="http://www.thymeleaf.org">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <title>Title</title>
  6. <!-- office插件js begin 必须引入-->
  7. <script type="text/javascript" th:src="${jqSrc}"></script>
  8. <script type="text/javascript" th:src="${poSrc}" id="po_js_main"></script>
  9. <!-- end -->
  10. <script th:inline="javascript">
  11. var nginxPath = [[${nginxPath}]];
  12. var type = [[${type}]];
  13. var ids = [[${ids}]];
  14. var dateValue = [[${dateValue}]];
  15. function requestWord() {
  16. POBrowser.openWindowModeless(nginxPath + '/dc/pageoffice/report/word/' + type + '/' + ids + '?dateValue=' + dateValue, 'width=1100px;height=800px;');
  17. }
  18. function imgerrorfun() {
  19. var img = event.srcElement;
  20. img.src = nginxPath + '/upload/pageoffice/dc/' + type + '/report.png';
  21. img.onerror = null;
  22. }
  23. </script>
  24. </head>
  25. <body>
  26. <div style="width:80%;margin: auto;">
  27. <a href="javascript:requestWord();">
  28. <img id="imgs" th:src="${wordImgSrc}" style="width:500px;height:700px;" onerror="imgerrorfun();"/>
  29. </a>
  30. </div>
  31. </body>
  32. </html>