123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org"
- xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
- <meta charset="utf-8">
- <head th:include="include :: header"></head>
- <link href="/ruoyi/css/RuoYi.css" th:href="@{/ruoyi/css/RuoYi.css}" rel="stylesheet"/>
- <link href="/ajax/libs/jquery-layout/jquery.layout-latest.css" th:href="@{/ajax/libs/jquery-layout/jquery.layout-latest.css}" rel="stylesheet"/>
- <link href="/ajax/libs/jquery-ztree/3.5/css/metro/zTreeStyle.css" th:href="@{/ajax/libs/jquery-ztree/3.5/css/metro/zTreeStyle.css}" rel="stylesheet"/>
- <!-- 文件输入框-->
- <link href="/css/plugins/fileinput/fileinput.min.css" th:href="@{/css/plugins/fileinput/fileinput.min.css}" rel="stylesheet"/>
- <body class="white-bg">
- <div class="ui-layout-west">
- <div class="main-content">
- <div class="box box-main">
- <div class="box-header">
- <div class="box-title">
- <i class="fa icon-grid"></i> 组织机构
- </div>
- <div class="box-tools pull-right">
- <a type="button" class="btn btn-box-tool menuItem" href="#" onclick="dept()" title="管理机构"><i class="fa fa-edit"></i></a>
- <button type="button" class="btn btn-box-tool" id="btnExpand" title="展开" style="display:none;"><i class="fa fa-chevron-up"></i></button>
- <button type="button" class="btn btn-box-tool" id="btnCollapse" title="折叠"><i class="fa fa-chevron-down"></i></button>
- <button type="button" class="btn btn-box-tool" id="btnRefresh" title="刷新机构"><i class="fa fa-refresh"></i></button>
- </div>
- </div>
- <div class="ui-layout-content">
- <div id="tree" class="ztree"></div>
- </div>
- </div>
- </div>
- </div>
-
- <div class="wrapper wrapper-content ui-layout-center">
- <div class="btn-group hidden-xs" id="toolbar" role="group">
- <button class="btn btn-outline btn-default" onclick="javascript:add()" shiro:hasPermission="system:user:add">
- <i class="fa fa-plus"></i> 新增
- </button>
- <button class="btn btn-outline btn-default" data-toggle="modal" data-target="#exampleModal" shiro:hasPermission="system:user:batchAdd">
- <i class="fa fa-plus-square"></i> 批量新增
- </button>
- <button class="btn btn-outline btn-default" onclick="javascript:batchRemove()" shiro:hasPermission="system:user:batchRemove">
- <i class="fa fa-trash-o"></i> 删除
- </button>
- </div>
- <input type="hidden" id="deptId">
- <input type="hidden" id="parentId">
- <table class="bootstrap-table" data-mobile-responsive="true"
- data-sort-name="create_time" data-sort-order="desc">
- </table>
- </div>
- <!-- Modal -->
- <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h3 class="modal-title" id="exampleModalLabel">导入Execl表</h3>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- <a class="btn" style="font-size:15px" href="../static/template/用户导入模板.xlsx" th:href="@{/template/用户导入模板.xlsx}">
- 用户导入模板.xlsx
- </a>
- </div>
- <div class="modal-body">
- <div class="file-loading">
- <input id="uploadfile" name="uploadfile" multiple type="file" accept=".xls,.xlsx">
- </div>
- <div id="upload-file-errors"></div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
- <button type="button" class="btn btn-primary" onclick="javascript:batchAdd()">保存</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div th:include="include :: footer"></div>
- <script src="/ruoyi/system/user/user.js" th:src="@{/ruoyi/system/user/user.js}"></script>
- <script src="/ajax/libs/jquery-layout/jquery.layout-latest.js" th:src="@{/ajax/libs/jquery-layout/jquery.layout-latest.js}"></script>
- <script src="/ajax/libs/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js" th:src="@{/ajax/libs/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js}"></script>
- <!-- 文件输入框-->
- <script src="/js/plugins/fileinput/fileinput.min.js" th:src="@{/js/plugins/fileinput/fileinput.min.js}"></script>
- <script src="/js/plugins/fileinput/locales/zh.js" th:src="@{/js/plugins/fileinput/locales/zh.js}"></script>
- <script src="/js/plugins/fileinput/plugins/piexif.js" th:src="@{/js/plugins/fileinput/plugins/piexif.js}"></script>
- <script src="/js/plugins/fileinput/plugins/purify.js" th:src="@{/js/plugins/fileinput/plugins/purify.js}"></script>
- <script src="/js/plugins/fileinput/plugins/sortable.js" th:src="@{/js/plugins/fileinput/plugins/sortable.js}"></script>
- <script th:inline="javascript">
- var editFlag = [[${@permissionService.hasPermi('system:user:edit')}]];
- var removeFlag = [[${@permissionService.hasPermi('system:user:remove')}]];
- var resetPwdFlag = [[${@permissionService.hasPermi('system:user:resetPwd')}]];
- </script>
- </body>
- </html>
|