showMendPblmList.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 rgstrId = [[${rgstrId}]];
  14. var pblmId = [[${pblmId}]];
  15. POBrowser.openWindowModeless(nginxPath + '/pageoffice/pblmlist/word?ids=' + pblmId, 'width=1100px;height=800px;');
  16. }
  17. // $(document).ready(function(){
  18. // document.getElementById("re").click();
  19. // });
  20. // window.onload=function (ev) {
  21. // document.getElementById("re").click();
  22. // }
  23. setTimeout(function () {
  24. // alert("Hello");
  25. document.getElementById("re").click();
  26. }, 1000);
  27. </script>
  28. </head>
  29. <body>
  30. <a id="re" href="javascript:void(0)" onclick="requestWord()">打开文档</a>
  31. </body>
  32. </html>