Commit b69cc4f6 authored by agping's avatar agping

业绩排行 优化

parent 98718cc9
......@@ -89,7 +89,7 @@
<div class="panel-heading breadcrumb">
<li>
<a href="#" class="performance-ranking-head" style=""><span id="performance_ranking">业绩排行</span>&nbsp;&nbsp;&nbsp;&nbsp;<span id="rank_start_day"></span>&nbsp;&nbsp;<span id="rank_end_day"></span></a>
<select class="form-control btn2-city" id="realtime_city_choose" style="display: block;margin-top: 6px;">
<select class="form-control btn2-city" id="realtime_city_choose" style="display: none;margin-top: 6px;">
</select>
</li>
</div>
......
......@@ -53,6 +53,10 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
};
});
});
//城市 筛选
_doc.on('input', '#realtime_city_choose', function() {
realtime.getList();
});
_doc.on("input", "#user_agent_name", function() { //客户列表 客方员工姓名 下拉式搜索
if($("#user_agent_name").val() == '') {
realtime.agent_id_choose='';
......@@ -446,6 +450,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
realtime.time_search_end=$('#maintable_end_time').val();
//部门 门店 经纪人 排行 业绩总计
$('.total-performance').html(data.data.performance_total);
$('#realtime_city_choose').show();//显示 业绩排行的城市筛选
//分页代码 后端返回total 值
add_page(data.data.total, pageNo, realtime.pageSize, realtime.getList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment