Sha256: b36c111e48cd63b173d96cc6bb953d22fa4b289fc442fc1d415bc03130c1a09e
Contents?: true
Size: 1.72 KB
Versions: 6
Compression:
Stored size: 1.72 KB
Contents
<div class="section"> <h4><span>销售人员列表</span></h4> <hr> <table class="layui-hide" id="table"></table> </div> <script type="text/html" id="toolbarDemo"> <div class="layui-btn-container"> <button class="layui-btn layui-btn-sm" lay-event="getCheckData">添加</button> </div> </script> <script type="text/html" id="business_a"> <div class="layui-text"> <a href="/missions/businesses?clazz_id={{d.a_clazz_id}}&staff_id={{d.id}}">{{d.business_a}}</a> </div> </script> <script type="text/html" id="business_b"> <div class="layui-text"> <a href="/missions/businesses?clazz_id={{d.b_clazz_id}}&staff_id={{d.id}}">{{d.business_b}}</a> </div> </script> <script> layui.use('table', function () { var table = layui.table; table.render({ elem: '#table', url: '/missions/sales', cellMinWidth: 80, cols: [ [{ field: 'id', title:'序号',type: 'numbers', width: 80 }, { field: 'name', title: '姓名', width: 100 }, { field: 'area', title: '负责区域', }, { field: 'business_a', title: 'A类商机', templet: "#business_a", width: 120 }, { field: 'business_b', title: 'B类商机', templet: "#business_b", width: 120 }, { field: 'goal', title: '中标金额', width: 120 }, { field: 'return_money', title: '回款', width: 120 } ] ], limit: 20, limits: [10,15,20,30,40,50,60,70,80,90], page: true }); }); </script>
Version data entries
6 entries across 6 versions & 1 rubygems