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
67de23f0
authored
Jun 11, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整角色
parent
95282382
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
app/Http/Controllers/OrderController.php
app/Http/Controllers/PermController.php
app/Http/Controllers/OrderController.php
View file @
67de23f0
...
...
@@ -368,7 +368,7 @@ Class OrderController extends Controller
$info
[
'title'
]
=
'平台订单'
;
// 若为京东自营、自营客服角色,则跳转到自营列表
if
(
in_array
(
$info
[
'role'
],
[
6
,
7
,
10
]))
{
if
(
in_array
(
$info
[
'role'
],
[
6
,
7
,
10
,
11
,
12
]))
{
return
redirect
(
'self_order'
);
}
...
...
@@ -405,8 +405,8 @@ Class OrderController extends Controller
$map
[
'is_new_order'
]
=
$request
->
input
(
'is_new_order'
,
''
);
$map
[
'business_type'
]
=
$request
->
input
(
'business_type'
,
''
);
// 订单查看权限---交易员、客服、自营客服
if
(
in_array
(
$info
[
'role'
],
[
3
,
4
,
7
]))
{
// 订单查看权限---交易员、客服、自营客服
、自营内部采购
if
(
in_array
(
$info
[
'role'
],
[
3
,
4
,
7
,
12
]))
{
// 筛选自己的订单
$map
[
'sale_id'
]
=
$request
->
user
->
userId
;
}
...
...
app/Http/Controllers/PermController.php
View file @
67de23f0
...
...
@@ -90,6 +90,10 @@
return
9
;
}
else
if
(
$department
->
name
==
'自营客服主管'
)
{
return
10
;
}
else
if
(
$department
->
name
==
'自营客服主管助理'
)
{
return
11
;
}
else
if
(
$department
->
name
==
'自营内部采购'
)
{
return
12
;
}
else
{
return
0
;
}
...
...
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