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.

206 lines
6.9 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@page import="com.zky.pojo.MyUtils"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@page import="com.zky.pub.HashFmlBuf"%>
<%@ page import="com.zky.bjca.SM4" %>
<%@ page import="cn.org.bjca.utils.Base64" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>涉密资产统计信息</title>
<link href="../../../css/font.css" rel="stylesheet" type="text/css"></link>
<style>
.bt{text-align:center;}
body {
background-color: #FFF;
margin:0 auto; width:650px;
}
tr{ line-height: 30px;}
.partone{float:left; font-family:宋体; font-size:16px; font-weight:bolder;}
.main{float:left; font-family:宋体; font-size:14px; text-align:center;}
table{border-collapse:collapse; cellspacing="0px" cellpadding="0px"}
.maintwo{float:left;font-family:宋体; font-size:14px; text-align:center;}
.footer{float:left;font-family:宋体; font-size:14px; margin-left:500px; margin-top:10px;}
</style>
</head>
<%
HashFmlBuf buf=(HashFmlBuf)request.getAttribute("useBuf");
%>
<!--
手机型号 HTC HD7
IMEI码 352811042278873
SN码 HT11DRG01687
出厂时间 2011年1月13日
销售地 新加坡
-->
<body>
<div class="bt">
<br />
<h2><%=buf.fget("departname", 0) %>资产统计信息表</h2>
</div>
<div>
<table width="740" border="0" >
<tr>
<td width="8%" class="partone">单位:</td>
<td width="65%" class="partone"><%=buf.fget("departname",0) %></td>
<td width="8%" class="partone" align="right">日期:</td>
<td width="13%" class="partone" align="right"><%=MyUtils.getDateString() %></td>
</tr>
</table>
</div>
<div class="main">
<table width="740px" border="1">
<tr height="30">
<td>所属市州</td>
<td><%=buf.fget("FRAMEWORKNAME", 0) %></td>
<td>所属区县</td>
<td><%=buf.fget("AREADEF", 0) %></td>
<td>登记人员</td>
<td><%=buf.fget("use_staffid", 0) %></td>
</tr>
<tr height="30">
<td>使用单位</td>
<td><%=buf.fget("departname", 0) %></td>
<td>使用人员</td>
<td><%=SM4.SM4Decrypt(Base64.decode(buf.fget("recover_staffid", 0))) %></td>
<td>登记时间</td>
<td><%=buf.fget("use_date", 0) %></td>
</tr>
<tr height="30">
<td>接收时间</td>
<td><%=buf.fget("use_date", 0) %></td>
<td >登记编号</td>
<td><%=buf.fget("use_id", 0) %></td>
<td>资产总数</td>
<td colspan="3"><%=buf.getRowCount() %></td>
</tr>
</table>
<table width="740px" border="1"cellspacing="0px" cellpadding="0px" style="border-top:none">
<tr>
<td width="90" height="40" style="border-top:none">资产编号</td>
<td width="80" height="40" style="border-top:none">资产名称</td>
<td width="70" height="40" style="border-top:none">品牌</td>
<td width="60"height="40" style="border-top:none">型号</td>
<td width="80"height="40" style="border-top:none">资产SN码</td>
<td width="120"height="40" style="border-top:none">备注信息</td>
<td width="190" height="40" colspan="4" style="border-top:none">其他信息</td>
</tr>
<%
HashFmlBuf buf1=(HashFmlBuf)request.getAttribute("useInfo");
if (buf1 != null) {
int rowcount = buf1.getRowCount();
for (int i=0; i<rowcount; i++) {
String tmpbrand=buf1.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(多彩)";
}
%>
<tr>
<td height="40" width="10" align="center"><%=buf1.fget("id",i) %></td>
<td><%=buf1.fget("property_name",i) %></td>
<td><%=tmpbrand%></td>
<td><%=buf1.fget("property_no",i) %></td>
<td><%=buf1.fget("property_sn",i) %></td>
<td><%=buf1.fget("remark",i) %></td>
<td colspan="4" align="left"><%-- <%=buf1.fget("property_sn",i) %> --%>
<span style="line-height: 20px;">
<%if(buf1.fget("PROPERTYSDSTORY",i).equals("")){ %>
<%}else{ %>
<font color=red>报废依据:<%=buf1.fget("PROPERTYSDSTORY",i)%></font>
<%} %>
</span><br />
<span style="line-height: 20px;">
<%if(buf1.fget("property_soffwe",i).equals("")){ %>
<%}else{ %>
涉密网络:<%=buf1.fget("property_soffwe",i)%>
<%} %>
</span><br />
<%if(buf1.fget("property_name",i).equals("涉密计算机")){ %>
<span style="line-height: 20px;">电脑类型:<%=buf1.fget("property_type",i) %></span><br>
<span style="line-height: 20px;">Mac地址<%=buf1.fget("property_mac",i) %></span><br>
<span style="line-height: 20px;">硬盘序列号:<%=buf1.fget("property_soff",i) %></span><br>
<span style="line-height: 20px;">涉密计算机:<%=buf1.fget("property_netw",i) %></span><br>
<span style="line-height: 20px;"> 防火软件:
<%=buf1.fget("YESNOSOFTWEREONE",i) %>
<%=buf1.fget("YESNOSOFTWERETWO",i) %>
<%=buf1.fget("YESNOSOFTWERETHREE",i) %>
<%=buf1.fget("YESNOSOFTWEREFOUR",i) %></span>
<%}else if(buf1.fget("property_name",i).equals("移动硬盘")){ %>
<span style="line-height: 20px;">硬盘序列号:<%=buf1.fget("property_soff",i) %></span><br>
<%} %>
</td>
</tr>
<%
}
%>
<%
}
%>
</table>
<br/>
<table align="center">
<tr>
<td><%@include file="/print/print.jsp"%></td>
</tr>
</table>
</div>
</body>
</html>