多单位版国产化地质资料管理系统
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
 
<!DOCTYPE>
<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>
    <link href="static/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css">
    <link href="static/plugins/jquery-easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="static/styles/initialize.css" type="text/css">
    <link rel="stylesheet" href="static/styles/common.css" type="text/css">
    <link rel="stylesheet" href="static/plugins/layer/skin/default/layer.css" type="text/css">
 
    <script type="text/javascript" src="static/plugins/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="static/plugins/jquery-easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="static/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="static/scripts/easyuiExtend.js"></script>
    <script type="text/javascript" src="static/scripts/jquery-extend.js"></script>
    <script type="text/javascript" src="static/plugins/layer/layer.js"></script>
    <script type="text/javascript" src="static/plugins/slimScroll/jquery.slimscroll.min.js"></script>
 
    <script type="text/javascript" src="static/plugins/spinjs/spin.js"></script>
    <script type="text/javascript" src="static/plugins/spinjs/jquery.spin.js"></script>
    <script type="text/javascript" src="static/plugins/jquery.blockUI.js"></script>
 
    <script type="text/javascript" src="static/wcp/scripts/wcp.js"></script>
    <script type="text/javascript" src="static/wcp/scripts/libs/wcp.layer.js"></script>
    <script type="text/javascript" src="static/wcp/scripts/libs/wcp.blockUI.js"></script>
    <script type="text/javascript" src="static/wcp/scripts/libs/wcp.spin.js"></script>
    <script type="text/javascript" src="static/wcp/scripts/libs/wcp.jquery.js"></script>
 
    <!--[if lt IE 9]>
    <script type="text/javascript" src="static/plugins/json2.js"></script>
    <![endif]-->
    <style type="text/css">
        iframe {
            background-color: #CCC;
            margin-bottom: 20px;
            position: relative;
            top: 20px;
            width: 100%;
            height: 25px;
            margin: 0px;
            padding: 0px;
            border: none;
            overflow-y: hidden;
        }
 
        #div_PDF {
            z-index: 1;
        }
 
        .viewer {
            width: 99%;
            border: 1px solid black;
            position: relative;
        }
 
        .wrapper {
            overflow: hidden;
        }
 
        .wordheader {
            font-size: 12px;
            font-family: "SimSun";
            color: #525252;
            height: 24px;
            line-height: 24px;
            background: url(images/bgline.png) repeat-x;
        }
 
        .wordheader li {
            list-style: none;
            float: left;
            cursor: pointer;
        }
 
        .wordheader .word-nav {
            margin: 0 0 0 10px;
            padding: 0 0 0 20px;
            background: url(images/w-icon.png) left center no-repeat;
            height: 24px;
            float: left;
        }
 
        .wordheader .word-nav li {
            padding: 0 10px;
            color: #53525a;
            height: 20px;
            line-height: 20px;
            border: 1px solid transparent;
        }
 
        .wordheader .word-nav li:hover {
            border: 1px solid #adb4bc;
            border-radius: 2px;
        }
 
        .wordheader .word-btn {
            float: right;
            padding: 3px 0 0 0;
            margin: 0px;
        }
 
        .wordheader .word-btn li {
            width: 18px;
            height: 18px;
            margin: 0 2px 0 0;
        }
 
        .wordheader .word-btn li input {
            width: 18px;
            height: 18px;
            border: 0 none;
        }
 
        .wordheader .word-btn .narrow input {
            background: url(images/btn-narrow.png) no-repeat;
        }
 
        .wordheader .word-btn .enlarge input {
            background: url(images/btn-enlarge.png) no-repeat;
        }
 
        .wordheader .word-btn .close input {
            background: url(images/btn-close.png) no-repeat;
        }
    </style>
    <script>
        function OA1_BeforeDocumentOpened() {
            document.OA1.DisableFileCommand(1, true); //wdUIDisalbeOfficeButton
            document.OA1.DisableFileCommand(2, true); //wdUIDisalbeNew
            document.OA1.DisableFileCommand(4, true); //wdUIDisalbeOpen
            document.OA1.DisableFileCommand(16, true); //wdUIDisalbeSave
            document.OA1.DisableFileCommand(32, true); //wdUIDisalbeSaveAs
        }
    </script>
    <script language="javascript" for="OA1" event="BeforeDocumentOpened()">
        OA1_BeforeDocumentOpened();
    </script>
</head>
<body class="pt-tree">
<div class="margin-lr">
    <div class="pt-form">
        <form id="form1">
            <div id="div_Office" style="height: 100%;overflow-y: hidden;">
                <%--                <div class="wordheader">--%>
                <%--                    <ul class="word-nav">--%>
                <%--                        <li onclick="SelectHead()" id="btn_officetbht" title="红头">红头</li>--%>
                <%--                        <li onclick="SelectLast()" id="btn_officewbht" title="红尾">红尾</li>--%>
                <%--                        <li onclick="SavetoServer()" id="btn_SavetoServer" title="保存在服务器">保存</li>--%>
                <%--                        <li onclick="InsertNamePic()" id="btn_insertNamePic" title="签名">签名</li>--%>
                <%--                    </ul>--%>
                <%--                    <ul class="word-btn">--%>
                <%--                        <li class="close"><input type="button" onclick="CloseDoc();window.close();" title="关闭"/></li>--%>
                <%--                    </ul>--%>
                <%--                </div>--%>
                <div style="width:100%; height:880px;">
                    <object classid="clsid:7677E74E-5831-4C9E-A2DD-9B1EF9DF2DB4" id="OA1" width="100%" height="100%"
                            codebase="static/plugins/officeviewer.cab#version=8,0,0,651">
                        <param name="Toolbars" value="-1">
                        <param name="LicenseName" value="HZRAETC6706823702">
                        <param name="LicenseCode" value="EDO8-552B-126C-ABEB">
                        <param name="BorderColor" value="15647136">
                        <param name="BorderStyle" value="2">
                    </object>
                </div>
 
            </div>
        </form>
    </div>
 
</div>
</body>
<script type="text/javascript" src="static/scripts/ResizeScroll.js"></script>
<script type="text/javascript">
    var randomNum = Math.random();
    var url = encodeURI('${attachViewUrl}');
    url = "<%=basePath%>general/" + url + "&controlType=activex&rnd=" + randomNum + "${attach.getExtension()}";
    $(function () {
        if (url != "") {
            document.all.OA1.Open(url);
        }
    })
</script>
 
</html>