xinyb
2022-05-20 f210acc76343eb8beb4f78bec5b5496b4c6bfe65
WebRoot/public/template/0/498/index.jsp
@@ -1,109 +1,122 @@
<%try{%><%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page trimDirectiveWhitespaces="true" %>
<%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" %>
    <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>
      <div id="scrollbody">
      <div id="scroller">
<body class="TabPanelBody">
<div id="loading" class="loading">
   <p class="loadingMsg">加载中、请稍候....</p>
   <iframe class="loadingIFRM"></iframe>
</div>
   <div id="tplt-container" style="[?height]">
      [?TopAndTitle]
      <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>
    <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" %>
            <%} %>
            <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
            [?ColorDescription]
        </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();}
    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>");}%>
</html>
<%} catch (Exception e) {//out.print("<script>alert('"+e.getMessage().replace("'","\\'")+"');</script>");}%>
<script>
alert("<%=e.getCause()!=null?e.getCause().getMessage():e.getMessage()%>");
    alert("<%=e.getCause()!=null?e.getCause().getMessage():e.getMessage()%>");
</script>
<%       }%>
<% }%>