123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <!DOCTYPE html>
- <html xmlns:th="http://www.w3.org/1999/xhtml">
- <meta charset="utf-8">
- <head th:include="include :: header"></head>
- <link href="/ajax/libs/iCheck/custom.css" th:href="@{/ajax/libs/iCheck/custom.css}" rel="stylesheet"/>
- <link href="/ajax/libs/select/select2.css" th:href="@{/ajax/libs/select/select2.css}" rel="stylesheet"/>
- <link href="/ruoyi/css/RuoYi.css" th:href="@{/ruoyi/css/RuoYi.css}" rel="stylesheet"/>
- <body class="white-bg">
- <div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form class="form-horizontal m" id="form-user-add">
- <input name="deptId" type="hidden" id="treeId"/>
- <div class="form-group">
- <label class="col-sm-3 control-label ">登录名称:</label>
- <div class="col-sm-8">
- <input class="form-control" type="text" id="loginName" name="loginName"/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">部门名称:</label>
- <div class="col-sm-8">
- <input class="form-control" type="text" name="deptName" onclick="selectDeptTree()" readonly="true" id="treeName">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">用户名称:</label>
- <div class="col-sm-8">
- <input class="form-control" type="text" name="userName" id="userName">
- </div>
- </div>
- <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')}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">邮箱:</label>
- <div class="col-sm-8">
- <input class="form-control" type="text" name="email" id="email">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">手机:</label>
- <div class="col-sm-8">
- <input class="form-control" type="text" name="phonenumber" id="phonenumber">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">性别:</label>
- <div class="col-sm-8">
- <div class="radio radio-info radio-inline">
- <input type="radio" id="radio1" name="sex" value="0" checked="">
- <label for="radio1">男</label>
- </div>
- <div class="radio radio-danger radio-inline">
- <input type="radio" id="radio2" name="sex" value="1">
- <label for="radio2">女</label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">状态:</label>
- <div class="col-sm-8">
- <div class="onoffswitch">
- <input type="checkbox" th:checked="true" class="onoffswitch-checkbox" id="status" name="status">
- <label class="onoffswitch-label" for="status">
- <span class="onoffswitch-inner"></span>
- <span class="onoffswitch-switch"></span>
- </label>
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">岗位:</label>
- <div class="col-sm-8">
- <select id="post" name="post" class="form-control select2-hidden-accessible" multiple="">
- <option th:each="post:${posts}" th:value="${post.postId}" th:text="${post.postName}"></option>
- </select>
-
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">角色:</label>
- <div class="col-sm-8">
- <label th:each="role:${roles}" class="checkbox-inline i-checks">
- <input name="role" type="checkbox" th:value="${role.roleId}" th:text="${role.roleName}">
- </label>
- </div>
- </div>
-
- <div class="form-group">
- <div class="form-control-static col-sm-offset-9">
- <button type="submit" class="btn btn-primary">提交</button>
- <button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
- </div>
- </div>
- </form>
- </div>
- <div th:include="include::footer"></div>
- <script src="/ruoyi/system/user/add.js" th:src="@{/ruoyi/system/user/add.js}">
- </script>
- <script src="/ajax/libs/iCheck/icheck.min.js" th:src="@{/ajax/libs/iCheck/icheck.min.js}"></script>
- <script src="/ajax/libs/select/select2.js" th:src="@{/ajax/libs/select/select2.js}"></script>
- <script>
- $(document).ready(function(){$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})});
- </script>
- </body>
- </html>
|