<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page import="com.zky.zhyw.smsb.CreatePropertyIdUtils"%> <%@page import="java.util.Collections"%> <%@page import="java.util.Arrays"%> <%@page import="java.util.List"%> <%@page import="java.util.Calendar"%> <%@page import="java.text.SimpleDateFormat"%> <%@page import="com.zky.para.Para"%> <%@include file="/auth.jsp"%> <%@page import="java.util.Date"%> <jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/> <%@page import="java.util.Date"%> <% String secret=""; String purpose=(String)request.getAttribute("purpose"); String remark=(String)request.getAttribute("remark"); String propertyType=(String)request.getAttribute("propertyType"); String propertyType1=Common.convertNull(request.getParameter("propertyType")); HashFmlBuf bufs=(HashFmlBuf)request.getAttribute("bufEmployee"); //读取学生编号 HashFmlBuf bufschool=(HashFmlBuf)request.getAttribute("writeDepartment"); //通过区县读取学校 String areaid=(String)request.getAttribute("areaid"); String studentid=(String)request.getAttribute("studentid"); Login loginObj = (Login)session.getAttribute("login"); String optrid = loginObj.optrid; String optrname = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPNAME",optrid); String sj = Common.convertNull(request.getParameter("sj")); String qj = Common.convertNull(request.getParameter("qj")); String school = Common.convertNull(request.getParameter("school")); String propertyName=Common.convertNull(request.getParameter("propertyName")); String date = DateTime.DateToStr(new Date()); %> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>涉密网络终端登记</title> <link href="../../../css/font.css" rel="stylesheet" type="text/css"> <script src="../../../js/date.js"></script> <script src="../../../js/check.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"> <meta name="save" content="history"> <style type="text/css"> input{behavior:url(#default#savehistory)} #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: 150px; } #myGrid .gridHead span:nth-child(3){ width: 100px; } #myGrid .gridHead span:nth-child(4){ width: 150px; } #myGrid .gridHead span:nth-child(5){ width: 150px; } #myGrid .gridHead span:nth-child(6){ width: 150px; } #myGrid .gridHead span:nth-child(7){ width: 160px; } #myGrid .gridHead span:nth-child(8){ width: 160px; } #myGrid .gridHead span:nth-child(9){ width: 160px; } #myGrid .gridHead span:nth-child(10){ width: 200px; 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: 150px; } #myGrid .gridBody .gridRow span:nth-child(3){ width: 100px; } #myGrid .gridBody .gridRow span:nth-child(4){ width: 150px; } #myGrid .gridBody .gridRow span:nth-child(5){ width: 150px; } #myGrid .gridBody .gridRow span:nth-child(6){ width: 150px; } #myGrid .gridBody .gridRow span:nth-child(7){ width: 160px; } #myGrid .gridBody .gridRow span:nth-child(8){ width: 160px; } #myGrid .gridBody .gridRow span:nth-child(9){ width: 160px; } #myGrid .gridBody .gridRow span:nth-child(10){ width: 200px; 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: 98%; } </style> <script> 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(propertyName)) { out.println("form1.propertyName.value='" + propertyName + "';"); } if(!Common.isNull(school)) { out.println("form1.school.value='" + school + "';"); } %> } function check(operate) { form1.operate.value = operate; if(operate=='upPropertyNetadd'){ form1.action="/zhyw/smsb/smwl/propertyNetAdd.jsp"; form1.submit(); } if(operate=='backPropertyNetadd'){ form1.action = "/servlet/PropertyNetManageServlet?operate=backPropertyInfo"; form1.submit(); } if(operate=="addPropertyNetInfo"){ var typemenu=document.getElementById("typemenu"); var val=typemenu.value; var arr=['menu1','menu2','menu3','menu4','menu5']; if(arr[0]==val){ if(form1.propertyBrand1.value=="") { alert("请填写服务器品牌"); form1.propertyBrand1.focus(); return false; } if(form1.propertyNo1.value=="") { alert("请填写服务器型号"); form1.propertyNo1.focus(); return false; } if(form1.propertySNNo1.value=="") { alert("请填写服务器SN号"); form1.propertySNNo1.focus(); return false; } if(form1.propertyIp1.value=="") { alert("请填写IP地址"); form1.propertyIp1.focus(); return false; } } if(arr[1]==val){ if(form1.propertyBrand2.value=="") { alert("请填写路由器品牌"); form1.propertyBrand2.focus(); return false; } if(form1.propertyNo2.value=="") { alert("请填写路由器的型号"); form1.propertyNo2.focus(); return false; } if(form1.propertyBrand2.value=="") { alert("请填写路由器的品牌"); form1.propertyBrand2.focus(); return false; } if(form1.propertyIp2.value=="") { alert("请填写IP地址"); form1.propertyIp2.focus(); return false; } } if(arr[2]==val){ if(form1.propertyBrand3.value=="") { alert("请填写防火墙品牌"); form1.propertyBrand3.focus(); return false; } if(form1.propertyNo3.value=="") { alert("请填写防火墙型号"); form1.propertyNo3.focus(); return false; } if(form1.propertySNNo3.value=="") { alert("请填写防火墙SN号"); form1.propertySNNo3.focus(); return false; } if(form1.propertyIp3.value=="") { alert("请填写IP地址"); form1.propertyIp3.focus(); return false; } } if(arr[3]==val){ if(form1.propertyBrand4.value=="") { alert("请填写网关品牌"); form1.propertyBrand4.focus(); return false; } if(form1.propertyNo4.value=="") { alert("请填写网关型号"); form1.propertyNo4.focus(); return false; } if(form1.propertySNNo4.value=="") { alert("请填写网关SN号"); form1.propertySNNo4.focus(); return false; } if(form1.propertyIp4.value=="") { alert("请填写IP地址"); form1.propertyIp4.focus(); return false; } } if(arr[4]==val){ if(form1.propertyOtherName.value==""){ alert("请填写网络设备名称"); form1.propertyOtherName.focus(); return false; } if(form1.propertyBrand5.value=="") { alert("请填写品牌"); form1.propertyBrand5.focus(); return false; } if(form1.propertyNo5.value=="") { alert("请填写型号"); form1.propertyNo5.focus(); return false; } if(form1.propertySNNo5.value=="") { alert("请填写SN号"); form1.propertySNNo5.focus(); return false; } if(form1.propertyIp5.value=="") { alert("请填写IP地址"); form1.propertyIp5.focus(); return false; } } } if (operate== "deletePropertyNetInfo") { var Infos = form1.Infos; var count = 0; if (Infos) { if (Infos.length) { for (var i=0; i<Infos.length; i++) { if (Infos[i].checked==true) { count++; } } } else { if (Infos.checked==true) { count++; } } } else { alert("没有查到网络设备!"); return false; } if (count==0) { alert("请选择要删除的网络设备!"); return false; } if (!confirm("确定要删除已经选择的网络设备吗?")) { return false; } } form1.button1.disabled=true; form1.submit(); } function selectChange(i) { form1.action = "/zhyw/smsb/sbdj/propertyInfoNet.jsp"; form1.submit(); } </script> <script type="text/javascript"> function display(){ var typemenu=document.getElementById("typemenu"); var val=typemenu.value; document.getElementById(val).style.display='block'; var arr=['menu1','menu2','menu3','menu4','menu5']; for(var i in arr){ if(arr[i]!=val){ document.getElementById(arr[i]).style.display='none'; } } } </script> <style type="text/css"> .aselect { width:156px; } </style> <style type="text/css"> .td1{ width: 30%; } table#csstable{ border-top:#D8E9FE 1px solid; border-left:#D8E9FE 1px solid; } table#csstable td{ border-bottom:#D8E9FE 1px solid; border-right:#D8E9FE 1px solid; } table#csstable #bottomcss td{ border-bottom:#D8E9FE 0px solid; } </style> </head> <% Calendar c=Calendar.getInstance(); SimpleDateFormat sdf=new SimpleDateFormat("yyyy"); SimpleDateFormat sdf1=new SimpleDateFormat("MM"); SimpleDateFormat sdf2=new SimpleDateFormat("dd"); SimpleDateFormat sdf3=new SimpleDateFormat("HH"); SimpleDateFormat sdf4=new SimpleDateFormat("mm"); SimpleDateFormat sdf5=new SimpleDateFormat("ss"); String year=sdf.format(c.getTime()); String mouth=sdf1.format(c.getTime()); String day=sdf2.format(c.getTime()); String hour=sdf3.format(c.getTime()); String min=sdf4.format(c.getTime()); String sec=sdf5.format(c.getTime()); String[] beforeShuffle = new String[] {"1", "2", "3", "4", "5", "6", "7","8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J","K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }; List list = Arrays.asList(beforeShuffle); Collections.shuffle(list); StringBuilder sb = new StringBuilder(); for (int i = 0; i < list.size(); i++) { sb.append(list.get(i)); } String afterShuffle = sb.toString(); String result = afterShuffle.substring(5, 9); String allprotery=year+mouth+day+hour+min+sec+result; String operateuseId=(String)request.getAttribute("operateuseId"); String operatedepartid=(String)request.getAttribute("operatedepartid"); String dwNames=(String)request.getAttribute("dwNa"); %> <body onload="setValue()"> <form name="form1" method="post" action="/servlet/PropertyNetManageServlet" > <table width="99%" style="height: 100%" 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%"><img src="/images/little_red.jpg" width="12" height="12"></td> <td width="94%" class="font12b"> 涉密网络登记管理</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> <input type="hidden" name="operate" value=""/> <input type="hidden" name="operateallprotery" value="<%=allprotery %>"/> <input type="hidden" name="operateuseId" value="<%=operateuseId%>"/> <input type="hidden" name="dwNames" value="<%=dwNames%>"/> <input type="hidden" name="school" value="<%=school%>"/> <input type="hidden" name="sj" value="<%=sj%>"/> <input type="hidden" name="qj" value="<%=qj%>"/> <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02"> <tr bgcolor="#FFFFFF" height="40px" width="200px"> <td align="right" valign="middle" width="200px" height="30px" style="line-height: 30px;font-size: 18px;"><b>请选择网络终端种类</b></td> <td class="cell2"> <select class='aselect' name="propertyName" id="typemenu" onchange="display()" setValue="<%=propertyName%>" style="width: 250px; background-color: #D6DDEF;" size="1" > <option value="menu">---请选择种类---</option> <option value="menu1">服务器</option> <option value="menu2">路由器</option> <option value="menu3">防火墙</option> <option value="menu4">网关</option> <option value="menu5">其它</option> </select><font color="#ff0000">*</font> </td> <td> <font size="+1" color="green" ><b>单位编号:<%=dwNames%> 编号:<%=operateuseId%></b></font> </td> </tr> </table> <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02"> <!-- 隐藏显示tbody Start --> <tbody style="display:none;" id="menu1"> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">服务器品牌</td> <td class="cell2"> <input type="text" name="propertyBrand1" /><font color="#ff0000">*</font> </td> <td class="cell1">服务器型号</td> <td class="cell2"><input type="text" name="propertyNo1" /><font color="#ff0000">*</font></td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">SN号</td> <td class="cell2"> <input type="text" name="propertySNNo1" maxlength="12"/> <font color=red>(资产SN号如果不能读出请填写"未读出")</font> </td> <td class="cell1">IP地址</td> <td class="cell2"> <input type="text" name="propertyIp1" /><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">责任人</td> <td class="cell2"> <input type="text" name="netManager1" /></td> <td class="cell1">密级</td> <td class="cell2"> <input type="radio" id="Airtight1" name="Airtight1" value="绝密" />绝密 <input type="radio" id="Airtight1" name="Airtight1" value="机密" />机密 <input type="radio" id="Airtight1" name="Airtight1" value="秘密" />秘密 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">涉密网络名称</td> <td class="cell2"> <input type="text" name="NetName1" /></td> <td class="cell1">是否属于要害部门、部位</td> <td class="cell2"> <input type="radio" id="Part1" name="Part1" value="是" />是 <input type="radio" id="Part1" name="Part1" value="否" />否 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td style="color: #41247B" align="right">备注信息</td> <td colspan="3"> <textarea onblur="checklength(this,200)" maxlength="300" name="remark1" id="remark" rows="3" cols="70"></textarea> <font color="red">(注:限200字符内)</font> </td> </tr> </tbody> <tbody style="display:none;" id="menu2"> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">路由器品牌</td> <td class="cell2"> <input type="text" name="propertyBrand2" /><font color="#ff0000">*</font> </td> <td class="cell1">路由器型号</td> <td class="cell2"><input type="text" name="propertyNo2" /><font color="#ff0000">*</font></td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">SN号</td> <td class="cell2"> <input type="text" name="propertySNNo2" maxlength="12"/> <font color=red>(资产SN号如果不能读出请填写"未读出")</font> </td> <td class="cell1">IP地址</td> <td class="cell2"> <input type="text" name="propertyIp2" /><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">责任人</td> <td class="cell2"> <input type="text" name="netManager2" /></td> <td class="cell1">密级</td> <td class="cell2"> <input type="radio" id="Airtight1" name="Airtight2" value="绝密" />绝密 <input type="radio" id="Airtight1" name="Airtight2" value="机密" />机密 <input type="radio" id="Airtight1" name="Airtight2" value="秘密" />秘密 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">涉密网络名称</td> <td class="cell2"> <input type="text" name="NetName2" /></td> <td class="cell1">是否属于要害部门、部位</td> <td class="cell2"> <input type="radio" id="Part1" name="Part2" value="是" />是 <input type="radio" id="Part1" name="Part2" value="否" />否 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td style="color: #41247B" align="right">备注信息</td> <td colspan="3"> <textarea onblur="checklength(this,200)" maxlength="300" name="remark2" id="remark" rows="3" cols="70"></textarea> <font color="red">(注:限200字符内)</font> </td> </tr> </tbody> <tbody style="display:none;" id="menu3"> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">防火墙品牌</td> <td class="cell2"> <input type="text" name="propertyBrand3" /><font color="#ff0000">*</font> <input type="hidden" name="propertyType3"/> </td> <td class="cell1">防火墙型号</td> <td class="cell2"><input type="text" name="propertyNo3" /><font color="#ff0000">*</font></td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">SN号</td> <td class="cell2"> <input type="text" name="propertySNNo3" maxlength="12"/> <font color=red>(资产SN号如果不能读出请填写"未读出")</font> </td> <td class="cell1">IP地址</td> <td class="cell2"> <input type="text" name="propertyIp3" /><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">责任人</td> <td class="cell2"> <input type="text" name="netManager3" /></td> <td class="cell1">密级</td> <td class="cell2"> <input type="radio" id="Airtight1" name="Airtight3" value="绝密" />绝密 <input type="radio" id="Airtight1" name="Airtight3" value="机密" />机密 <input type="radio" id="Airtight1" name="Airtight3" value="秘密" />秘密 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">涉密网络名称</td> <td class="cell2"> <input type="text" name="NetName3" /></td> <td class="cell1">是否属于要害部门、部位</td> <td class="cell2"> <input type="radio" id="Part1" name="Part3" value="是" />是 <input type="radio" id="Part1" name="Part3" value="否" />否 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td style="color: #41247B" align="right" class="cell1">备注信息</td> <td colspan="3" class="cell2"> <textarea onblur="checklength(this,200)" maxlength="300" name="remark3" id="remark" rows="3" cols="70"></textarea> <font color="red">(注:限200字符内)</font> </td> </tr> </tbody> <tbody style="display:none;" id="menu4"> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">网关品牌</td> <td class="cell2"> <input type="text" name="propertyBrand4" /><font color="#ff0000">*</font> <input type="hidden" name="propertyType4"/> </td> <td class="cell1">网关型号</td> <td class="cell2"><input type="text" name="propertyNo4" /><font color="#ff0000">*</font></td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">SN号</td> <td class="cell2"> <input type="text" name="propertySNNo4" maxlength="12"/> <font color=red>(资产SN号如果不能读出请填写"未读出")</font> </td> <td class="cell1">IP地址</td> <td class="cell2"> <input type="text" name="propertyIp4" /><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">责任人</td> <td class="cell2"> <input type="text" name="netManager4" /></td> <td class="cell1">密级</td> <td class="cell2"> <input type="radio" id="Airtight1" name="Airtight4" value="绝密" />绝密 <input type="radio" id="Airtight1" name="Airtight4" value="机密" />机密 <input type="radio" id="Airtight1" name="Airtight4" value="秘密" />秘密 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">涉密网络名称</td> <td class="cell2"> <input type="text" name="NetName4" /></td> <td class="cell1">是否属于要害部门、部位</td> <td class="cell2"> <input type="radio" id="Part1" name="Part4" value="是" />是 <input type="radio" id="Part1" name="Part4" value="否" />否 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td style="color: #41247B" align="right">备注信息</td> <td colspan="3"> <textarea onblur="checklength(this,200)" maxlength="300" name="remark4" id="remark" rows="3" cols="70"></textarea> <font color="red">(注:限200字符内)</font> </td> </tr> </tbody> <tbody style="display:none;" id="menu5"> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">网络设备名称</td> <td class="cell2"> <input type="text" name="propertyOtherName" id="propertyOtherName"/><font color="#ff0000">*</font> </td> <td class="cell1">品牌</td> <td class="cell2"> <input type="text" name="propertyBrand5" /><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF"> <td class="cell1">IP地址</td> <td class="cell2"> <input type="text" name="propertyIp5" /><font color="#ff0000">*</font> </td> <td class="cell1">型号</td> <td class="cell2"> <input type="text" name="propertyNo5" /><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">责任人</td> <td class="cell2"> <input type="text" name="netManager4" /></td> <td class="cell1">密级</td> <td class="cell2"> <input type="radio" id="Airtight1" name="Airtight5" value="绝密" />绝密 <input type="radio" id="Airtight1" name="Airtight5" value="机密" />机密 <input type="radio" id="Airtight1" name="Airtight5" value="秘密" />秘密 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">涉密网络名称</td> <td class="cell2"> <input type="text" name="NetSMName5" /></td> <td class="cell1">是否属于要害部门、部位</td> <td class="cell2"> <input type="radio" id="Part1" name="Part5" value="是" />是 <input type="radio" id="Part1" name="Part5" value="否" />否 </td> </tr> <tr bgcolor="#FFFFFF" width="40px"> <td class="cell1">SN号</td> <td class="cell2"> <input type="text" name="propertySNNo5" maxlength="12" /> <font color=red>(资产SN号如果不能读出请填写"未读出")</font> </td> <td class="cell1"></td> <td class="cell2"></td> </tr> </tbody> </table> <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02"> <tr bgcolor="#FFFFFF" height="40px" > <td align="left" > <input name="button2" onclick="check('addPropertyNetInfo');" type="image" alt="保存" src="/images1/bc1.png"/> <input name="button2" onClick="check('backPropertyNetadd');" type="image" alt="返回" src="/images1/fh.png"/> <input name="button2" onclick="return check('deletePropertyNetInfo');" type="image" src="/images1/cc.png"/> <a href="javascript:window.location.reload();"><img src="/images1/sx.png" border="0" alt="刷新"/></a> </td> </tr> </table> <!-- 隐藏显示 End --> <% HashFmlBuf buf = (HashFmlBuf) request.getAttribute("InfoBuf"); if (buf != null) { int rowcount = buf.getRowCount(); %> <div style="width: 100%; height: 86%; overflow: auto;"> <div id="myGrid" class="2k3Grid" borderWidth="0" contextMenu="mnuGridContextMenu" altRowColor="oldLace"> <div class="gridHead"> <div class="gridRow"> <span width="5px" style="text-align: center;">序号</span> <span width="15px">网络编号</span> <span>涉密网络名称</span> <span>网络设备种类</span> <span>品牌</span> <span>型号</span> <span>SN号</span> <span>IP地址</span> <span>备注信息</span> <span>管理</span> </div> </div> <div class="gridBody"> <% for (int i = 0; i < rowcount; i++) { %> <div class="gridRow"> <span width="5px" style="text-align: center;"><%=i+1 %> <input type="checkbox" name="Infos" value="<%=buf.fget("id", i)%>"/></span> <span width="15px"><%=buf.fget("id", i)%></span> <span><%=buf.fget("NetSMName", i)%></span> <span><%=buf.fget("NET_NAME", i)%></span> <span><%=buf.fget("NET_BRAND", i)%></span> <span><%=buf.fget("NET_NO", i)%></span> <span><%=buf.fget("PROPERTY_SN", i)%></span> <span><%=buf.fget("NET_IP", i)%></span> <span><%=buf.fget("REMARK", i)%></span> <span width="15px"> <a href="/servlet/PropertyNetManageServlet?operate=showInfoProperty&InfoId=<%=buf.fget("id", i)%>&operateuseId=<%=operateuseId%>&dwNames=<%=dwNames%>"><img src="/images1/read_document.png" border="0" alt="预览"/></a> <a href="/servlet/PropertyNetManageServlet?operate=deletePropertyNetRow&InfoId=<%=buf.fget("id", i)%>&operateuseId=<%=operateuseId%>&dwNames=<%=dwNames%>"><img src="/images1/delete.gif" border="0" alt="删除"/></a> </span> </div> <% } %> </div> </div> </div> <% } %> </td> </tr> </table> </form> <%@include file="/foot.jsp"%> </body> </html> <script> function selectArea(sj) { var url = "/servlet/SelectPara?select=area&frameworkid=" + sj; var callback = changeArea; executeXhr(callback, url); } function changeArea() { if (req.readyState == 4) { if (req.status == 200) { document.getElementById("areaDiv").innerHTML = "<select class='aselect' name='areaid'>" + req.responseText + "</select> <font color='#FF0000'>*</font>"; } else { alert("There was a problem retrieving the XML data:" + req.statusText); } } } </script> <script src="/js/ajaxUtils.js"></script>