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
9843319e
authored
Jan 30, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整人工审单权限
parent
20594dd1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
config/perm.php
resources/views/detail/content.blade.php
config/perm.php
View file @
9843319e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
return
[
return
[
// 菜单权限
// 菜单权限
'订单管理'
=>
[
'订单管理'
=>
[
'订单列表'
=>
[
'orderlist_check'
,
'export'
,
'
adjust_price'
,
'
check_order'
,
'cancel_order'
,
'check_account'
,
'order_send'
,
'send_invoice'
,
'update_address'
,
'update_invoice'
,
'check_test_order'
,
'check_offline_order'
],
'订单列表'
=>
[
'orderlist_check'
,
'export'
,
'check_order'
,
'cancel_order'
,
'check_account'
,
'order_send'
,
'send_invoice'
,
'update_address'
,
'update_invoice'
,
'check_test_order'
,
'check_offline_order'
],
'订单统计'
=>
[
'ordercount_check'
],
'订单统计'
=>
[
'ordercount_check'
],
],
],
...
...
resources/views/detail/content.blade.php
View file @
9843319e
...
@@ -413,7 +413,7 @@
...
@@ -413,7 +413,7 @@
<p
style=
"padding-left: 5px;"
>
操作
</p>
<p
style=
"padding-left: 5px;"
>
操作
</p>
<div
class=
"tabs-box"
>
<div
class=
"tabs-box"
>
<!-- 判断操作权限 -->
<!-- 判断操作权限 -->
@if (($role == 1 || $role ==2)
&&
$order_info['status'] == 1
&&
in_array('
adjust_price
', $userPerms))
@if (($role == 1 || $role ==2)
&&
$order_info['status'] == 1
&&
in_array('
check_order
', $userPerms))
<a
class=
"btn btn-success"
href=
"{{URL('change', ['order_id'=>$order_info['order_id']])}}"
class=
"btn btn-default"
>
人工审单
</a>
<a
class=
"btn btn-success"
href=
"{{URL('change', ['order_id'=>$order_info['order_id']])}}"
class=
"btn btn-default"
>
人工审单
</a>
@endif
@endif
<!-- <a href="{:U('account', 'order_id='.$order_info['order_id'])}" class="btn btn-default">账期设置</a> -->
<!-- <a href="{:U('account', 'order_id='.$order_info['order_id'])}" class="btn btn-default">账期设置</a> -->
...
...
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