Commit 1b855c98 authored by agping's avatar agping

修改

parent ab28c238
......@@ -1218,7 +1218,13 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
$.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-detail-relational").html(user_bind_list);
if(user_bind_list){
$(".user-detail-relational").html(user_bind_list);
}else{
$(".user-detail-relational").html('暂无关联客户信息');
}
}
} else {
alert(data.msg);
......
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