app/views/educode_sales/sales/index.html.erb in educode_sales-0.3.5 vs app/views/educode_sales/sales/index.html.erb in educode_sales-0.3.6

- old
+ new

@@ -8,25 +8,25 @@ <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> + <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="/educode_sales/businesses?clazz_id={{d.b_clazz_id}}&staff_id={{d.id}}">{{d.business_b}}</a> + <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: '/educode_sales/sales', + url: '/missions/sales', cellMinWidth: 80, cols: [ [{ field: 'id', title:'序号',type: 'numbers', @@ -57,10 +57,9 @@ title: '回款', width: 120 } ] ], - height: 700, limit: 20, page: true }); }); </script> \ No newline at end of file