etms/WEB-INF/view/cetc54/user/user_edit.ftl

44 lines
2.0 KiB
Plaintext
Raw Normal View History

<div class="ui_dialog" id="dialog">
<form id="grid_form" method="post" enctype="multipart/form-data">
</form>
</div>
<script id="grid_form_temp" type="text/html">
<input type="hidden" id="hdID" value="{{id}}"/>
<div class="formTitle"><span class="icon icon_menu"></span>基本信息</div>
<table class="fromTable">
<tr>
<th>所属组织:
<input type="hidden" name="user.status" value="{{status}}"/>
<input type="hidden" name="user.userType" value="{{usertype}}"/>
</th>
<td><select id="orgId" name="orgId" class="ui_validate"
ui-config="required:true,multiple:true,width:202,panelWidth:400,panelHeight:280"></select>
<div id="org_panel" style="display: none">
<ul id="org_tree" class="ztree"></ul>
</div>
</td>
<th>姓名:</th>
<td><input id="username" name="user.userName" class="ui_validate" type="text"
ui-config="required:true,width:200" value="{{username}}"/></td>
</tr>
<tr>
<th>登录账号:</th>
<td><input id="loginname" name="user.loginName" class="ui_validate" type="text"
ui-config="required:true,width:200" value="{{loginname}}" />
</td>
<th>密码:</th>
<td><input id="password" type="text" ui-config="required:false,width:200" title="如果为空,则由系统生成" />
</td>
</tr>
<tr>
<th>性别:</th>
<td><input id="sex" name="user.sex" class="ui_validate" type="text"
ui-config="required:true,width:202,dictKey:'sex'" value="{{sex}}"/></td>
<th>用户编码:</th>
<td><input id="usercode" name="user.userCode" class="ui_validate" type="text"
ui-config="required:false,width:200" value="{{usercode}}"/></td>
</tr>
</table>
<#include "user_edit_ext.ftl">
</script>