| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <!DOCTYPE html>
- <html lang="zh-Hans" xmlns:th="http://www.thymeleaf.org">
- <head>
- <meta charset="UTF-8"/>
- <title>Title</title>
- <!-- office插件js begin 必须引入-->
- <script type="text/javascript" th:src="${jqSrc}"></script>
- <script type="text/javascript" th:src="${poSrc}" id="po_js_main"></script>
- <!-- end -->
- <script th:inline="javascript">
- var nginxPath = [[${nginxPath}]];
- var type = [[${type}]];
- var ids = [[${ids}]];
- var dateValue = [[${dateValue}]];
- function requestWord() {
- POBrowser.openWindowModeless(nginxPath + '/dc/pageoffice/report/word/' + type + '/' + ids + '?dateValue=' + dateValue, 'width=1100px;height=800px;');
- }
- function imgerrorfun() {
- var img = event.srcElement;
- img.src = nginxPath + '/upload/pageoffice/dc/' + type + '/report.png';
- img.onerror = null;
- }
- </script>
- </head>
- <body>
- <div style="width:80%;margin: auto;">
- <a href="javascript:requestWord();">
- <img id="imgs" th:src="${wordImgSrc}" style="width:500px;height:700px;" onerror="imgerrorfun();"/>
- </a>
- </div>
- </body>
- </html>
|