Commit 5fe75bcb authored by agping's avatar agping

后台优化

parent 63abdb62
...@@ -7,6 +7,22 @@ ...@@ -7,6 +7,22 @@
.button-center-bargain{ .button-center-bargain{
width: 430px; width: 430px;
} }
/*分佣方姓名搜索*/
.user-ul{
height: auto;
float: left;
position: relative;
left: -40px;
}
.user-ul li{
list-style: none;
line-height: 30px;
}
.left-phone{
float: left;
margin-top: 10px;
margin-left: 10px;
}
</style> </style>
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<div class="container"> <div class="container">
...@@ -56,7 +72,14 @@ ...@@ -56,7 +72,14 @@
</select> </select>
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="agent_name" placeholder="约带看人姓名" type="text" value=""> <input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="agent_name" placeholder="约带看人姓名" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="agent_phone" placeholder="约带看人手机号" type="text" value=""> <input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="agent_phone" placeholder="约带看人手机号" type="text" value="">
<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value="">
<!--<input class="form-control btn2" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value="">-->
<!--同步成交报告-->
<div class="left-phone">
<input class="form-control" data-rule-phoneus="false" data-rule-required="false" id="partical_name" placeholder="分佣方姓名" type="text" value="">
<ul class="user-ul"></ul>
</div>
<div class="clear"> <div class="clear">
</div> </div>
...@@ -64,7 +87,6 @@ ...@@ -64,7 +87,6 @@
<span class="btn btn-info btn3 search" id="maintable_search">搜索</span> <span class="btn btn-info btn3 search" id="maintable_search">搜索</span>
<span class="btn btn-info btn3" id="maintable_reset">重置</span> <span class="btn btn-info btn3" id="maintable_reset">重置</span>
</div> </div>
<!--<span class="btn btn-info btn3" id="maintable_export">导出excel</span>--> <!--<span class="btn btn-info btn3" id="maintable_export">导出excel</span>-->
</form> </form>
</td> </td>
......
...@@ -930,7 +930,7 @@ ...@@ -930,7 +930,7 @@
<span class="fore-span ld-Marheight">约带看商铺:</span> <span class="fore-span ld-Marheight">约带看商铺:</span>
<div class=" "> <div class=" ">
<!--选择式--> <!--选择式-->
<input type="text" class="form-control ld-Marheight look-shop" name=" " autocomplete="off" placeholder="请输入商铺名称、商铺编号、商铺地址关键词 "> <input type="text" class="form-control ld-Marheight look-shop" name=" " autocomplete="off" placeholder="请输入商铺名称、商铺编号关键词 ">
<ul class="look-shop-ul"></ul> <ul class="look-shop-ul"></ul>
<!--下拉列表--> <!--下拉列表-->
</div> </div>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
cursor: pointer; cursor: pointer;
} }
.pk-container-detail-team .export-pk{ .pk-container-detail-team .export-pk,.rule-pk{
width: 80px; width: 80px;
height: 30px; height: 30px;
font-size: 11px; font-size: 11px;
...@@ -82,6 +82,17 @@ ...@@ -82,6 +82,17 @@
color: #fff; color: #fff;
cursor: pointer; cursor: pointer;
} }
.rule-pk{
width: 60px;
background-color: #FF9318;
margin-left: 15px;
}
.rule-pk a{
color: #fff;
}
.rule-pk-con{
font-size: 15px;
}
.pk-container-detail-a{ .pk-container-detail-a{
margin: 10px 0; margin: 10px 0;
} }
...@@ -129,7 +140,7 @@ ...@@ -129,7 +140,7 @@
margin-top: -100px; margin-top: -100px;
overflow: hidden; overflow: hidden;
display: none; display: none;
} }
</style> </style>
<div id="page-content-wrapper"> <div id="page-content-wrapper">
...@@ -138,6 +149,8 @@ ...@@ -138,6 +149,8 @@
<div class="pk-container-detail-header"> <div class="pk-container-detail-header">
<span class="margain-right-10 pk-yeji-bang">业绩PK榜</span> <span class="margain-right-10 pk-yeji-bang">业绩PK榜</span>
<span class="margain-right-10 pk-yeji-time">(<span id='start_date'></span>-<span id='end_date'></span>)</span> <span class="margain-right-10 pk-yeji-time">(<span id='start_date'></span>-<span id='end_date'></span>)</span>
<span class="rule-pk"><a class="" href="#modal-pkRule" data-toggle="modal">分档规则</a></span>
<!--<select class="results-pk"> <!--<select class="results-pk">
</select>--> </select>-->
<img src="/resource/image/gold@1x.png" class="img-gold"/> <img src="/resource/image/gold@1x.png" class="img-gold"/>
...@@ -210,3 +223,38 @@ ...@@ -210,3 +223,38 @@
<div id="main_loading_pic"> <div id="main_loading_pic">
<img src="/resource/image/jz2.gif"> <img src="/resource/image/jz2.gif">
</div> </div>
<!--分档规则-->
<div class="modal fade" id="modal-pkRule" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
×
</button>
<h4 class="modal-title">
分档规则
</h4>
</div>
<div class="modal-body">
<div class="rule-pk-con">
‘档位’ 根据上个月的业绩来分档,职称取的现在职称列表里的的职称<br /><br />
上海与上海比,杭州与杭州比,目前只做的上海的分档。上海分档以系统为准。<br /><br />
20人为一档位 余下的人 均匀分配在后边的等级里<br /><br />
每个档位不超过25人,即每个档位的人数小于等于25<br /><br />
某个职称的总人数/20=商~~~余数,商*5 < 余数时,重开一档。<br /><br />
例如某职称有总人数29人, 29/20=1~~~9,1*5<9,则重开一档,共2挡,2档的人均匀分配,即第一档人数14,第二档人数15<br /><br />
</div>
</div>
<div class="modal-footer">
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
...@@ -624,7 +624,7 @@ ...@@ -624,7 +624,7 @@
<span class="fore-span ld-Marheight">约带看商铺:</span> <span class="fore-span ld-Marheight">约带看商铺:</span>
<div class=" "> <div class=" ">
<!--选择式--> <!--选择式-->
<input type="text" class="form-control ld-Marheight look-shop" name=" " autocomplete="off" placeholder="请输入商铺名称、商铺编号、商铺地址关键词 "> <input type="text" class="form-control ld-Marheight look-shop" name=" " autocomplete="off" placeholder="请输入商铺名称、商铺编号关键词 ">
<ul class="look-shop-ul"></ul> <ul class="look-shop-ul"></ul>
<!--下拉列表--> <!--下拉列表-->
</div> </div>
......
...@@ -101,7 +101,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -101,7 +101,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
alert('最多添加5条'); alert('最多添加5条');
return false; return false;
} else { } else {
_iYJAAObj.append('<div class="form-group detail-modal-bargaininfo-commission-sec"><span class="fore-span ld-Marheight opacity-0">约带看商铺:</span><div class=" "><input type="text" class="form-control ld-Marheight look-shop" name=" " autocomplete="off" placeholder="请输入商铺名称、商铺编号、商铺地址关键词"><ul class="look-shop-ul"></ul></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic ld-Marheight"><img src="/resource/image/search_gb.png"/></mark></div>'); _iYJAAObj.append('<div class="form-group detail-modal-bargaininfo-commission-sec"><span class="fore-span ld-Marheight opacity-0">约带看商铺:</span><div class=" "><input type="text" class="form-control ld-Marheight look-shop" name=" " autocomplete="off" placeholder="请输入商铺名称、商铺编号关键词"><ul class="look-shop-ul"></ul></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic ld-Marheight"><img src="/resource/image/search_gb.png"/></mark></div>');
}; };
}); });
...@@ -1157,7 +1157,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -1157,7 +1157,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
if(data.code == 200) { if(data.code == 200) {
var user_ul2 = ""; var user_ul2 = "";
$.each(data.data, function(i, item) { $.each(data.data, function(i, item) {
user_ul2 += '<li class="addphone3" data-id="' + item.id + '">' + item.id + '-' + item.title + '-' + item.address + '</li>'; user_ul2 += '<li class="addphone3" data-id="' + item.id + '">' + item.id + '-' + item.title + '</li>';
}); });
$(n).next('.look-shop-ul').html(user_ul2); $(n).next('.look-shop-ul').html(user_ul2);
......
...@@ -163,7 +163,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -163,7 +163,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
alert('最多添加5条'); alert('最多添加5条');
return false; return false;
} else { } else {
_iYJAAObj.append('<div class="form-group detail-modal-bargaininfo-commission-sec"><span class="fore-span ld-Marheight opacity-0">约带看商铺:</span><div class=" "><input type="text" class="form-control ld-Marheight look-shop" name=" " autocomplete="off" placeholder="请输入商铺名称、商铺编号、商铺地址关键词"><ul class="look-shop-ul"></ul></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic ld-Marheight"><img src="/resource/image/search_gb.png"/></mark></div>'); _iYJAAObj.append('<div class="form-group detail-modal-bargaininfo-commission-sec"><span class="fore-span ld-Marheight opacity-0">约带看商铺:</span><div class=" "><input type="text" class="form-control ld-Marheight look-shop" name=" " autocomplete="off" placeholder="请输入商铺名称、商铺编号关键词"><ul class="look-shop-ul"></ul></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic ld-Marheight"><img src="/resource/image/search_gb.png"/></mark></div>');
}; };
}); });
...@@ -1373,7 +1373,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1373,7 +1373,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
if(data.code == 200) { if(data.code == 200) {
var user_ul2 = ""; var user_ul2 = "";
$.each(data.data, function(i, item) { $.each(data.data, function(i, item) {
user_ul2 += '<li class="addphone3" data-id="' + item.id + '">' + item.id + '-' + item.title + '-' + item.address + '</li>'; user_ul2 += '<li class="addphone3" data-id="' + item.id + '">' + item.id + '-' + item.title + '</li>';
}); });
$(n).next('.look-shop-ul').html(user_ul2); $(n).next('.look-shop-ul').html(user_ul2);
......
...@@ -7,6 +7,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList ...@@ -7,6 +7,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList
mainTabIndex: 0, mainTabIndex: 0,
bargain_id: '', bargain_id: '',
order_id: 0,//订单id order_id: 0,//订单id
agent_id_phone:'',//全局的经纪人id
init: function() { init: function() {
//初始化dot //初始化dot
$(document.body).append(template + template_tax); $(document.body).append(template + template_tax);
...@@ -27,7 +28,19 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList ...@@ -27,7 +28,19 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList
console.log(bargain.mainTabIndex); console.log(bargain.mainTabIndex);
bargain.getList(1); bargain.getList(1);
}); });
//分佣方 姓名下拉式
$(document).on("input", "#partical_name", function() { //手机号新增搜索客方
if($("#partical_name").val() == '') {
bargain.agent_id_phone='';
$(".user-ul").html('');
} else {
bargain.search_phone();
}
});
//点击li 列表消失
$(document).delegate(".addphone", "click", function() { //list消失新增客户 点击li事件 获取id ul消失
bargain.addphone(this);
});
//搜索按钮的事件 //搜索按钮的事件
_doc.on('click', '#maintable_search', function(e) { _doc.on('click', '#maintable_search', function(e) {
e.preventDefault(); e.preventDefault();
...@@ -38,6 +51,8 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList ...@@ -38,6 +51,8 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList
//搜索的重置 //搜索的重置
$("#maintable_reset").click(function() { $("#maintable_reset").click(function() {
document.getElementById("maintable_form_search").reset(); document.getElementById("maintable_form_search").reset();
bargain.agent_id_phone='';
}); });
//时间轴按钮 //时间轴按钮
...@@ -203,7 +218,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList ...@@ -203,7 +218,7 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList
'store_id' : $("select[name='store_id'] option:selected").val(), 'store_id' : $("select[name='store_id'] option:selected").val(),
'agent_name': $.trim($('#agent_name').val()), 'agent_name': $.trim($('#agent_name').val()),
'agent_phone': $.trim($('#agent_phone').val()), 'agent_phone': $.trim($('#agent_phone').val()),
'partial_name': $.trim($('#partical_name').val()) 'partial_id': bargain.agent_id_phone
}; };
$.ajax({ $.ajax({
...@@ -239,6 +254,53 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList ...@@ -239,6 +254,53 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'text!temp/reportList
} }
}); });
}, },
//分佣方 姓名搜索
search_phone: function() { //手机号新增客户
$.ajax({
url: '/index/getBroker_new',
type: 'GET',
async: true,
data: {
"phone": $("#partical_name").val(),
'all' : 1
},
dataType: 'json',
success: function(data) {
if(data.code == 200) {
var user_ul = "";
$.each(data.data, function(i, item) {
if(item.status == 0){
var status=' ';
};
if(item.status == 1){
var status='-长假';
};
if(item.status == 2){
var status='-离职';
};
if(item.status == 3){
var status='-转勤';
}
user_ul += '<li class="addphone" data-id="' + item.id + '">' + item.id + '-' + item.name + '-' + item.phone + status + '</li>';
});
$(".user-ul").html(user_ul);
} else {
alert(data.msg);
}
}
});
},
//将li里的值 赋给input(分佣方姓名)
addphone: function(obj) {//新增客户 input赋值
var user_ht = $(obj).html()+'';
console.log(user_ht.length);
var user_ht_str=user_ht.substring(0,user_ht.length-3);
$("#partical_name").val(user_ht_str);
$(".user-ul").html('');
bargain.agent_id_phone = $(obj).attr("data-id");
},
getDistrict: function(fn) { getDistrict: function(fn) {
$.ajax({ $.ajax({
url: '/index/getDistrict', url: '/index/getDistrict',
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<a class="store-ranking" href="#modal-store" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['district_name']%]</a> <a class="store-ranking" href="#modal-store" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['district_name']%]</a>
</td> </td>
<td class="text-center"><a class="team-number-details performance-district-click" href="#modal-team-number-details" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['team_num'] %]</a></td> <td class="text-center"><a class="team-number-details performance-district-click" href="#modal-team-number-details" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['team_num'] %]</a></td>
<td class="text-center">[%= 666666 %]</td> <td class="text-center">[%= it[item]['followUp_sum_total'] %]</td>
<td class="text-center"><a class="newuser-number-details performance-district-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['add_user_num_total'] %]</a></td> <td class="text-center"><a class="newuser-number-details performance-district-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['add_user_num_total'] %]</a></td>
<td class="text-center"><a class="newshop-number-details performance-district-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['add_house_num_total'] %]</a></td> <td class="text-center"><a class="newshop-number-details performance-district-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['add_house_num_total'] %]</a></td>
<td class="text-center"><a class="reported-number-details performance-district-click" href="#modal-reported-number-details" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['look_at_num_total'] %]</a></td> <td class="text-center"><a class="reported-number-details performance-district-click" href="#modal-reported-number-details" data-toggle="modal" data-id="[%= it[item]['district_id'] %]">[%= it[item]['look_at_num_total'] %]</a></td>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<a class="agent-ranking" href="#modal-agent" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['store_name']%]</a> <a class="agent-ranking" href="#modal-agent" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['store_name']%]</a>
</td> </td>
<td class="text-center"><a class="team-number-details" href="#modal-team-number-details" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['team_num'] %]</a></td> <td class="text-center"><a class="team-number-details" href="#modal-team-number-details" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['team_num'] %]</a></td>
<td class="text-center">[%= 666666 %]</td> <td class="text-center">[%= it[item]['followUp_sum_total'] %]</td>
<td class="text-center"><a class="newuser-number-details performance-store-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['add_user_num_total'] %]</a></td> <td class="text-center"><a class="newuser-number-details performance-store-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['add_user_num_total'] %]</a></td>
<td class="text-center"><a class="newshop-number-details performance-store-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['add_house_num_total'] %]</a></td> <td class="text-center"><a class="newshop-number-details performance-store-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['add_house_num_total'] %]</a></td>
<td class="text-center"><a class="reported-number-details performance-store-click" href="#modal-reported-number-details" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['look_at_num_total'] %]</a></td> <td class="text-center"><a class="reported-number-details performance-store-click" href="#modal-reported-number-details" data-toggle="modal" data-id="[%= it[item]['store_id'] %]">[%= it[item]['look_at_num_total'] %]</a></td>
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<tr data-id="[%= it[item]['id'] %]" data-orderid="[%= it[item]['order_id'] %]"> <tr data-id="[%= it[item]['id'] %]" data-orderid="[%= it[item]['order_id'] %]">
<td class="text-center">[%= it[item]['index_'] %]</td> <td class="text-center">[%= it[item]['index_'] %]</td>
<td class="text-center">[%= it[item]['district_name']+'-'+it[item]['store_name']+'-'+it[item]['name'] %]</a></td> <td class="text-center">[%= it[item]['district_name']+'-'+it[item]['store_name']+'-'+it[item]['name'] %]</a></td>
<td class="text-center">[%= 666666 %]</td> <td class="text-center">[%= it[item]['followUp_sum_total'] %]</td>
<td class="text-center"><a class="newuser-number-details performance-person-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it[item]['agent_id'] %]">[%= it[item]['add_user_num_total'] %]</a></td> <td class="text-center"><a class="newuser-number-details performance-person-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it[item]['agent_id'] %]">[%= it[item]['add_user_num_total'] %]</a></td>
<td class="text-center"><a class="newshop-number-details performance-person-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it[item]['agent_id'] %]">[%= it[item]['add_house_num_total'] %]</a></td> <td class="text-center"><a class="newshop-number-details performance-person-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it[item]['agent_id'] %]">[%= it[item]['add_house_num_total'] %]</a></td>
<td class="text-center"><a class="reported-number-details performance-person-click" href="#modal-reported-number-details" data-toggle="modal" data-id="[%= it[item]['agent_id'] %]">[%= it[item]['look_at_num_total'] %]</a></td> <td class="text-center"><a class="reported-number-details performance-person-click" href="#modal-reported-number-details" data-toggle="modal" data-id="[%= it[item]['agent_id'] %]">[%= it[item]['look_at_num_total'] %]</a></td>
...@@ -139,6 +139,8 @@ ...@@ -139,6 +139,8 @@
<th class="text-center">新增商铺</th> <th class="text-center">新增商铺</th>
<th class="text-center">新增客户</th> <th class="text-center">新增客户</th>
<th class="text-center">团队人数</th> <th class="text-center">团队人数</th>
<th class="text-center">客源跟进</th>
</tr> </tr>
[% for(var item in it["list"]){ %] [% for(var item in it["list"]){ %]
<tr data-id="[%= it['list'][item]['id'] %]" data-orderid="[%= it['list'][item]['order_id'] %]"> <tr data-id="[%= it['list'][item]['id'] %]" data-orderid="[%= it['list'][item]['order_id'] %]">
...@@ -154,6 +156,8 @@ ...@@ -154,6 +156,8 @@
<td class="text-center"><a class="newshop-number-details performance-store-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it['list'][item]['store_id'] %]">[%= it["list"][item]['add_house_num_total'] %]</a></td> <td class="text-center"><a class="newshop-number-details performance-store-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it['list'][item]['store_id'] %]">[%= it["list"][item]['add_house_num_total'] %]</a></td>
<td class="text-center"><a class="newuser-number-details performance-store-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it['list'][item]['store_id'] %]">[%= it["list"][item]['add_user_num_total'] %]</a></td> <td class="text-center"><a class="newuser-number-details performance-store-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it['list'][item]['store_id'] %]">[%= it["list"][item]['add_user_num_total'] %]</a></td>
<td class="text-center"><a class="team-number-details performance-store-click" href="#modal-team-number-details" data-toggle="modal" data-id="[%= it['list'][item]['store_id'] %]">[%= it["list"][item]['team_num'] %]</a></td> <td class="text-center"><a class="team-number-details performance-store-click" href="#modal-team-number-details" data-toggle="modal" data-id="[%= it['list'][item]['store_id'] %]">[%= it["list"][item]['team_num'] %]</a></td>
<td class="text-center">[%= it["list"][item]['followUp_sum_total'] %]</td>
</tr> </tr>
[% } %] [% } %]
[% }else{ %] [% }else{ %]
...@@ -178,6 +182,8 @@ ...@@ -178,6 +182,8 @@
<th class="text-center">报备数</th> <th class="text-center">报备数</th>
<th class="text-center">新增商铺</th> <th class="text-center">新增商铺</th>
<th class="text-center">新增客户</th> <th class="text-center">新增客户</th>
<th class="text-center">客源跟进</th>
</tr> </tr>
[% for(var item in it["list"]){ %] [% for(var item in it["list"]){ %]
<tr data-id="[%= it['list'][item]['id'] %]" data-orderid="[%= it['list'][item]['order_id'] %]"> <tr data-id="[%= it['list'][item]['id'] %]" data-orderid="[%= it['list'][item]['order_id'] %]">
...@@ -190,6 +196,8 @@ ...@@ -190,6 +196,8 @@
<td class="text-center"><a class="reported-number-details performance-person-click" href="#modal-reported-number-details" data-toggle="modal" data-id="[%= it['list'][item]['agent_id'] %]">[%= it['list'][item]['look_at_num_total'] %]</a></td> <td class="text-center"><a class="reported-number-details performance-person-click" href="#modal-reported-number-details" data-toggle="modal" data-id="[%= it['list'][item]['agent_id'] %]">[%= it['list'][item]['look_at_num_total'] %]</a></td>
<td class="text-center"><a class="newshop-number-details performance-person-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it['list'][item]['agent_id'] %]">[%= it['list'][item]['add_house_num_total'] %]</a></td> <td class="text-center"><a class="newshop-number-details performance-person-click" href="#modal-newshop-number-details" data-toggle="modal" data-id="[%= it['list'][item]['agent_id'] %]">[%= it['list'][item]['add_house_num_total'] %]</a></td>
<td class="text-center"><a class="newuser-number-details performance-person-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it['list'][item]['agent_id'] %]">[%= it['list'][item]['add_user_num_total'] %]</a></td> <td class="text-center"><a class="newuser-number-details performance-person-click" href="#modal-newuser-number-details" data-toggle="modal" data-id="[%= it['list'][item]['agent_id'] %]">[%= it['list'][item]['add_user_num_total'] %]</a></td>
<td class="text-center">[%= it["list"][item]['followUp_sum_total'] %]</td>
</tr> </tr>
[% } %] [% } %]
[% }else{ %] [% }else{ %]
......
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