多单位版国产化地质资料管理系统
zs
2025-12-18 4f0d9bde31a80f6279e26466250da7716eec627f
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
<%@ 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 + "/";
%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <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 !IE]><!-->
    <link href="static/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css">
    <!--<![endif]-->
    <!--[if gt IE 8]>
    <link href="static/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css">
    <![endif]-->
    <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">
    <link rel="stylesheet" href="static/plugins/webuploader/webuploader.css" type="text/css">
    <link rel="stylesheet" href="static/plugins/webuploader/webuploader.css" type="text/css">
    <link rel="stylesheet" href="static/styles/archivesHN.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/jquery-easyui-datagrid-dnd/datagrid-dnd.js"></script>
    <script src="static/plugins/jquery.redirect.js" type="text/javascript"></script>
    <script type="text/javascript" src="static/plugins/webuploader/webuploader.js"></script>
 
    <!-- 弹窗加载组件 -->
    <script type="text/javascript" src="static/plugins/layer/layer.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>
    <!-- wcp组件 -->
    <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]-->
    <script type="text/javascript" src="static/wcp/scripts/libs/wcp.infoPicker.js"></script>
    <link rel="stylesheet" href="static/styles/search.css">
    <style>
        .button-container {
            display: flex;
        }
    </style>
</head>
<body class="archivesbg">
<div class="archives_search">
    <div class="archives_search_logo"></div>
    <div class="archives_radio">
        <input type="radio" value="WJTM" name="dx" checked><em>题名</em>
        <input type="radio" value="DH" name="dx"><em>档号</em>
    </div>
    <div class="bordercenter">
        <div class="archives_scinput clear" style="margin-bottom: 40px;">
            <input class="scform" type="text" id="txtKeyword" placeholder="请输入题名关键字或档号进行查询"/>
            <input style="margin-right: 5px ; margin-left: 660px" id="search" type="button" value="检索" class="sbtn2"/>
        </div>
        <%--        <div class="button-container">--%>
        <%--            <input style="margin-right: 5px" id="search" type="button" value="检索" class="sbtn2"/>--%>
        <%--            <input style="margin-left: 5px " id="super_search" type="button" value="高级检索" class="sbtn2">--%>
        <%--        </div>--%>
    </div>
    <div class="explain">
        <div class="explain_center">
            <h5>检索说明:</h5>
            <div>
                <p>1、系统检索支持多关键字,关键字中间用特定符合分隔,支持中文或英文符合。</p>
                <p>2、如果需要多关键字同时满足,请在关键字中间使用“ ”或者“+”分隔。如“广西 煤矿 报告”。</p>
                <p>3、如果只需要满足多关键字中其一,请在关键字中间使用“,”或者“丨”。如“河南,山东,铁矿”。</p>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="static/scripts/ResizeScroll.js"></script>
<script>
    var params = {
        callBack: null
    };
    var superSearchParams;
    var isSuperSearch = false;
    var title = top.$('#tt').tabs('getSelected').panel("options").title;
    $(function () {
        $("#search").click(function () {
            search();
        });
        $("#super_search").click(function () {
            superSearch();
        });
        $("input[name='dx'][value='ZLMC']").prop("checked", true);
    });
 
    function search() {
        var keyword = $("#txtKeyword").val().replace(/(^\s*)|(\s*$)/g, "");
        var selectedValue = $('input[name="dx"]:checked').val();
        var url = "search/searchResult?keyword=" + encodeURI(keyword) + "&selectedValue=" + encodeURI(selectedValue);
        // var url = "search/searchResult?isSuperSearch=0&keyword=" + encodeURI(keyword) + "&selectedValue=" + encodeURI(selectedValue);
        openTab(url, "档案搜索");
    }
 
    function superSearch() {
        top.layer.open({
            title: "高级查询",
            type: 2,
            area: ["800px", "550px"],
            fixed: false,
            content: "search/searchFrom",
            success: function (layero, index) {
                var body = window.top.layer.getChildFrame('body', index);
                var iframeWin = window.top[layero.find('iframe')[0]['name']]; //得到iframe页的窗口对象
                iframeWin.params.callBack = combinationSearch;
            }
        });
    }
 
    //组合查询
    function combinationSearch(combinationConditions) {
        superSearchParams = combinationConditions;
        var url = "search/searchResult?isSuperSearch=1";
        openTab(url, "档案搜索");
    }
 
    function openTab(url, title, partId, type) {
        if (top.addPanel) {
            top.addPanel(url, title);
            var curTabWin = null;
            var curTab = top.$('#tt').tabs('getSelected');
            if (curTab && curTab.find('iframe').length > 0) {
                curTabWin = curTab.find('iframe')[0].contentWindow;
                //将回调函数传给子页面
                $(curTabWin).load(function () {
                    if (curTabWin.params) {
                        curTabWin.params.callBackParams = superSearchParams;
                        closeWindow();
                    }
                });
            }
 
        }
        // closeWindow();
    }
 
    function closeWindow() {
        top.$("#tt").tabs("close", title);
    }
 
</script>
</body>
</html>