Commit 8678f987 by 朱继来

Merge branch 'zjl_freight_20210129'

parents 84b76a05 4775b247
...@@ -1123,10 +1123,20 @@ Class OrderController extends Controller ...@@ -1123,10 +1123,20 @@ Class OrderController extends Controller
$info['online_sales_chief'] = $perm->getUserByCondition(33, 66, 0); // 线上销售-33 线上销售总监-66 $info['online_sales_chief'] = $perm->getUserByCondition(33, 66, 0); // 线上销售-33 线上销售总监-66
$info['online_sales_mgr'] = $perm->getDepartmentUser(33, 63); // 线上销售-33 销售经理-63 $info['online_sales_mgr'] = $perm->getDepartmentUser(33, 63); // 线上销售-33 销售经理-63
$info['online_sales_kefu_1'] = $perm->getUserByCondition(34, 62, 0); // 线上一组销售
$info['online_sales_kefu_2'] = $perm->getUserByCondition(35, 62, 0); // 线上二组销售 // 获取线上销售子级部门
$info['online_sales_kefu_3'] = $perm->getUserByCondition(36, 62, 0); // 线上三组销售 $sub_department = DB::table('user_department')->where('parent_id', 33)->select('department_id', 'department_name')->get();
$info['online_sales_kefu_4'] = $perm->getUserByCondition(37, 62, 0); // 线上四组销售
foreach ($sub_department as $v) {
$v->sales = $perm->getUserByCondition($v->department_id, 62, 0);
}
$info['sub_department'] = $sub_department;
// $info['online_sales_kefu_1'] = $perm->getUserByCondition(34, 62, 0); // 线上一组销售
// $info['online_sales_kefu_2'] = $perm->getUserByCondition(35, 62, 0); // 线上二组销售
// $info['online_sales_kefu_3'] = $perm->getUserByCondition(36, 62, 0); // 线上三组销售
// $info['online_sales_kefu_4'] = $perm->getUserByCondition(37, 62, 0); // 线上四组销售
$info['offline_sales_chief'] = $perm->getUserByCondition(40, 90, 0); // 线下销售-39 线下销售总监-90 $info['offline_sales_chief'] = $perm->getUserByCondition(40, 90, 0); // 线下销售-39 线下销售总监-90
......
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