Commit b687e857 authored by xishifeng's avatar xishifeng

客户详情修改

parent 05105079
......@@ -157,8 +157,8 @@
</div>
<script type="text/javascript" src="/app/js/jquery-1122-min.js"></script>
<script src="/app/js/common.js?new41" charset="utf-8"></script>
<script src="/app/js/customerinfo_details_new.js?new48"></script>
<script src="/app/js/common.js?new42" charset="utf-8"></script>
<script src="/app/js/customerinfo_details_new.js?new49"></script>
</body>
......
......@@ -181,6 +181,11 @@ header .icon-link{
height: 100%;
}
/*约带看部分颜色不同*/
.sp-yuedaikan-beizhu-span{
color: #999;
}
/*基本信息部分*/
.sec-info{
font-size: .3rem;
......
......@@ -58,8 +58,7 @@ function loadMain(){
//获取客户基本信息
$.ajax({
type: 'POST',
url: ServerHostTempC + '/broker/useraction_search',
//url: '/broker/useraction_search',
url: '/broker/useraction_search',
data: {
'AuthToken': _token,
'user_id': Number(_customerId),//客户id
......@@ -144,6 +143,13 @@ function loadMain(){
'7': obj['explain_img']?'<ol class="li-img-list"><li><a href="/app_broker/imagebody?fullUrl='+obj['img_path']+obj['explain_img']+'"><img src="'+obj['img_path']+obj['explain_img']+'" /></a></li></ol>':''
});
};
//约带看时的特殊处理
function dealSpYdk(obj){
return '<p>到场时间:{0}</p><p class="sp-yuedaikan-beizhu-span">备注:{1}</p>'.stringFormatObj({
'0': obj['predict_see_time'],
'1': obj['intro']
});
};
var _htmlTemp = '';
if(data['data']['user_date'] && data['data']['user_date'].length > 0){
$.each(data['data']['user_date'], function(i, item) {
......@@ -153,7 +159,7 @@ function loadMain(){
'2': item['step_name']=='phone_fllow_up'?'电话跟进:':(item['step_name']=='fllow_up'?'跟进:':''),
'3': (item['create_time']==null?null:item['create_time']),
'5': item['step'],
'6': item['step_name']=='follow_up_log'?dealSp(item):'',
'6': item['step_name']=='follow_up_log'?dealSp(item):(item['step_name']=='report'?dealSpYdk(item):''),
'7': (item['step_name']=='report' || item['step_name']=='march_in')?'li-sp-active':''
});
});
......
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