Commit 834baa1f authored by agping's avatar agping

1

parent 3d772041
...@@ -1792,7 +1792,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1792,7 +1792,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
} }
//客方修改记录 //客方修改记录
var caozuo_table = ""; var caozuo_table = "";
$.each(data['data']['user_history_log']['user_history'], function(i, item) { $.each(data['data']['user_history_log']['agent_history'], function(i, item) {
caozuo_table += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>'; caozuo_table += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>';
}); });
if(caozuo_table){ if(caozuo_table){
...@@ -1802,7 +1802,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1802,7 +1802,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}; };
//邀请人修改记录 //邀请人修改记录
var caozuo_table_introduce = ""; var caozuo_table_introduce = "";
$.each(data['data']['user_history_log']['user_invite_history'], function(i, item) { $.each(data['data']['user_history_log']['invite_history'], function(i, item) {
caozuo_table_introduce += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>'; caozuo_table_introduce += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>';
}); });
if(caozuo_table_introduce){ if(caozuo_table_introduce){
...@@ -2015,7 +2015,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -2015,7 +2015,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
if(data.code == 200) { if(data.code == 200) {
var temp = document.getElementById('customer_edit_log_list').innerHTML; var temp = document.getElementById('customer_edit_log_list').innerHTML;
var doTtmpl = doT.template(temp); var doTtmpl = doT.template(temp);
$("#customerEditLog").html(doTtmpl(data.data.user_history_log.user_exit_history)); $("#customerEditLog").html(doTtmpl(data.data.user_history_log.other_history));
} else { } else {
} }
......
...@@ -1233,7 +1233,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c ...@@ -1233,7 +1233,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
} }
//客方修改记录 //客方修改记录
var caozuo_table = ""; var caozuo_table = "";
$.each(data['data']['user_history_log']['user_history'], function(i, item) { $.each(data['data']['user_history_log']['agent_history'], function(i, item) {
caozuo_table += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>'; caozuo_table += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>';
}); });
if(caozuo_table){ if(caozuo_table){
...@@ -1243,7 +1243,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c ...@@ -1243,7 +1243,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
}; };
//邀请人修改记录 //邀请人修改记录
var caozuo_table_introduce = ""; var caozuo_table_introduce = "";
$.each(data['data']['user_history_log']['user_invite_history'], function(i, item) { $.each(data['data']['user_history_log']['invite_history'], function(i, item) {
caozuo_table_introduce += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>'; caozuo_table_introduce += '<tr><td>' + item.remark + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>';
}); });
if(caozuo_table_introduce){ if(caozuo_table_introduce){
......
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