app/views/educode_sales/places/index.html.erb in educode_sales-0.4.4 vs app/views/educode_sales/places/index.html.erb in educode_sales-0.4.5

- old
+ new

@@ -32,17 +32,19 @@ table.render({ elem: '#place', url: '/missions/places', toolbar: '#toolbarDemo', + totalRow:true, defaultToolbar: [], cols: [ [ { field: 'id', width: 80, title:'序号',type: 'numbers', + totalRowText:'合计', }, { field: 'name', width: 300, title: '渠道名称' @@ -52,19 +54,22 @@ title: '负责区域', }, { field: 'businesses_count', width: 120, + totalRow:'{{ parseInt(d.TOTAL_NUMS) }}', title: '商机' }, { field: 'amount', width: 120, + totalRow:true, title: '中标' }, { field: 'return_mount', width: 120, + totalRow:true, title: '回款', }, { title: '操作', width: 120, \ No newline at end of file