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
6da309e1
authored
May 02, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加权限
parent
a316866c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
config/perm.php
resources/views/orderlist/content.blade.php
config/perm.php
View file @
6da309e1
...
...
@@ -2,7 +2,7 @@
return
[
// 菜单权限
'订单管理'
=>
[
'平台订单'
=>
[
'orderlist_check'
,
'export'
,
'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'
,
'download_contract'
],
'ERP订单'
=>
[
'erp_order_check'
],
...
...
resources/views/orderlist/content.blade.php
View file @
6da309e1
...
...
@@ -280,8 +280,10 @@
$k2
=
md5
(
md5
(
$k1
)
.
'fh6y5t4rr351d2c3bryi'
);
$downLoadUrl
=
$apiUrl
.
'contract/pdfinfo?id='
.
$v
[
'order_id'
]
.
'&k1='
.
$k1
.
'&k2='
.
$k2
;
?>
<a
class=
"btn btn-primary"
href=
"{{$downLoadUrl}}"
>
下载合同
</a>
@if (in_array('download_contract', $userPerms))
<a
class=
"btn btn-info"
href=
"{{$downLoadUrl}}"
>
下载合同
</a>
@endif
</div>
</td>
</tr>
...
...
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