Commit 5b3a464d authored by xishifeng's avatar xishifeng

客户跟进详情修改

parent 7cfaa76a
......@@ -181,11 +181,12 @@ function loadMain(){
});
});
if(data['data']['user_info']['user_status'] == 0 || data['data']['user_info']['user_status'] == 1 || data['data']['user_info']['user_status'] == -1 ){
_markAreaObj.find('a[data-markid="'+data['data']['user_info']['user_status']+'"]').addClass('genjin-mark-active').siblings().removeClass('genjin-mark-active');
}else{
layerTipsX('状态标签返回有误');
}
//标签没有默认状态了
// if(data['data']['user_info']['user_status'] == 0 || data['data']['user_info']['user_status'] == 1 || data['data']['user_info']['user_status'] == -1 ){
// _markAreaObj.find('a[data-markid="'+data['data']['user_info']['user_status']+'"]').addClass('genjin-mark-active').siblings().removeClass('genjin-mark-active');
// }else{
// layerTipsX('状态标签返回有误');
// }
}else {
layerTipsX(data['msg']);
......@@ -324,6 +325,14 @@ function loadMain(){
}
};
if(isCallFlag && ((_genjinMarkOBj2.attr('data-markid') == '1') || (_genjinMarkOBj2.attr('data-markid') == '4'))){
if(_isFreeFlag) {
freePhone();
};
layer.close(_index);
return false;
//如果是电话跟进,选择了没打通或者取消拨打,则关掉不进行提交
}else{
$.ajax({
type: 'POST',
url: ServerHostTempC + '/broker/add_phone_follow_up',
......@@ -369,6 +378,8 @@ function loadMain(){
};
}
});
}
});
function freePhone(obj){
......
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