📄 useradd.jsp
字号:
<jsp:include page="/include/global.jsp"/>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType="text/html; charset=GBK" %>
<html:html>
<head>
<title><bean:message key="global.productCode"/> <bean:message key="global.version"/></title>
<base target="_self">
<meta http-equiv="Pragma" content="no-cache">
<link rel="stylesheet" type="text/css" href="../../common/olstyle.css">
<script language="JavaScript" src="../../common/meizzDate.js"></script>
<html:javascript formName="userForm" dynamicJavascript="true" staticJavascript="false"/>
<script language="Javascript1.1" src="../../staticJavascript.jsp"></script>
</head>
<body onload="showErrors();">
<html:form action="/admin/user/userSave.do" onsubmit="return validateUserForm(this);">
<table width="90%" align="center">
<tr>
<td align="center" valign="top">
</td>
</tr>
<tr>
<td>
<table width="100%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" bgcolor="#669999"><div align="center"><font color="#FFFF99">添加用户</font></div></td>
</tr>
</table>
<table width="100%">
<tr class="inputRow">
<td align="right" width="80"><bean:message key="global.red_asterisk"/> 用 户 名 </td>
<td><html:text property="username" maxlength="30" title="30个字符以内" style="width:160"/> <img align="middle" src="../../images/small/help-16x16.gif" title="用户名只能由字母、数字或者下划线、中划线组成
用户名首位必须是字母,总长度不超过30个字符">
</td>
</tr>
<tr class="inputRow">
<td align="right" width="80"><bean:message key="global.red_asterisk"/> 人员姓名 </td>
<td><html:text property="fullName" maxlength="30" title="30个字符以内" maxlength="30" style="width:160"/></td>
</tr>
<tr class="inputRow">
<td align="right" width="80">工作单位 </td>
<td>
<html:select property="department" style="width:160">
<html:option value="">--------请选择---------</html:option>
<jsp:include page="/getcategories?parentId=1"/>
<html:options collection="categories" property="name" labelProperty="name"/>
</html:select>
</td>
</tr>
<tr class="inputRow">
<td align="right" width="80">职位职称 </td>
<td><html:text property="title" maxlength="50" title="50个字符以内" style="width:180"/>
</td>
</tr>
<tr class="inputRow">
<td align="right" width="80">联系电话 </td>
<td><html:text property="phone" maxlength="50" title="50个字符以内" style="width:180"/>
</td>
</tr>
<tr class="inputRow">
<td align="right" width="80">电子邮件 </font></td>
<td><html:text property="email" maxlength="100" title="100个字符以内" style="width:180"/>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td><hr width="100%"></td>
<td class="dlgTitle" width="50">设置密码</td>
<td><hr width="100%"></td>
</tr>
</table>
<table width="100%">
<tr class="inputRow">
<td align="right" width="80">密 码 </td>
<td><html:password property="password1" maxlength="30" title="30个字符以内" style="width:160"/> <img align="middle" src="../../images/small/help-16x16.gif" title="如不输入,用户初始密码设置为空"></td>
</tr>
<tr class="inputRow">
<td align="right" width="80">确认密码 </td>
<td><html:password property="password2" style="width:160"/>
</td>
</tr>
</table>
<hr>
<jsp:include page="/include/savebuttons.jsp"/>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -