多单位版国产化地质资料管理系统
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
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %>
<%@ 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%>">
    <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/styles/archives.css" type="text/css">
    <script type="text/javascript" src="static/plugins/jquery/jquery.min.js"></script>
 
</head>
 
<body>
<div class="application_tips_con">
    <div class="tips_num">
        <i class="fa fa-check-circle"></i>
        <h5>
            <c:if test="${addNum!=0}">
                成功添加<font style="color:red;">${addNum}</font>档资料到${type}申请单
            </c:if>
            <c:if test="${addNum==0}">
                资料添加失败
            </c:if>
            <c:if test="${repeatNum!=0}">
                ,当前资料已存在申请单中
            </c:if>
            !<br/> 当前${type}申请单中共有<font style="color:red">${existFileNum}</font>档资料,
            包含<font style="color:red">${existItemNum}</font>件文件级资料。
        </h5>
    </div>
    <p>
        <span>注意:</span>
        纸质借阅请到借阅管理员处领取资料,电子借阅请在审批通过后到“我的${type}单”中查看。
    </p>
    <div class="application-btn">
        <button class="pt-btn pt-btn-info" onclick="closeWindow()">继续浏览</button>
        <button class="pt-btn pt-btn-default" onclick="openUtilizationForm()">查看${type}单</button>
    </div>
</div>
<script type="text/javascript">
    <%--var urlPath = ${urlPath};--%>
    var path = "<%=path%>/${urlPath}";
 
    //关闭窗口事件
    function closeWindow() {
        var index = top.layer.getFrameIndex(window.name); //获取窗口索引
        top.layer.close(index);
    }
 
    function openUtilizationForm() {
        closeWindow();
 
        <%--window.open("<%=path%>/" + urlPath);--%>
        window.open(path);
    }
 
    function openTab(url, title, partId, type) {
        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 = partId;
                    curTabWin.params.callBack = getPartContent;
                    if (type == 1) {
                        curTabWin.params.callBack = refreshData;
                    }
                }
            });
        }
    }
</script>
</body>
</html>