| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <!DOCTYPE html>
- <html 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">
- function requestWord(){
- var nginxPath = [[${nginxPath}]]
- var rgstrId = [[${rgstrId}]];
- var type = [[${type}]];
- var persId = [[${persId}]];
- var openModeType = [[${openModeType}]];
- // <![CDATA[
- POBrowser.openWindowModeless(nginxPath +
- '/pageoffice/word/'+type+'/'+rgstrId+'?persId='+persId+'&openModeType='+openModeType
- ,'width=1100px;height=800px;');
- // ]]>
- }
- function imgerrorfun() {
- // alert(1);
- var img=event.srcElement;
- img.src="/pageofficePath/upload/pageoffice/jc/baseinfo/baseinfo.jpg";
- img.onerror=null;
- }
- </script>
- </head>
- <body>
- <div style="width:100%;margin: auto;text-align: center">
- <a href="javascript:requestWord();">
- <img id="imgs" th:src="${wordImgSrc}" onerror="imgerrorfun();" />
- </a>
- </div>
- </body>
- </html>
|