app/views/educode_sales/sales/index.html.erb in educode_sales-0.6.2 vs app/views/educode_sales/sales/index.html.erb in educode_sales-0.6.3
- old
+ new
@@ -1,8 +1,8 @@
<div class="section">
<form class="layui-form select_year" action="">
- <span>销售人员列表</span>
+<!-- <span>销售人员列表</span>-->
<div class="layui-input-inline" style="float: right">
<%= select_tag "years", options_for_select(@years,@year), {'lay-filter': 'year' } %>
</div>
<span style="float: right;padding-right: 10px">年度</span>
</form>
@@ -48,10 +48,11 @@
<div class="layui-text">
<a href="/missions/customers?staff_id={{d.id}}">{{d.school_count}}</a>
</div>
</script>
<script type="text/html" id="bussinessBar">
+ <span>销售人员列表</span>
<div class="layui-btn-container">
</div>
</script>
<script>
layui.use('table', function () {
@@ -82,11 +83,10 @@
title: '姓名',
width: 100
}, {
field: 'area',
title: '负责区域',
- width: 100,
templet:'<div><span title="{{d.area}}">{{d.area}}</span></div>'
}, {
field: 'business_a',
title: 'A类商机',
templet: "#business_a",
@@ -161,23 +161,23 @@
title: '跟进学校次数',
sort:true,
totalRow:'{{ parseInt(d.TOTAL_NUMS) }}',
width: 130
},
- {
- field: 'follow_school_rate',
- title: '学校覆盖率',
- sort:true,
- totalRow:true,
- width: 120
- },
- {
- field: 'follow_department_rate',
- title: '学院覆盖率',
- sort:true,
- totalRow:true,
- width: 120
- },
+ // {
+ // field: 'follow_school_rate',
+ // title: '学校覆盖率',
+ // sort:true,
+ // totalRow:true,
+ // width: 120
+ // },
+ // {
+ // field: 'follow_department_rate',
+ // title: '学院覆盖率',
+ // sort:true,
+ // totalRow:true,
+ // width: 120
+ // },
]
],
limit: 20,
limits: [10,15,20,30,40,50,60,70,80,90],
page: true
\ No newline at end of file