|
|
|
@ -22,10 +22,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">归属部门:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">归属部门:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<input class="form-control" type="text" name="deptName" onclick="selectDeptTree()" id="treeName" th:field="*{dept.deptName}">
|
|
|
|
|
<input class="form-control" required type="text" name="deptName" onclick="selectDeptTree()" id="treeName" th:field="*{dept.deptName}">
|
|
|
|
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -35,10 +35,10 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">手机号码:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">手机号码:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<input name="phonenumber" placeholder="请输入手机号码" class="form-control" type="text" maxlength="11" th:field="*{phonenumber}">
|
|
|
|
|
<input name="phonenumber" required placeholder="请输入手机号码" class="form-control" type="text" maxlength="11" th:field="*{phonenumber}">
|
|
|
|
|
<span class="input-group-addon"><i class="fa fa-mobile"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -46,10 +46,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">邮箱:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">邮箱:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<input name="email" class="form-control email" type="text" maxlength="50" placeholder="请输入邮箱" th:field="*{email}">
|
|
|
|
|
<input name="email" required class="form-control email" type="text" maxlength="50" placeholder="请输入邮箱" th:field="*{email}">
|
|
|
|
|
<span class="input-group-addon"><i class="fa fa-envelope"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -61,7 +61,7 @@
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label is-required">登录账号:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" type="text" readonly="true" th:field="*{loginName}"/>
|
|
|
|
|
<input class="form-control" required type="text" readonly="true" th:field="*{loginName}"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -70,9 +70,9 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">岗位:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">岗位:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select id="post" class="form-control select2-multiple" multiple>
|
|
|
|
|
<select id="post" required class="form-control select2-multiple" multiple>
|
|
|
|
|
<option th:each="post:${posts}" th:value="${post.postId}" th:text="${post.postName}" th:selected="${post.flag}" th:disabled="${post.status == '1'}"></option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
@ -80,9 +80,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">用户性别:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">用户性别:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select name="sex" class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}">
|
|
|
|
|
<select name="sex" required class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}">
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{sex}"></option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
@ -92,9 +92,9 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">角色:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">角色:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<label th:each="role:${roles}" class="check-box">
|
|
|
|
|
<label th:each="role:${roles}" required class="check-box">
|
|
|
|
|
<input name="role" type="checkbox" th:value="${role.roleId}" th:text="${role.roleName}" th:checked="${role.flag}" th:disabled="${role.status == '1'}">
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
@ -104,7 +104,7 @@
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">健康状况:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="helthy" class="form-control" th:field="*{helthy}" type="text">
|
|
|
|
|
<input name="helthy" required class="form-control" th:field="*{helthy}" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -112,17 +112,17 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">用户地区:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">用户地区:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="userarea" class="form-control" th:field="*{userarea}" type="text">
|
|
|
|
|
<input name="userarea" required class="form-control" th:field="*{userarea}" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">民族:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">民族:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select name="nation" class="form-control m-b" th:with="type=${@dict.getType('sys_user_nation')}">
|
|
|
|
|
<select name="nation" required class="form-control m-b" th:with="type=${@dict.getType('sys_user_nation')}">
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
@ -132,10 +132,10 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">出生年月:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">出生年月:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div class="input-group date">
|
|
|
|
|
<input name="birthday" th:value="${#dates.format(user.birthday, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
|
|
|
|
<input name="birthday" required th:value="${#dates.format(user.birthday, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
|
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -155,9 +155,9 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">涉密程度:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">涉密程度:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select name="shemichengdu" class="form-control m-b" th:with="type=${@dict.getType('sys_user_shemi')}">
|
|
|
|
|
<select name="shemichengdu" required class="form-control m-b" th:with="type=${@dict.getType('sys_user_shemi')}">
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|