showDcZgwz.html 999 B

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html 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. function requestWord(){
  12. var nginxPath = [[${nginxPath}]]
  13. var id = [[${id}]];
  14. POBrowser.openWindowModeless(nginxPath + '/dc/pageoffice/zgwz/word/'+id,'width=1100px;height=800px;');
  15. }
  16. function imgerrorfun() {
  17. var img=event.srcElement;
  18. img.src="/pageofficePath/upload/pageoffice/dc/zgwz/zgwz.jpg";
  19. img.onerror=null;
  20. }
  21. </script>
  22. </head>
  23. <body>
  24. <div style="width:80%;margin: auto;">
  25. <a href="javascript:requestWord();">
  26. <img id="imgs" th:src="${wordImgSrc}" onerror="imgerrorfun();"/>
  27. </a>
  28. </div>
  29. </body>
  30. </html>