Commit d9a5c9ce authored by zw's avatar zw

Merge branch 'test'

parents a058845b a66d4832
...@@ -242,13 +242,14 @@ class UserLogService ...@@ -242,13 +242,14 @@ class UserLogService
{ {
//查询客户详情 //查询客户详情
$field = 'id as user_id,sex,user_pic,user_nick,user_name,user_phone,site_ids,agent_id,user_label,industry_type,price_demand,area_demand,vip,user_status'; $field = 'id as user_id,sex,user_pic,other_pic,user_nick,user_name,user_phone,site_ids,agent_id,user_label,industry_type,price_demand,area_demand,vip,user_status';
$result = $this->userModel->getUserDetailStreamline($user_id,$field); $result = $this->userModel->getUserDetailStreamline($user_id,$field);
if (count($result) <= 0) { if (count($result) <= 0) {
return ["code" => 101, "msg" => "没找到此条用户信息"]; return ["code" => 101, "msg" => "没找到此条用户信息"];
} }
$result['user_pic'] = HEADERIMGURL . $result['user_pic']; $result['user_pic'] = !empty($result["user_pic"]) ? HEADERIMGURL . $result["user_pic"] : $result["other_pic"];
#判断是否纯房东 0:否 1:是 #判断是否纯房东 0:否 1:是
$result['is_single_homeowner'] = $result['user_label'] == 2 ? 1 : 0 ; $result['is_single_homeowner'] = $result['user_label'] == 2 ? 1 : 0 ;
......
...@@ -1662,8 +1662,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -1662,8 +1662,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
var end_time =date_end.getTime(); var end_time =date_end.getTime();
//时间差 //时间差
var cha_time=end_time-start_time; var cha_time=end_time-start_time;
if(cha_time > 2678400000){ if(cha_time > 777600000){
alert("跟进时间搜索控制在30天以内"); alert("跟进时间搜索控制在10天以内");
return; return;
} }
//客户跟进列表 搜索时 防重复提交 //客户跟进列表 搜索时 防重复提交
......
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