📄 updatejob.jsp
字号:
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!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="<%=request.getContextPath()%>/css/SMSpublic.css" rel="stylesheet" type="text/css" />
</head>
<script language="javascript" >
function getID(){
var id=document.getElementById("userID").value;
return id;
}
</script>
<body>
<form id="form1" name="form1" method="post" action="updateuser.do">
<table width="696" height="307" border="0" cellspacing="1">
<tr>
<td height="34" colspan="2"> <span class="title1"> 修改用户信息</span></td>
</tr>
<tr>
<td height="26" colspan="2"><span class="title2">用户ID:</span>
<input name="userID" type="text" id="userID" value="${UserinforDTO.userID}" />
<label>
<input name="query" type="button" class="button" id="query" value="查询" onclick="window.location.href='getuser.do?userID='+getID()" />
</label></td>
</tr>
<tr>
<td width="117" height="26"> <span class="title2">姓 名:</span></td>
<td width="572">${UserinforDTO.name}</td>
</tr>
<tr>
<td height="24" class="title2"> 所 在 部 门:</td>
<td height="24"><input name="dep" type="hidden" value="${UserinforDTO.departmentID}" />${UserinforDTO.department}</td>
</tr>
<tr>
<td height="25" class="title2"> 电 话 号 码: </td>
<td height="25"><label>
<input name="telephone" type="text" id="telephone" value="${UserinforDTO.phone}"/>
</label></td>
</tr>
<tr>
<td height="25" class="title2"> 现工作岗位: </td>
<td height="25"><input name="jobname" type="hidden" value="${UserinforDTO.jobID}" />${UserinforDTO.jobname}</td>
</tr>
<tr>
<td height="23"> <span class="title2">更 改 岗 位:</span>
<label></label></td>
<td height="23"><select name="job" size="1" id="job" >
<option value="0" selected="selected">未选择</option>
<option value="1">系统管理员</option>
<option value="2">部门主管</option>
<option value="3">普通管理员</option>
</select></td>
</tr>
<tr>
<td height="29"> <span class="title2"> 其他 信 息:</span></td>
<td height="29"><label>
<textarea name="information" rows="4" id="information">${UserinforDTO.information}</textarea>
</label></td>
</tr>
<tr>
<td height="29" colspan="2"> <span class="title2">提 示 信 息:</span><span class="warn">${error}</span></td>
</tr>
<tr>
<td height="29" colspan="2">
<input name="submit" type="submit" class="redirectbutton" id="submit" value="确 定"/>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -