xinyb
2022-05-18 c2dc593c9b8948718381f3a2996b6f94a59ad80a
提交 | 用户 | age
d6f308 1 <%try {%>
X 2 <%@ page language="java" contentType="text/html; charset=UTF-8"
3          pageEncoding="UTF-8" %>
4 <%@ page trimDirectiveWhitespaces="true" %>
a6a76f 5 <%@ include file="dataHead.jsp" %>
F 6 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
7 <html>
8 <head>
d6f308 9     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
X 10     <META NAME="ROBOTS" CONTENT="NONE">
11     <title>[?title]</title>
12     <%@ include file="jsCssHead.jsp" %>
a6a76f 13 </head>
d6f308 14 <body class="TabPanelBody">
a6a76f 15 <div id="loading" class="loading">
d6f308 16     <p class="loadingMsg">加载中、请稍候....</p>
X 17     <iframe class="loadingIFRM"></iframe>
18 </div>
19 <div class="panelTopTitle">
20     [?TopAndTitle]
21 </div>
22 <div id="scrollbody">
23     <div id="scroller">
24         <div id="tplt-container" style="[?height]">
25             <div style="float: left;width:1010px;">
26                 <%if ([?tabPageLength]>1){ %>
27                 <div id="tabPages" style="float:left;width: 90px;height:100%;padding-top:15px;overflow: hidden;">
28                     [?tabPage]
29                 </div>
30                 <%} %>
31                 <div id="tplt-panel" style="float: left;margin-top: 5px;width: 920px;">
32                     @panFou@
33                 </div>
c2dc59 34                 <div class="colorDescription">
X 35                     <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
36                     [?ColorDescription]
37                 </div>
d6f308 38             </div>
X 39             <%if ("1".equals(isShowOnlineMsg)) {//isShowOnlineMsg定义在jsCssHead %>
40             <iframe style="width: 850px;height: 220px;" frameborder="0" scrolling="no"
41                     src="/general/onlineMessage.jsp?formId=<%=formId %>&docCode=<%=doccode %>"></iframe>
42             <%
43                 }
44                 if ("1".equals(isShowProcessTracking)) {//isShowProcessTracking定义在jsCssHead
45             %>
46             <%@ include file="/general/processTrack.jsp" %>
47             <%} %>
48         </div>
49         <script type="text/javascript">
50             create("<%=encodeWherePan%>", <%=flag%>);
51             $(document).ready(function () {
52                 var cok = jQuery.cookie("T_ALL");
53                 var backs = jQuery.cookie("T_ALLBack");
54                 if (cok != null) {
55                     var s = cok.split(";");
56                     for (var i = 0; i < s.length; i++) {
57                         var ss = s[i].split("|");
58                         if (ss[0] != "") {
59                             eval('create' + ss[1] + '("<%=encodeWherePan%>",<%=flag%>' + ')');
60                             $("#T_" + ss[0]).show();
61                         }
62                     }
63                 }
64                 if (backs != null) {//为了打开刷新前已收起来的格线
65                     var st = backs.split(";");
66                     for (var i = 0; i < st.length; i++) {
67                         var sst = st[i].split("|");
68                         if (sst[0] != "") {
69                             if (!cok.match(sst[0])) {
70                                 eval('create' + sst[1] + '("<%=encodeWherePan%>",<%=flag%>' + ')');
71                             }
72                         }
73                     }
74                 }
75             });
76
77             function show(no, id) {
78                 if ($("#T_" + id).css("display") == "none") {
79                     var cok = jQuery.cookie("T_ALL");
80                     if (cok == null || !cok.match(id)) {
81                         if (cok == null || (jQuery.cookie("T_ALLBack") != null && !jQuery.cookie("T_ALLBack").match(id))) {//不存在这样id
82                             eval('create' + no + '("<%=encodeWherePan%>",<%=flag%>' + ')');
83                             jQuery.cookie("T_ALL", cok == null ? id + "|" + no : (cok + ";" + id + "|" + no));
84                             jQuery.cookie("T_ALLBack", cok == null ? id + "|" + no : (cok + ";" + id + "|" + no));//保存已打开过的格线
85                         } else {//表示原来收起的格线,现在再重新打开需要更新cookie内容
86                             if (jQuery.cookie("T_ALLBack").match(id)) {
87                                 jQuery.cookie("T_ALL", cok == null ? id + "|" + no : (cok + ";" + id + "|" + no));//增加
88                                 jQuery.cookie("T_ALLBack", cok.replace(id + "|" + no, ""));//更新已打开过的格线
89                             }
90                         }
91                     }
92                     $("#T_" + id).show();
93                     $("#img_" + id).attr("src", "/images/down_list.gif");
94                     $("#A_" + id).attr("title", "收起");
95                 } else {
96                     $("#T_" + id).hide();
97                     $("#img_" + id).attr("src", "/images/up_list.gif");
98                     $("#A_" + id).attr("title", "展开");
99                     var cok = jQuery.cookie("T_ALL");
100                     jQuery.cookie("T_ALL", cok.replace(id + "|" + no, ""));
101                 }
102             };
103         </script>
104         <form action="" id="form_498" method="get">
105             <input type="hidden" id="doccode" name="doccode" value="<%=doccode %>"/>
106             <input type="hidden" id="fl" name="fl" value="<%=fl %>"/>
107         </form>
108     </div>
109 </div>
a6a76f 110 </body>
F 111 <script>
d6f308 112     reportsdiv(dj, panMain[panIndex].statueis);
X 113     window.onunload = function () {
114         if (typeof (mygrid) != "undefined" && mygrid != null) mygrid.refalshGridOfColse();
115         else
116             refalshGridOfColse();
117     }
a6a76f 118 </script>
d6f308 119 </html>
X 120 <%} catch (Exception e) {//out.print("<script>alert('"+e.getMessage().replace("'","\\'")+"');</script>");}%>
a6a76f 121 <script>
d6f308 122     alert("<%=e.getCause()!=null?e.getCause().getMessage():e.getMessage()%>");
a6a76f 123 </script>
d6f308 124 <% }%>