Commit f2af264e authored by zhuwei's avatar zhuwei

收藏客户列表 显示 具体业态+客户姓名,同客户列表

parent 269eceb9
...@@ -117,6 +117,8 @@ class CollectUser extends Basic ...@@ -117,6 +117,8 @@ class CollectUser extends Basic
$field .= 'Users.industry_type,'; $field .= 'Users.industry_type,';
$field .= 'Users.price_demand,'; $field .= 'Users.price_demand,';
$field .= 'Users.vip,'; $field .= 'Users.vip,';
$field .= 'Users.entrust_type,';
$field .= 'Users.concrete_industry,';
$field .= 'Users.area_demand'; $field .= 'Users.area_demand';
$get_params['CollectUser.agents_id'] = $params["agents_id"]; $get_params['CollectUser.agents_id'] = $params["agents_id"];
...@@ -143,6 +145,8 @@ class CollectUser extends Basic ...@@ -143,6 +145,8 @@ class CollectUser extends Basic
$res[$k]['label'] = implode(',',$label); $res[$k]['label'] = implode(',',$label);
} }
//具体业态+客户姓名,同客户列表
$res[$k]['user_name'] = $v['user_name'] && $v['entrust_type'] == 0 ?"{$v['concrete_industry']},{$v['user_name']}":$v['user_name'];
} }
$data['total'] =$res_total; $data['total'] =$res_total;
$data['user_date'] =$res; $data['user_date'] =$res;
......
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