Commit c2dface5 by 朱继来

调整推送人员

parent f53bd71d
...@@ -1204,14 +1204,15 @@ Class OrderController extends Controller ...@@ -1204,14 +1204,15 @@ Class OrderController extends Controller
} }
// $info['offline_sales_all'] = $perm->getDepartmentUser(40, 62); // 线下销售各组人员 // $info['offline_sales_all'] = $perm->getDepartmentUser(40, 62); // 线下销售各组人员
$info['offline_sales_all'] = $perm->getUserByDepartmentId(40, 0, 'userId not in ('.implode(',', $offline_sales_chief).')'); // 线下销售各组人员 $offline_sales = $perm->getUserByDepartmentId(40, 0, 'userId not in ('.implode(',', $offline_sales_chief).')'); // 线下销售各组人员
$key_customer_sales = $perm->getUserByDepartmentId(Config('perm_args.key_customer_department_id'), 0); // 大客户
$info['self_kefu'] = $perm->getUserByDepartmentId(38, 0); // 自营销售部 $suzhou_sales = $perm->getUserByDepartmentId(Config('perm_args.suzhou_department_id'), 0); // 苏州
$info['test'] = $perm->getUserByCondition('', Config('perm_args.test_position_id'), 0); // 测试 $info['offline_sales_all'] = array_merge($offline_sales, $key_customer_sales, $suzhou_sales);
$info['self_kefu'] = $perm->getUserByDepartmentId(38, 0); // 自营销售部
$info['sale_id'] = $request->user->userId; $info['test'] = $perm->getUserByCondition('', Config('perm_args.test_position_id'), 0); // 测试
$info['role'] = $perm->getUserRole($request); $info['sale_id'] = $request->user->userId;
$info['role'] = $perm->getUserRole($request);
return view('detail', $info); return view('detail', $info);
} }
......
...@@ -88,4 +88,7 @@ return [ ...@@ -88,4 +88,7 @@ return [
// 测试人员职位ID // 测试人员职位ID
'test_position_id' => [23, 24, 25], 'test_position_id' => [23, 24, 25],
'key_customer_department_id' => 39, // 大客户部门ID
'suzhou_department_id' => 59, // 苏州部门ID
]; ];
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 sign in to comment