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
2573ebfa
authored
Jun 03, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加反审权限
parent
846fa476
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
resources/views/detail/content.blade.php
resources/views/orderlist/content.blade.php
resources/views/detail/content.blade.php
View file @
2573ebfa
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
@if (in_array('check_order', $userPerms)
&&
$order_info['sale_id'])
@if (in_array('check_order', $userPerms)
&&
$order_info['sale_id'])
@if ($order_info['status'] == 1)
@if ($order_info['status'] == 1)
<a
class=
"btn btn-success"
href=
"{{URL('change', ['order_id'=>$order_info['order_id']])}}"
target=
"_blank"
>
人工审单
</a>
<a
class=
"btn btn-success"
href=
"{{URL('change', ['order_id'=>$order_info['order_id']])}}"
target=
"_blank"
>
人工审单
</a>
@elseif ($order_info['status'] == 2)
@elseif ($order_info['status'] == 2
&&
in_array($role, [1, 2])
)
<a
class=
"btn btn-success re-audit"
data-id=
"{{$order_info['order_id']}}"
>
反审
</a>
<a
class=
"btn btn-success re-audit"
data-id=
"{{$order_info['order_id']}}"
>
反审
</a>
@endif
@endif
@endif
@endif
...
...
resources/views/orderlist/content.blade.php
View file @
2573ebfa
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
@if (in_array('check_order', $userPerms)
&&
$v['sale_id'])
@if (in_array('check_order', $userPerms)
&&
$v['sale_id'])
@if ($v['status'] == 1)
@if ($v['status'] == 1)
<a
class=
"btn btn-success"
href=
"{{URL('change', ['order_id'=>$v['order_id']])}}"
target=
"_blank"
>
人工审单
</a>
<a
class=
"btn btn-success"
href=
"{{URL('change', ['order_id'=>$v['order_id']])}}"
target=
"_blank"
>
人工审单
</a>
@elseif ($v['status'] == 2)
@elseif ($v['status'] == 2
&&
in_array($role, [1, 2])
)
<a
class=
"btn btn-success re-audit"
data-id=
"{{$v['order_id']}}"
>
反审
</a>
<a
class=
"btn btn-success re-audit"
data-id=
"{{$v['order_id']}}"
>
反审
</a>
@endif
@endif
@endif
@endif
...
...
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