Commit c2388c36 authored by agping's avatar agping

通话统计 修改

parent ed1e290f
{layout name="global/frame_tpl" /} {layout name="global/frame_two_tpl" /}
<input type="hidden" class="page-load" id="agentIndex" /> <input type="hidden" class="page-load" id="agentIndex" />
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<div class="container"> <div class="container">
......
...@@ -24,10 +24,10 @@ define (['doT', 'text!temp/agentIndex_template_tpl.html', 'css!style/home.css',' ...@@ -24,10 +24,10 @@ define (['doT', 'text!temp/agentIndex_template_tpl.html', 'css!style/home.css','
var n = myDate.getMonth() var n = myDate.getMonth()
var day_start = y + '-' + (n < 10 ? ('0' + n) : n) + '-' + (d < 10 ? ('0' + d) : d); var day_start = y + '-' + (n < 10 ? ('0' + n) : n) + '-' + (d < 10 ? ('0' + d) : d);
var day_end = y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d); var day_end = y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d);
$('#start_date').val(day_start); $('#start_date').val(getBeforeDate(30));
$('#end_date').val(day_end);//客户跟进 添加 默认时间一天 $('#end_date').val(day_end);//客户跟进 添加 默认时间一天
agentIndex.getList (); agentIndex.getList ();
agentIndex.event (); agentIndex.event ($('#start_date').val());
}, },
event: function () { event: function () {
$("#search").click(function () { $("#search").click(function () {
......
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