Commit c00b9cb5 authored by agping's avatar agping

客户浏览

parent 86c66300
{layout name="global/frame_two_tpl" /}
<input type="hidden" class="page-load" id="houseList" />
<style>
.weixinimg{
height: 30px;
width: 30px;
}
video{
outline: none;
}
......
......@@ -1115,7 +1115,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var caozuo_table = "";
$.ajax({
'type': 'GET',
'url': '/broker/getUserLookShopList',
'url': '/broker/getShopUserVisitLog',
data: {
"house_id": business.house_id,
"pageNo": business.pageNoUser,
......@@ -1141,7 +1141,13 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
}else{
var type_ = '微信'
}
caozuo_table += '<tr><td>' + item.look_day + '</td> <td>' + item.house_id + '</td> <td>' + (item.user_id == 0 ?'' : item.user_id) + '</td> <td>' + type_ +'</td><td>'+ item.look_day + item.look_day + (item.user_id == 0 ?'' : ('&nbsp;<a class="user-detail btn btn-info" href="#modal-userDetail" data-toggle="modal" data-id="'+ item.user_id +'">客户详情</a>')) + '</td></tr>'
if(item.buyer_img){
var img = '<img class="diagram-image J_preview weixinimg" src="'+ item.buyer_img +'" />';
}else{
var img = '';
}
caozuo_table += '<tr><td>' + item.create_time + '</td> <td>' + business.house_id + '</td> <td>' + (!item.user_id ?'' : item.user_id) + '</td> <td>' + type_ +'</td><td>'+ (!item.buyer_nick ?'' : item.buyer_nick) + img + (!item.user_id ?'' : ('&nbsp;<a class="user-detail btn btn-info" href="#modal-userDetail" data-toggle="modal" data-id="'+ item.user_id +'">客户详情</a>')) + '</td></tr>'
});
if(caozuo_table){
$("#caozuo_table_kehu").append(caozuo_table);
......
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