<%= select_tag "customer_count_type", options_for_select([['按跟进客户数统计','money'],['按跟进客户次数统计','count']],params[:customer_count_type]), {'lay-filter': 'goal_count'}%>
<% options = [['上周','last_week'],['本周','this_week'],['上月','last_month'],['本月','this_month'],['去年','last_year'],['今年','this_year'],['全部','all'],['自定义','diy']]%> <%= select_tag "customer_time_range", options_for_select(options, params[:customer_time_range] || 'this_year'), { 'lay-filter': 'customer_time_range'} %>