xinyb_
2021-04-13 d6f308bcc9294585b44142a0a18b481cea08f77e
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
<%try {%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ include file="dataHead.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <META NAME="ROBOTS" CONTENT="NONE">
    <title>[?title]</title>
    <%@ include file="jsCssHead.jsp" %>
</head>
<body class="TabPanelBody">
<div id="loading" class="loading">
    <p class="loadingMsg">加载中、请稍候....</p>
    <iframe class="loadingIFRM"></iframe>
</div>
<div class="panelTopTitle">
    [?TopAndTitle]
</div>
<div id="scrollbody">
    <div id="scroller">
        <div id="tplt-container" style="[?height]">
            <div style="float: left;width:1010px;">
                <%if ([?tabPageLength]>1){ %>
                <div id="tabPages" style="float:left;width: 90px;height:100%;padding-top:15px;overflow: hidden;">
                    [?tabPage]
                </div>
                <%} %>
                <div id="tplt-panel" style="float: left;margin-top: 5px;width: 920px;">
                    @panFou@
                </div>
            </div>
            <%if ("1".equals(isShowOnlineMsg)) {//isShowOnlineMsg定义在jsCssHead %>
            <iframe style="width: 850px;height: 220px;" frameborder="0" scrolling="no"
                    src="/general/onlineMessage.jsp?formId=<%=formId %>&docCode=<%=doccode %>"></iframe>
            <%
                }
                if ("1".equals(isShowProcessTracking)) {//isShowProcessTracking定义在jsCssHead
            %>
            <%@ include file="/general/processTrack.jsp" %>
            <%} %>
        </div>
        <script type="text/javascript">
            create("<%=encodeWherePan%>", <%=flag%>);
            $(document).ready(function () {
                var cok = jQuery.cookie("T_ALL");
                var backs = jQuery.cookie("T_ALLBack");
                if (cok != null) {
                    var s = cok.split(";");
                    for (var i = 0; i < s.length; i++) {
                        var ss = s[i].split("|");
                        if (ss[0] != "") {
                            eval('create' + ss[1] + '("<%=encodeWherePan%>",<%=flag%>' + ')');
                            $("#T_" + ss[0]).show();
                        }
                    }
                }
                if (backs != null) {//为了打开刷新前已收起来的格线
                    var st = backs.split(";");
                    for (var i = 0; i < st.length; i++) {
                        var sst = st[i].split("|");
                        if (sst[0] != "") {
                            if (!cok.match(sst[0])) {
                                eval('create' + sst[1] + '("<%=encodeWherePan%>",<%=flag%>' + ')');
                            }
                        }
                    }
                }
            });
 
            function show(no, id) {
                if ($("#T_" + id).css("display") == "none") {
                    var cok = jQuery.cookie("T_ALL");
                    if (cok == null || !cok.match(id)) {
                        if (cok == null || (jQuery.cookie("T_ALLBack") != null && !jQuery.cookie("T_ALLBack").match(id))) {//不存在这样id
                            eval('create' + no + '("<%=encodeWherePan%>",<%=flag%>' + ')');
                            jQuery.cookie("T_ALL", cok == null ? id + "|" + no : (cok + ";" + id + "|" + no));
                            jQuery.cookie("T_ALLBack", cok == null ? id + "|" + no : (cok + ";" + id + "|" + no));//保存已打开过的格线
                        } else {//表示原来收起的格线,现在再重新打开需要更新cookie内容
                            if (jQuery.cookie("T_ALLBack").match(id)) {
                                jQuery.cookie("T_ALL", cok == null ? id + "|" + no : (cok + ";" + id + "|" + no));//增加
                                jQuery.cookie("T_ALLBack", cok.replace(id + "|" + no, ""));//更新已打开过的格线
                            }
                        }
                    }
                    $("#T_" + id).show();
                    $("#img_" + id).attr("src", "/images/down_list.gif");
                    $("#A_" + id).attr("title", "收起");
                } else {
                    $("#T_" + id).hide();
                    $("#img_" + id).attr("src", "/images/up_list.gif");
                    $("#A_" + id).attr("title", "展开");
                    var cok = jQuery.cookie("T_ALL");
                    jQuery.cookie("T_ALL", cok.replace(id + "|" + no, ""));
                }
            };
        </script>
        <form action="" id="form_498" method="get">
            <input type="hidden" id="doccode" name="doccode" value="<%=doccode %>"/>
            <input type="hidden" id="fl" name="fl" value="<%=fl %>"/>
        </form>
    </div>
</div>
</body>
<script>
    reportsdiv(dj, panMain[panIndex].statueis);
    window.onunload = function () {
        if (typeof (mygrid) != "undefined" && mygrid != null) mygrid.refalshGridOfColse();
        else
            refalshGridOfColse();
    }
</script>
</html>
<%} catch (Exception e) {//out.print("<script>alert('"+e.getMessage().replace("'","\\'")+"');</script>");}%>
<script>
    alert("<%=e.getCause()!=null?e.getCause().getMessage():e.getMessage()%>");
</script>
<% }%>