Commit 02a538b7 authored by agping's avatar agping

客户浏览记录

parent 9c5a8396
......@@ -1100,16 +1100,28 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var caozuo_table = "";
$.ajax({
'type': 'GET',
'url': '/index/getEditLog', //获取操作记录
'url': '/broker/getUserLookShopList',
data: {
"house_id": business.house_id
"house_id": business.house_id,
"pageNo": 1,
"pageSize": 1000,
"AuthToken": user_info_obj.AuthToken
},
dataType: "json",
success: function(data) {
if(data.code == 200) {
if(data.data) {
$.each(data.data, function(i, item) {
caozuo_table += '<tr><td>' + item.create_time + '</td> <td>' + item.name + '</td> <td>' + item.remark + '</td> <td>' + item.remark +'</td></tr>'
// "type" = >1 //1app 2小程序 3微信
if(item.type == 1){
var type_ = 'app';
}else if(item.type == 2){
var type_ = '小程序';
}else{
var type_ = '微信'
}
caozuo_table += '<tr><td>' + item.look_day + '</td> <td>' + item.id + '</td> <td>' + (item.user_id == 0 ?'' : item.user_id) + '</td> <td>' + type_ +'</td></tr>'
});
if(caozuo_table){
$("#caozuo_table_kehu").html(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