12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ taglib prefix="s" uri="/struts-tags" %>
- <script type="text/javascript">
- $(function(){
- $('#dept_add').combotree({
- url: 'departmentAction_forUser',
- required: true
- });
- });
- </script>
- <form id="addUserForm" method="post" enctype="multipart/form-data">
- <table class="mytable" style="width: 100%;">
- <tr>
- <th width="40%">登录名</th>
- <td width="60%">
- <input class="easyui-validatebox" required="true" type="text" id="name_add" name="user.name" style="width:150px;">
- <input type="hidden" name="user.password" value="888888">
- </td>
- </tr>
- <tr>
- <th>用户名称</th>
- <td>
- <input class="easyui-validatebox" required="true" type="text" id="fullName_add" name="user.fullName" style="width:150px;">
- </td>
- </tr>
- <tr>
- <th>用户性别</th>
- <td>
- <select name="user.sex" id="sex_add" class="easyui-validatebox" required="true" style="width:150px;">
- <option value="">请选择</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>手机号码</th>
- <td>
- <input type="text" id="phone_add" name="user.phone" style="width:150px;">
- </td>
- </tr>
- <tr>
- <th>所属组</th>
- <td>
- <select id="group_add" name="user.group.id" style="width:150px;" class="easyui-validatebox" required="true">
- <option value="">不属于其他组</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>所属部门</th>
- <td>
- <input type="text" id="dept_add" name="user.department.id" style="width:200px;">
- </td>
- </tr>
- </table>
- </form>
|