Commit 3b236735 authored by agping's avatar agping

修改 后台 客户跟进

parent a486f6bf
...@@ -596,6 +596,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -596,6 +596,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
$(".cus_date").html(data.data.user_info.create_time); //创建时间 $(".cus_date").html(data.data.user_info.create_time); //创建时间
$(".referrer_user").html(data.data.user_info.referrer_user); //上传时间 $(".referrer_user").html(data.data.user_info.referrer_user); //上传时间
$(".cus_fang").val(data.data.user_info.agentinfo); //客方 $(".cus_fang").val(data.data.user_info.agentinfo); //客方
$(".cus_fang_edit").val(data.data.user_info.agentinfo); //客方
$("select[name=industry_type_two]").val(data.data.user_info.industry_type); $("select[name=industry_type_two]").val(data.data.user_info.industry_type);
$("input[name=price_demand]").val(data.data.user_info.price_demand * 1); $("input[name=price_demand]").val(data.data.user_info.price_demand * 1);
$("input[name=area_demand]").val(data.data.user_info.area_demand * 1); $("input[name=area_demand]").val(data.data.user_info.area_demand * 1);
...@@ -681,7 +682,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -681,7 +682,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
//客户动态 即跟进 //客户动态 即跟进
var caozuo_table = ""; var caozuo_table = "";
$.each(data['data']['user_date'], function(i, item) { $.each(data['data']['user_date'], function(i, item) {
caozuo_table += '<tr><td>' + item.step + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>'; caozuo_table += '<tr><td class="text-left" width="70%">' + item.step + '</td><td>' + item.name + '</td><td>' + item.create_time + '</td></tr>';
}); });
if(caozuo_table){ if(caozuo_table){
$("#caozuo_table2").html(caozuo_table); $("#caozuo_table2").html(caozuo_table);
......
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
<td>[%= it[item]['house_id'] %]</td> <td>[%= it[item]['house_id'] %]</td>
<td> <td>
[% if(it[item]["internal_title"] != null) { %] [% if(it[item]["internal_title"] != null) { %]
[%= it[item]['internal_title'] %] <!--[%= it[item]['internal_title'] %]-->
[%= hideStr(it[item]['internal_title']) %]
[% } %] [% } %]
</td> </td>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
[% for(var item in it){ %] [% for(var item in it){ %]
<tr class="text-center"> <tr class="text-center">
<td>[%= it[item]['create_time'] %]</td> <td>[%= it[item]['create_time'] %]</td>
<td> <td width="46%" class="text-left">
[% if(it[item]['label_name']) { %] [% if(it[item]['label_name']) { %]
[%= it[item]['label_name'] %] [%= it[item]['label_name'] %]
[% }else{ %] [% }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