admin
2024-01-10 7f291910791bdb9a545dc12ef36c3c359cfa4e59
提交 | 用户 | 时间
71e81e 1 @layout("/common/_container.html",{plugins:["ztree"],js:["/assets/demos/excel_import.js"]}){
2
3 <div class="layui-body-header">
4     <span class="layui-body-header-title">用户管理</span>
5 </div>
6
7 <div class="layui-fluid">
8     <div class="layui-row layui-col-space15">
9         <div class="layui-col-sm12">
10             <div class="layui-card">
11                 <div class="layui-card-body">
12                     <div class="layui-form toolbar">
13                         <div class="layui-form-item">
14                             <div class="layui-inline">
15                                 <button id="btnExp" class="layui-btn icon-btn">
16                                     <i class="layui-icon">&#xe67c;</i>导入excel并展示
17                                 </button>
18                             </div>
19                         </div>
20                     </div>
21                     <table class="layui-table" id="userTable" lay-filter="userTable"></table>
22                 </div>
23             </div>
24         </div>
25     </div>
26 </div>
27
28 <script type="text/html" id="statusTpl">
29     <input type="checkbox" lay-filter="status" value="{{d.userId}}" lay-skin="switch" lay-text="正常|冻结" {{d.status=='ENABLE'?'checked':''}} />
30 </script>
31 @}