📄 updatepcroom.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="css/main.css" rel="stylesheet" type="text/css">
<script type="text/JavaScript" src="../js/nv.js">
</script>
<link href="css/index.css" rel="stylesheet" type="text/css">
</head>
<body>
<html:form action="/pcroom/pcroom.do?act=updatePcroom" method="post">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="35"><img src="images/3toptop_01.gif" width="35" height="28"></td>
<td width="5"><img src="images/3toptop_02.gif" width="5" height="28"></td>
<td width="200" align="center" background="images/3toptop_03.gif" class="gray-bold-word"><a href="#">更改机房信息</a></td>
<td width="5"><img src="images/3toptop_04.gif" width="5" height="28"></td>
<td width="20"><img src="images/3toptop_05.gif" width="20" height="28"></td>
<td background="images/3top_06.gif"> </td>
<td width="35"><img src="images/3toptop_07.gif" width="35" height="28"></td>
</tr>
</table>
<table width="90%" border="1" align="center" cellpadding="4" cellspacing="2" class="gray-bd3-2">
<tr>
<td colspan="6" align="center"> </td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb"> 机房名称 </td>
<td colspan="3"><input type="text" name="name"/></td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb"> 负责人 </td>
<td colspan="3">
<html:select property="empName">
<html:optionsCollection label="name" property="list1" value="id"/>
</html:select>
</td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb"> 所属部门 </td>
<td colspan="3">
<html:select property="deptNmae">
<html:optionsCollection label="name" property="list" value="id"/>
</html:select>
</td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb">地址 </td>
<td colspan="3"><input type="text" name="address" size="50"/></td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb"> 备注 </td>
<td colspan="3"><textarea name="remark" cols="60"></textarea></td>
</tr>
</table>
<p align="center">
<input name="Submit" type="button" class="small-btn" value="提交" onClick="onSubmit()" />
<input name="Submit" type="button" class="small-btn" value="取消" onClick="doSubmit('Submit');" />
<p align="center"> </p>
</html:form>
</body>
<script type="text/javascript">
function onSubmit(){
confirm("是否确认提交");
document.pcroomForm.action="pcroom.do?act=update"
document.pcroomForm.submit();
}
</script>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -