Sha256: 8dd61f889c81976cbd7a092694745255a634b47fdf765499dcadf601299586c7
Contents?: true
Size: 1.56 KB
Versions: 7
Compression:
Stored size: 1.56 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="/educode_sales/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="/educode_sales/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: '/educode_sales/sales', cellMinWidth: 80, cols: [ [{ field: 'id', title: 'ID', width: 80 }, { field: 'name', title: '姓名' }, { field: 'area', title: '负责区域', width: 400, }, { field: 'business_a', title: 'A类商机', templet: "#business_a" }, { field: 'business_b', title: 'B类商机', templet: "#business_b" }, { field: 'goal', title: '中标金额(万)' }, { field: 'return_money', title: '回款' } ] ], page: true }); }); </script>
Version data entries
7 entries across 7 versions & 1 rubygems