多单位版国产化地质资料管理系统
zhai
2025-12-13 fc0cc9fff4b4cbdc7cbb52b4a96c947530fcbba0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
 
<!DOCTYPE HTML>
<html>
<head>
    <base href="<%=basePath%>">
    <meta name="viewport" charset="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>文件浏览</title>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="static/plugins/json2.js"></script>
    <![endif]-->
    <style type="text/css">
        .viewer {
            width: 100%;
            border: 1px solid black;
            position: relative;
        }
    </style>
    <script>
        function OnPageOfficeCtrlInit() {
            pageofficectrl.CustomToolbar = false; //隐藏自定义工具栏
        }
        function AfterDocumentOpened(){
            pageofficectrl.DisablePrint = true;
        }
    </script>
</head>
<body>
<div class="margin-lr">
    <input type="hidden"  id="attachUrl"/>
    <div style=" width:auto; height:800px;">
        ${pageoffice}
    </div>
</div>
</body>
</html>