若依2.2版本发布
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">密码:</label>
|
||||
<div class="col-sm-8">
|
||||
<input class="form-control" type="password" name="password" id="password" th:value="${@configService.selectConfigByKey('sys.user.initPassword')}">
|
||||
<input class="form-control" type="password" name="password" id="password" th:value="${@config.getKey('sys.user.initPassword')}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@ -46,7 +46,7 @@
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">性别:</label>
|
||||
<div class="col-sm-8">
|
||||
<select id="sex" class="form-control m-b" th:with="type=${@dictService.selectDictData('sys_user_sex')}">
|
||||
<select id="sex" 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']}"></option>
|
||||
</select>
|
||||
</div>
|
||||
@ -193,7 +193,7 @@
|
||||
$.ajax({
|
||||
cache : true,
|
||||
type : "POST",
|
||||
url : ctx + "system/user/save",
|
||||
url : ctx + "system/user/add",
|
||||
data : {
|
||||
"userId": userId,
|
||||
"deptId": deptId,
|
||||
|
Reference in New Issue
Block a user