You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

174 lines
5.7 KiB

<%@include file="/auth.jsp"%>
<%@page import="java.util.Date"%>
<%@page language="java" pageEncoding="utf-8" %>
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
<html>
<head>
<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">
<script >
function check(operate) {
form1.operate.value = operate;
if (operate == "MaintainPropertyId") {
form1.action="/servlet/PropertyMaintainManage?operate=MaintainPropertyId";
}
form1.button1.disabled=true;
form1.button2.disabled=true;
form1.submit();
}
</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>
<body onload="setValue();">
<br>
<table width="90%" 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="80%" height="23" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="3%"><img src="../../../images/little_red.jpg" width="12" height="12"></td>
<td width="97%" class="font12b">&nbsp;资产明细</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>
<form name="form1" method="post" action="/servlet/PropertyMaintainManage">
<input type="hidden" name="operate" value="operate"/>
<input type="hidden" name="id" value=""/>
<br>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="3%"><img src="/images/little.gif" width="12" height="12"></td>
<td width="97%" class="font12">详细信息<br/></td>
</tr>
</table>
<center>
<%
HashFmlBuf buf = (HashFmlBuf) request.getAttribute("useInfo");
if (buf != null) {
int rowcount = buf.getRowCount();
%>
<div style="width: 90%; height: 180px; 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>资产编号</span>
<span>资产种类</span>
<span>资产品牌</span>
<span>资产型号</span>
<span>电脑Mac地址</span>
<span>硬盘序列号</span>
<span>防护软件项</span>
</div>
</div>
<div class="gridBody">
<%
for (int i = 0; i < rowcount; i++) {
String tmpbrand=buf.fget("property_brand",i);
if (tmpbrand.equals("1")) {
tmpbrand = "lenovo(联想)";
} else if(tmpbrand.equals("2")) {
tmpbrand = "ASUS(华硕)";
} else if(tmpbrand.equals("3")) {
tmpbrand = "HP(惠普)";
}else if(tmpbrand.equals("4")) {
tmpbrand="DELL(戴尔)";
}else if(tmpbrand.equals("5")) {
tmpbrand="Acer(宏基)";
}else if(tmpbrand.equals("6")) {
tmpbrand="Toshiba(东芝)";
}else if(tmpbrand.equals("7")) {
tmpbrand="SONY(索尼)";
}else if(tmpbrand.equals("8")) {
tmpbrand="Samsung(三星)";
}else if(tmpbrand.equals("9")) {
tmpbrand="ThinkPad(联想)";
}else if(tmpbrand.equals("10")) {
tmpbrand="清华同方";
}else if(tmpbrand.equals("11")) {
tmpbrand="Alienware";
}else if(tmpbrand.equals("12")) {
tmpbrand="Apple(苹果)";
}else if(tmpbrand.equals("13")) {
tmpbrand="FUJITSU(富士通)";
}else if(tmpbrand.equals("14")) {
tmpbrand="GIGABYTE(技嘉)";
}else if(tmpbrand.equals("15")) {
tmpbrand="HEDY(七喜)";
}else if(tmpbrand.equals("16")) {
tmpbrand="BenQ(明基)";
}else if(tmpbrand.equals("17")) {
tmpbrand="Founder(方正)";
}else if(tmpbrand.equals("18")) {
tmpbrand="LG";
}else if(tmpbrand.equals("19")) {
tmpbrand="Great Wall(长城)";
}else if(tmpbrand.equals("20")) {
tmpbrand="Intel";
}else if(tmpbrand.equals("21")) {
tmpbrand="典籍";
}else if(tmpbrand.equals("22")) {
tmpbrand="DELUX(多彩)";
}
%>
<div class="gridRow">
<span width="5px" style="text-align: center;"><%=i+1 %></span>
<span><%=buf.fget("id", i)%></span>
<span><%=buf.fget("property_name", i)%></span>
<span><%=tmpbrand%></span>
<span><%=buf.fget("property_no", i)%></span>
<span><%=buf.fget("property_mac", i)%></span>
<span><%=buf.fget("property_soffwe", i)%></span>
<span><%=buf.fget("property_sn", i)%></span>
</div>
<%
}
%>
</div>
</div>
</div>
<tag:PageLinkTag operate="showPropertyDetail" scope="request" width="90%" align="center" />
<%
}
%>
<br/>
<input type="button" name="button2" value=" 返回 " class="box_button" onclick="window.history.back(-1);"/>
</center>
</form>
</td>
</tr>
</table>
</body>
</html>