<%@page import="com.zky.para.Para"%> <%@include file="/auth.jsp"%> <%@page language="java" contentType="text/html;charset=utf-8" pageEncoding="UTF-8"%> <jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/> <% Login login = (Login) request.getSession().getAttribute("login"); String useId = Common.convertNull(request.getParameter("useId")); String operate = (String)request.getParameter("operate"); String sj = Common.convertNull(request.getParameter("sj")); String qj = Common.convertNull(request.getParameter("qj")); String pcs = Common.convertNull(request.getParameter("pcs")); String netSecret=Common.convertNull(request.getParameter("netSecret")); String nameproperty=Common.convertNull(request.getParameter("nameproperty")); String protyname=Common.convertNull(request.getParameter("protyname")); login_obj = (Login)session.getAttribute("login"); String optrid = login_obj.optrid; String optrname = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPNAME",optrid); %> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>涉密网络统计</title> <link rel="stylesheet" type="text/css" href="../../../css/font.css"> <script src="/js/check.js"></script> <script src="../../../js/date.js"></script> <link rel="stylesheet" type="text/css" href="../../../js/2k3Grid.css"> <link rel="stylesheet" type="text/css" href="../../../js/2k3Menu.css"> <link rel="stylesheet" type="text/css" href="../../../js/2k3Dialog.css"> <style> #myGrid .gridHead{ height: 50px; line-height: 50px; background-color: #cce7f5; color: #000; font-size: 16px; font-weight: bold; box-sizing: border-box; } #myGrid .gridHead .gridRow{ display: flex; justify-content: start; } #myGrid .gridHead span{ text-align: center; display: inline-block; border-right: 1px solid #000000; box-sizing: border-box; } #myGrid .gridHead span:nth-child(1){ width: 100px; } #myGrid .gridHead span:nth-child(2){ width: 120px; } #myGrid .gridHead span:nth-child(3){ width: 120px; } #myGrid .gridHead span:nth-child(4){ width: 220px; } #myGrid .gridHead span:nth-child(5){ width: 220px; } #myGrid .gridHead span:nth-child(6){ width: 150px; } #myGrid .gridHead span:nth-child(7){ width: 150px; } #myGrid .gridHead span:nth-child(8){ width: 200px; } #myGrid .gridHead span:nth-child(9){ width: 198px; border-right: none; } #myGrid .gridBody .gridRow{ height: 30px; /*margin-top: 5px;*/ display: flex; justify-content: start; align-items: center; border-bottom: 1px solid #000; color: #000; } #myGrid .gridBody .gridRow span{ width: 148px; display: inline-block; border-right: 1px solid; text-align: center; height: 30px; line-height: 30px; box-sizing: border-box; } #myGrid .gridBody .gridRow span:nth-child(1){ width: 100px; } #myGrid .gridBody .gridRow span:nth-child(2){ width: 120px; } #myGrid .gridBody .gridRow span:nth-child(3){ width: 120px; } #myGrid .gridBody .gridRow span:nth-child(4){ width: 220px; } #myGrid .gridBody .gridRow span:nth-child(5){ width: 220px; } #myGrid .gridBody .gridRow span:nth-child(6){ width: 150px; } #myGrid .gridBody .gridRow span:nth-child(7){ width: 150px; } #myGrid .gridBody .gridRow span:nth-child(8){ width: 200px; } #myGrid .gridBody .gridRow span:nth-child(9){ width: 198px; border-right: none; } #myGrid .gridBody .gridRow span a,#myGrid .gridBody .gridRow span img,#myGrid .gridBody .gridRow span input { margin-right: 6px; margin-top: 6px; } form{ height: 96%; } </style> </head> <script charset="UTF-8" type="text/javascript"> function setValue() { <% if (!Common.isNull(sj)) { out.println("form1.sj.value='" + sj + "';"); } if (!Common.isNull(qj)) { out.println("form1.qj.value='" + qj + "';"); } if (!Common.isNull(pcs)) { out.println("form1.pcs.value='" + pcs + "';"); } if (!Common.isNull(operate)) { out.println("form1.operate.value='" + operate + "';"); } if (!Common.isNull(netSecret)) { out.println("form1.netSecret.value='" + netSecret + "';"); } if (!Common.isNull(protyname)) { out.println("form1.propertyName.value='" + protyname + "';"); } %> } function check(operate) { form1.operate.value=operate; if (operate == "querypic"){ form1.action="/Chartsmsb.jsp"; } if(operate=="showProperty"){ form1.action="/servlet/PropertyNetManageServlet?operate=showProperty&useId="+useId ; } if (operate == "querySmsbeWLStat"){ form1.action="/servlet/StatWltjManageServlet?operate=querySmsbeWLStat"; } if (operate == "querynetSmsbAllStat"){ form1.action="/servlet/StatWltjManageServlet?operate=querynetSmsbAllStat"; } if(operate=="exportExcelsmsbnet"){ } if(operate=="importExcel") { form1.action = "/zhyw/smtj/wltj/ImportExcelNetData.jsp"; } form1.submit(); } function selectChange(i) { form1.action = "/zhyw/smtj/wltj/StatNet.jsp"; form1.submit(); } </script> <style type="text/css"> html { overflow-x:hidden; overflow-y:hidden; } </style> <body scroll="no" onload="setValue();"> <form name="form1" method="post" action="/servlet/StatWltjManageServlet"> <input type="hidden" name="operate" value=""/> <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box"> <tr> <td valign="top"><table width="100%" height="23" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="25%" background="/images/tab_search_01.jpg"><table width="100%" height="23" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="6%" align="right"><img src="/images/little_red.jpg" width="12" height="12"></td> <td width="94%" class="font12b"> <b>涉密网络统计</b></td> </tr> </table></td> <td width="82%" background="/images/tab_search_03.jpg"><img src="/images/tab_search_02.jpg" width="12" height="23"></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table02"> <tr bgcolor="#FFFFFF" height="60px"> <td class="cell1">所属市州</td> <td class="cell2"> <select class='aselect' name="sj" setValue="<%=sj%>" style="width:155px" onChange="selectChange(1);" > <%=Para.getSj(getPara)%> </select> </td> <td class="cell1">所属区县</td> <td class="cell2"> <select class='aselect' name="qj" setValue="<%=qj%>" onChange="selectChange(1);" style="width:155px"> <%=Para.getQj(getPara,sj)%> </select> </td> <td class="cell1">使用单位</td> <td class="cell2"> <input name="pcs" type="text" /> </td> <td class="cell1" >网络设备名称</td> <td class="cell2"> <select class='aselect' name="protyname" style="width:155px" id="typemenu" style="width:155px" setValue="<%=protyname%>"> <option value="">---请选择种类---</option> <option value="服务器">服务器</option> <option value="路由器">路由器</option> <option value="防火墙">防火墙</option> <option value="网关">网关</option> <option value="其它">其它</option> </select></td> <td align="left"> <input type="image" name="button1" src="../../../images1/cx.png" onClick="check('querynetSmsbAllStat');"/> </td> </tr> </table> </td> </tr> </table> <table width="99%" align="center"> <tr align="left" valign="middle"> <td> <%if(login.getSanyuan().equals("0")){ %> <input type="image" name="button2" alt="导出" src="../../../images1/dc.png" onClick="check('exportExcelsmsbnet');"/> <input type="image" name="button2" alt="导入" src="../../../images1/dr.png" onClick="check('importExcel');"/> <input name="button2" onclick="check('querySmsbeWLStat');" type="image" alt="导入查询" src="/images1/drcx.png"/> <%}else if(login.getSanyuan().equals("1")){ %> <%}else { %> <input type="image" name="button2" alt="导出" src="../../../images1/dc.png" onClick="check('exportExcelsmsbnet');"/> <%} %> <!--<input type="image" name="button2" alt="导入查询" src="../../../images1/dr.png" onClick="check('querySmsbeEXStat');"/> <input type="image" name="button2" alt="汇总查询" src="../../../images1/dr.png" onClick="check('querySmsbeEXAllStat');"/> <input type="button" name="button2" value=" 导入 " class="box_button" onclick="check('importExcel');"/> <input type="button" name="button1" value=" 导入查询 " class="box_button" onclick="check('querySmsbeEXStat');"/> <input type="button" name="button1" value=" 汇总查询 " class="box_button" onclick="check('querySmsbeEXAllStat');"/> <INPUT TYPE="button" name="button2" class="box_button" VALUE="图像查看" onclick="check('querypic');"/> --></td> </tr> </table> <% HashFmlBuf buf = (HashFmlBuf) request.getAttribute("SmsbTjALL_info"); if (buf != null) { int rowcount = buf.getRowCount(); %> <table width="99%" border="0" align="center" style="height: 85%;" cellpadding="0" cellspacing="1" class="box"> <tr> <td> <div style="width:100%; height:96%;overflow: auto;"> <div id="myGrid" class="2k3Grid" borderWidth="0" contextMenu="mnuGridContextMenu" altRowColor="oldLace"> <div class="gridHead"> <!--div align="left"><span width="5%">共检索到<%=rowcount%>条记录</span></div--> <div class="gridRow"> <span width="5px" style="text-align: center;"><b>序号</b></span> <span width="10px">所属市州</span> <span width="10px">所属区县</span> <span width="15px"> 使用单位</span> <span width="15px"> 密 级</span> <span width="15px">涉密网络设备名称</span> <span width="10px">终端总数</span> <span width="10px">涉密网络设备总数</span> <span width="10px">操作</span> </div> </div> <div class="gridBody"> <% for (int i=0; i<rowcount; i++) { String tempEmpid = buf.fget("net_id",i); String Secret=buf.fget("NET_Security",i); if (Secret.equals("1")) { Secret = "秘密"; } else if(Secret.equals("2")) { Secret = "机密"; } else if(Secret.equals("3")) { Secret = "绝密"; } String disabled = ""; %> <div class="gridRow" onclick="doclick('showProperty','<%=tempEmpid %>');" style="cursor:pointer;"> <span width="5px" style="text-align: center;"><%=i+1%></span> <span><%=buf.fget("frameworkname",i)%></span> <span><%=buf.fget("areadef",i)%></span> <span><%=buf.fget("DEPARTNAME",i)%></span> <span><%=Secret%></span> <span><%=buf.fget("net_name",i) %></span> <span><%=buf.fget("Terminal",i) %></span> <span><%=buf.fget("ddddd",i) %></span> <span><a target="_blank" href="/servlet/StatWltjManageServlet?operate=showPropertys&useId=<%=tempEmpid %>" style="cursor:pointer;"><img border="0" src="../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a> </span> </div> <% } %> </div> <!-- gridBody end --> </div> <!-- myGrid end --> </div> <tag:PageLinkTag operate="querynetSmsbAllStat" scope="request" width="99%" align="center"/> </td> </tr> </table> <% } %> <% HashFmlBuf buf1 = (HashFmlBuf) request.getAttribute("SmsbTjALL_info1"); if (buf1 != null) { int rowcount = buf1.getRowCount(); %> <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box"> <tr> <td> <div style="width:100%; height:375px;overflow: auto;"> <div id="myGrid" class="2k3Grid" borderWidth="0" contextMenu="mnuGridContextMenu" altRowColor="oldLace"> <div class="gridHead"> <!--div align="left"><span width="5%">共检索到<%=rowcount%>条记录</span></div--> <div class="gridRow"> <span width="5px" style="text-align: center;"><b>序号</b></span> <span width="10px">所属市州</span> <span width="10px">所属区县</span> <span width="15px"> 登记单位</span> <span width="15px"> 使用单位</span> <span width="10px"> 使用人</span> <span width="6px"> 密 级</span> <span width="15px">涉密网络设备名称</span> <span width="6px">操作</span> </div> </div> <div class="gridBody"> <% for (int i=0; i<rowcount; i++) { String tempEmpid = buf1.fget("id",i); String Secret=buf1.fget("NET_Security",i); %> <div class="gridRow" onclick="doclick('showProperty','<%=tempEmpid %>');" style="cursor:pointer;"> <span width="5px" style="text-align: center;"><%=i+1%></span> <span><%=buf1.fget("frameworkname",i)%></span> <span><%=buf1.fget("areadef",i)%></span> <span><%=buf1.fget("DEPARTNAME",i)%></span> <span><%=buf1.fget("RECOVERNAME",i)%></span> <span><%=buf1.fget("netManager",i) %></span> <span><%=buf1.fget("Terminal",i) %></span> <span><%=buf1.fget("NET_NAME",i) %></span> <span><a target="_blank" href="/servlet/StatWltjManageServlet?operate=showPropertyTmaId&InfoId=<%=tempEmpid %>" style="cursor:pointer;"><img border="0" src="../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a> </span> </div> <% } %> </div> <!-- gridBody end --> </div> <!-- myGrid end --> </div> <tag:PageLinkTag operate="querySmsbeWLStat" scope="request" width="99%" align="center"/> </td> </tr> </table> <% } %> </form> <%@include file="/foot.jsp"%> </body> </html>