Commit 2787eb3a by 朱继来

Merge branch 'zjl_fake_data_20180319' into 'master'

调整人工审单权限

See merge request !20
parents b078d73b f4d36e92
Showing with 2 additions and 3 deletions
...@@ -246,10 +246,9 @@ ...@@ -246,10 +246,9 @@
<td> <td>
<div class="btn-group btn-group-xs"> <div class="btn-group btn-group-xs">
<a class="btn btn-primary" href="{{URL('details', ['order_id'=>$v['order_id']])}}">详情</a> <a class="btn btn-primary" href="{{URL('details', ['order_id'=>$v['order_id']])}}">详情</a>
<!-- 管理员和经理显示 --> <!-- 管理员和经理显示 $role = 1 || 2 -->
@if ($role == 1 || $role == 2) @if (in_array('check_order', $userPerms))
<a class="btn btn-success" href="{{URL('change', ['order_id'=>$v['order_id']])}}">人工审单</a> <a class="btn btn-success" href="{{URL('change', ['order_id'=>$v['order_id']])}}">人工审单</a>
<!-- <a class="btn btn-success" href="{{URL('check', ['order_id'=>$v['order_id']])}}">审单</a> -->
@endif @endif
</div> </div>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment