Commit 80b8abdc authored by agping's avatar agping

客户列表

parent 7af5e51a
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
.user-detail-relational>div>span{ .user-detail-relational>div>span{
margin-left: 10px; margin-left: 10px;
cursor: pointer; cursor: pointer;
margin-right: 20px;
} }
.user-ul-liu{ .user-ul-liu{
height: auto; height: auto;
......
...@@ -249,7 +249,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'css!style/home.css', 'c ...@@ -249,7 +249,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'css!style/home.css', 'c
// user.user_id = $(this).attr("data-id"); // user.user_id = $(this).attr("data-id");
// user.getGenjinLabel(); // user.getGenjinLabel();
var _$this = $(this); var _$this = $(this);
$('#modal-record iframe').attr('src', '/index/userModalList?data=' + _$this.attr('data-item') + '&id=' + _$this.attr('data-id') '&type=1').show(); $('#modal-record iframe').attr('src', '/index/userModalList?data=' + _$this.attr('data-item') + '&id=' + _$this.attr('data-id') + '&type=1').show();
}); });
$(document).delegate(".add_alert", "click", function() { //重置搜索 $(document).delegate(".add_alert", "click", function() { //重置搜索
......
...@@ -154,6 +154,8 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs'] ...@@ -154,6 +154,8 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
user.pageNoUser=1; user.pageNoUser=1;
$('#caozuo_table2').html(''); $('#caozuo_table2').html('');
user.getGenjincon(); user.getGenjincon();
user.getUserLogNew();
user.getUserLog(2);
} }
}); });
...@@ -1226,7 +1228,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs'] ...@@ -1226,7 +1228,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
//关联客户显示 解除关联 //关联客户显示 解除关联
var user_bind_list = ""; var user_bind_list = "";
$.each(data['data']['user_bind_list'], function(i, item) { $.each(data['data']['user_bind_list'], function(i, item) {
user_bind_list += '<div>' + item.user_name + ',ID:' + item.user_id + ',' + item.user_phone + '<span class="text-info del-relational" data-id="'+ item.user_id +'">解除关联</span></div>'; user_bind_list += '<div>' + item.user_name + ',ID:' + item.user_id + ',' + hideTel(item.user_phone) + '<span class="text-info del-relational" data-id="'+ item.user_id +'">解除关联</span></div>';
}); });
if(user_bind_list){ if(user_bind_list){
$(".user-detail-relational").html(user_bind_list); $(".user-detail-relational").html(user_bind_list);
......
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