⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewcomputer.jsp

📁 用于银行全面掌控公司及各个部门的员工信息与设备资料
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<jsp:include page="/Main/Main.jsp" />
<script type="text/javascript" src="images/js/date.js"></script>

<SCRIPT language=JavaScript1.2>
		
     	function returnlist()
     	{
     		document.forms[0].code.value="4";
     		document.forms[0].submit();
     	}
		
</script>

<BR>
<BR>

<CENTER>
	<span class="FormTitle">&nbsp;&nbsp;&nbsp;查看计算机设备&nbsp;&nbsp;</span>
	<BR>
	<html:form action="/addComputer.do" method="post">
		<html:hidden property="code"/>
		<input type="hidden" name="comId" value="${computer.comId}">
		<table class="midTable1" width="70%" align="center" border="0"
			cellpadding="2" cellspacing="0">
			<tr>
				<td align="center" nowrap class="midTable1td1">
					所属部门
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<select name="comUserUnit">
						<option value="${computer.comUserUnit}">
							<c:out value="${computer.comUserUnit}"></c:out>
						</option>
					</select>
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					计算机编号
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comNumber" value="${computer.comNumber}" readonly="true"></html:text>
					自动编码&nbsp;单位两位/部门两位/设备编号4位
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					计算机品牌型号
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comType" value="${computer.comType}" readonly="true"></html:text>
					&nbsp;例如:联想天骄100
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					CPU型号
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comCpu" value="${computer.comCpu}" readonly="true"></html:text>
					&nbsp;例如:C1200
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					内存
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comMemory" value="${computer.comMemory}" readonly="true"></html:text>
					&nbsp;例如:512M
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					硬盘大小
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comHardDisk" value="${computer.comHardDisk}" readonly="true"></html:text>
					&nbsp;例如:60GB
				</td>
			</tr>

			<tr>
				<td align="center" nowrap class="midTable1td1">
					操作系统
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comOs" value="${computer.comOs}" readonly="true"></html:text>
					&nbsp;例如:WindowsXP
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					IP地址
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comIpaddress" value="${computer.comIpaddress}" readonly="true"></html:text>
					&nbsp;例如:192.168.0.21
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					MAC地址
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comMacaddress" value="${computer.comMacaddress}" readonly="true"></html:text>
					&nbsp;例如:255.255.255.0
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					使用人
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comUserName" value="${computer.comUserName}" readonly="true"></html:text>
					&nbsp;例如:张三
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					机房号
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comHouseId" value="${computer.comHouseId}" readonly="true"></html:text>
					&nbsp;例如:1204房
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					责任人
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comDutyMan" value="${computer.comDutyMan}" readonly="true"></html:text>
					&nbsp;例如:张三
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					用途
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comPurpose" value="${computer.comPurpose}" readonly="true"></html:text>
					&nbsp;例如:文字处理
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					购买时间
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comBuyTime" onfocus="setday(this)" value="${computer.comBuyTime}" readonly="true"></html:text>
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					领用时间
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<html:text property="comUseTime" onfocus="setday(this)" value="${computer.comUseTime}" readonly="true"></html:text>
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1">
					设备类型
				</td>
				<td width="60%" nowrap class="midTable1td2">
					<select name="comUseDevice">
						<option>
							<c:out value="${computer.comUseDevice}"></c:out>
						</option>
					</select>
					&nbsp;
				</td>
			</tr>
			<tr>
				<td align="center" nowrap class="midTable1td1" colspan=2>
					<html:button property="button" value="关闭" onclick="returnlist();"></html:button>
				</td>
			</tr>
		</table>
		<BR>
		<table>
		</table>
	</html:form>
</CENTER>
<jsp:include page="/Main/Footer.html" />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -