Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
40b20a99
authored
May 25, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整权限
parent
d0929449
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
app/Http/Controllers/OrderController.php
config/perm_args.php
app/Http/Controllers/OrderController.php
View file @
40b20a99
...
@@ -962,14 +962,14 @@ Class OrderController extends Controller
...
@@ -962,14 +962,14 @@ Class OrderController extends Controller
$info
[
'manager'
]
=
array_merge
(
$manager
);
// 重新索引
$info
[
'manager'
]
=
array_merge
(
$manager
);
// 重新索引
$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
,
''
,
0
);
// 线上一组
$info
[
'online_sales_kefu_1'
]
=
$perm
->
getUserByCondition
(
34
,
''
,
0
);
// 线上一组
$info
[
'online_sales_kefu_2'
]
=
$perm
->
getUserByCondition
(
35
,
''
,
0
);
// 线上二组
$info
[
'online_sales_kefu_2'
]
=
$perm
->
getUserByCondition
(
35
,
''
,
0
);
// 线上二组
$info
[
'online_sales_kefu_3'
]
=
$perm
->
getUserByCondition
(
36
,
''
,
0
);
// 线上三组
$info
[
'online_sales_kefu_3'
]
=
$perm
->
getUserByCondition
(
36
,
''
,
0
);
// 线上三组
$info
[
'online_sales_kefu_4'
]
=
$perm
->
getUserByCondition
(
37
,
''
,
0
);
// 线上四组
$info
[
'online_sales_kefu_4'
]
=
$perm
->
getUserByCondition
(
37
,
''
,
0
);
// 线上四组
$info
[
'offline_sales_chief'
]
=
$perm
->
getUserByCondition
(
40
,
66
,
0
);
// 线下销售-39 总监-66
$info
[
'offline_sales_chief'
]
=
$perm
->
getUserByCondition
(
40
,
90
,
0
);
// 线下销售-39 线下销售总监-90
$info
[
'offline_sales_all'
]
=
$perm
->
getDepartmentUser
(
40
,
62
);
// 线下销售各组人员
$info
[
'offline_sales_all'
]
=
$perm
->
getDepartmentUser
(
40
,
62
);
// 线下销售各组人员
$info
[
'self_manager'
]
=
$perm
->
getUserByCondition
(
38
,
[
63
,
66
]);
// 自营销售部总监、主管
$info
[
'self_manager'
]
=
$perm
->
getUserByCondition
(
38
,
[
63
,
66
]);
// 自营销售部总监、主管
...
...
config/perm_args.php
View file @
40b20a99
...
@@ -81,8 +81,8 @@ return [
...
@@ -81,8 +81,8 @@ return [
'查看订单'
=>
4
,
'查看订单'
=>
4
,
],
],
// 销售职位ID (62-销售,63-销售经理,64-销售主管,65-销售助理,66-总监)
// 销售职位ID (62-销售,63-销售经理,64-销售主管,65-销售助理,66-
线上销售总监, 90-线下销售
总监)
'sales_position_id'
=>
[
62
,
63
,
64
,
65
,
66
],
'sales_position_id'
=>
[
62
,
63
,
64
,
65
,
66
,
90
],
// 测试人员职位ID
// 测试人员职位ID
'test_position_id'
=>
[
23
,
24
,
25
],
'test_position_id'
=>
[
23
,
24
,
25
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment