懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_container.html",{js:["/assets${context.modularName}/${lowerEntity}/${lowerEntity}.js"]}){
2
3 <div class="layui-body-header">
4     <span class="layui-body-header-title">${tableComment}管理</span>
5 </div>
6
7 <div class="layui-fluid">
8     <div class="layui-row layui-col-space15">
9         <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
10             <div class="layui-card">
11                 <div class="layui-card-body">
12                     <div class="layui-form toolbar">
13                         <div class="layui-form-item">
14                             <% for(var i=0 ; i < conditionFields.~size ; i++){ %>
15                             <div class="layui-inline">
16                                 <input id="${conditionFields[i].camelFieldName}" class="layui-input" type="text" placeholder="${conditionFields[i].columnComment}"/>
17                             </div>
18                             <% } %>
19                             <div class="layui-inline">
20                                 <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
21                                 <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
22                                 <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
23                             </div>
24                         </div>
25                     </div>
26                     <table class="layui-table" id="${lowerEntity}Table" lay-filter="${lowerEntity}Table"></table>
27                 </div>
28             </div>
29         </div>
30     </div>
31 </div>
32
33 <script type="text/html" id="tableBar">
34     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
35     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
36 </script>
37 @}