app/views/educode_sales/sales/index.html.erb in educode_sales-0.2.0 vs app/views/educode_sales/sales/index.html.erb in educode_sales-0.2.1
- old
+ new
@@ -27,35 +27,40 @@
url: '/educode_sales/sales',
cellMinWidth: 80,
cols: [
[{
field: 'id',
- title: 'ID',
+ title:'序号',type: 'numbers',
width: 80
}, {
field: 'name',
- title: '姓名'
+ title: '姓名',
+ width: 100
}, {
field: 'area',
title: '负责区域',
- width: 400,
}, {
field: 'business_a',
title: 'A类商机',
- templet: "#business_a"
+ templet: "#business_a",
+ width: 120
}, {
field: 'business_b',
title: 'B类商机',
- templet: "#business_b"
+ templet: "#business_b",
+ width: 120
}, {
field: 'goal',
- title: '中标金额(万)'
+ title: '中标金额(万)',
+ width: 120
}, {
field: 'return_money',
- title: '回款'
+ title: '回款(万)',
+ width: 120
}
]
],
+ limit: 20,
page: true
});
});
</script>
\ No newline at end of file