Sha256: b18dfc802235728dc5dae139d429cd6a0ddc7f10d680016c2cff10b335970cdb
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 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, page: true }); }); </script>
Version data entries
3 entries across 3 versions & 1 rubygems