Commit cae646d1 authored by zhuwei's avatar zhuwei

全部客户、、小修改

parent ce192dfa
......@@ -249,9 +249,9 @@ class Client extends Basic
if($search_type == '0')
{//客户电话
$conditions['user_phone'] = ['LIKE', "%$phone_or_name%"];
}elseif ($search_type == '1'){//客户电话
$conditions['user_nick'] = ['LIKE', "%$phone_or_name%"];
$conditions['user_phone'] = ['LIKE', $phone_or_name.'%'];
}elseif ($search_type == '1'){//客户
$conditions['user_nick'] = ['LIKE', $phone_or_name.'%'];
}
if ($search_type != '2')
......@@ -265,6 +265,8 @@ class Client extends Basic
$user = new Users();
$user_res = $user->all_user($conditions,$pagesize,$pagenum);
$total = $user->all_user_count($conditions);
//dump($conditions);//exit;
}else{//跟进
$UPhoneFollowPp = new UPhoneFollowPp();
$user_res = $UPhoneFollowPp->all_user_search($phone_or_name,$pagesize,$pagenum);
......
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