Commit 11d59007 authored by agping's avatar agping

运营数据 修改

parent db634bc4
...@@ -89,8 +89,10 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho ...@@ -89,8 +89,10 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
var doTtmpl = doT.template(document.getElementById(tpl).innerHTML); var doTtmpl = doT.template(document.getElementById(tpl).innerHTML);
$("#maintable_list").html(doTtmpl(data.data)); $("#maintable_list").html(doTtmpl(data.data));
//微聊统计 //微聊统计
$('#maintable_form_search').show();
if(tpl == 'small_talk_list_tpl' && data.data){ if(tpl == 'small_talk_list_tpl' && data.data){
$('#chat_user_num').html(data.data.chat_user_num); $('#chat_user_num').html(data.data.chat_user_num);
$('#chat_user_all_num').html(data.data.chat_user_all_num);
} }
//客户统计 //客户统计
if(tpl == 'user_total_list_tpl' && data.data){ if(tpl == 'user_total_list_tpl' && data.data){
...@@ -100,6 +102,7 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho ...@@ -100,6 +102,7 @@ define(['doT', 'text!temp/operational_dataList_template_tpl.html', 'css!style/ho
} }
//商铺统计 //商铺统计
if(tpl == 'shop_number_list_tpl' && data.data){ if(tpl == 'shop_number_list_tpl' && data.data){
$('#maintable_form_search').hide();
$('#have_not_rent_num').html(data.data.have_not_rent_num); $('#have_not_rent_num').html(data.data.have_not_rent_num);
$('#house_num').html(data.data.house_num); $('#house_num').html(data.data.house_num);
} }
......
<!--微聊用户数据统计--> <!--微聊用户数据统计-->
<script id="small_talk_list_tpl" type="text/template"> <script id="small_talk_list_tpl" type="text/template">
<tr> <tr>
<th class="text-left" width="26%">发起微聊用户:<span id="chat_user_num"></span></th> <th class="text-left">C端微聊关系:<span id="chat_user_num"></span></th>
</tr> </tr>
<tr>
<th class="text-left">C端微聊用户数:<span id="chat_user_all_num"></span></th>
</tr>
</script> </script>
<!--客户来电统计--> <!--客户来电统计-->
...@@ -64,7 +69,7 @@ ...@@ -64,7 +69,7 @@
</tr> </tr>
[% for(var item in it){ %] [% for(var item in it){ %]
<tr> <tr>
<td class="text-center">[%= it[item]['index_'] %]</td> <td class="text-center">[%= it[item]['district_name'] %]</td>
<td class="text-center">[%= it[item]['indoor_shop_look_at_num'] %]</td> <td class="text-center">[%= it[item]['indoor_shop_look_at_num'] %]</td>
<td class="text-center">[%= it[item]['outdoor_shop_look_at_num'] %]</td> <td class="text-center">[%= it[item]['outdoor_shop_look_at_num'] %]</td>
<td class="text-center">[%= it[item]['indoor_shop_bargain_num'] %]</td> <td class="text-center">[%= it[item]['indoor_shop_bargain_num'] %]</td>
......
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