Commit ea37b415 authored by agping's avatar agping

编辑日志

parent 9bf77110
......@@ -1743,8 +1743,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
~data.data.user_info['site_ids'].indexOf(item.getAttribute('data-id')) && (item.checked = 'checked');
});
$('.shangpu_tags_area_detail').show();
var site_detail= data.data.user_info.site_name.join(',');
$('.shangpu_tags_area_detail').html(site_detail);
// var site_detail= data.data.user_info.site_name.join(',');
// $('.shangpu_tags_area_detail').html(site_detail);
var sw=function(s){
switch(Number(s))
{ case 0:return"";
......@@ -1784,7 +1784,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
$(".user-details-introduce-id").html(data.data.user_info.referrer_user); //转介绍详情
$("#introduce_edit_user").val(data.data.user_inviter_phone+'-'+data.data.user_inviter_id); //转介绍编辑
$("#introduce_edit_user").val(data.data.user_info.referrer_user+'-'+data.data.user_info.referrer_id); //转介绍编辑
if(data.data.referrer_source == 10){
$(".user-details-introduce").html('是'); //转介绍详情
}else{
......@@ -1792,7 +1792,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
//客方修改记录
var caozuo_table = "";
$.each(data['data']['user_history'], function(i, item) {
$.each(data['data']['user_history_log']['user_history'], function(i, item) {
caozuo_table += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>';
});
if(caozuo_table){
......@@ -1802,7 +1802,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
};
//邀请人修改记录
var caozuo_table_introduce = "";
$.each(data['data']['user_invite_history'], function(i, item) {
$.each(data['data']['user_history_log']['user_invite_history'], function(i, item) {
caozuo_table_introduce += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>';
});
if(caozuo_table_introduce){
......@@ -2015,7 +2015,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
if(data.code == 200) {
var temp = document.getElementById('customer_edit_log_list').innerHTML;
var doTtmpl = doT.template(temp);
$("#customerEditLog").html(doTtmpl(data.data.user_history_log.user_name_history.concat(data.data.user_history_log.user_site_history)));
$("#customerEditLog").html(doTtmpl(data.data.user_history_log.user_exit_history));
} else {
}
......
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