Commit 7dfcc07f by 杨树贤

微信转账的审核需要好友助力成功才显示审核按钮

parent a42f63ee
Showing with 11 additions and 2 deletions
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</div> </div>
<div class="layui-inline"> <div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter') @inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('status','兑换状态',request()->get('status')) !!} {!! $statusPresenter->render('status','兑换状态',request()->get('status'),[-1=>'拒绝兑换',0=>'待审核',1=>'已兑换']) !!}
</div> </div>
<div class="layui-inline"> <div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter') @inject('statusPresenter','App\Presenters\StatusPresenter')
...@@ -39,8 +39,16 @@ ...@@ -39,8 +39,16 @@
@{{# if(d.status == '已兑换' || d.status == '拒绝兑换'){ }} @{{# if(d.status == '已兑换' || d.status == '拒绝兑换'){ }}
<a class="layui-btn layui-btn-primary layui-btn-xs">已审</a> <a class="layui-btn layui-btn-primary layui-btn-xs">已审</a>
@{{# } else { }} @{{# } else { }}
@{{# if(d.type == 2){ }}
@{{# if(d.assist_count == 2){ }}
<a class="btn btn-xs btn-outline btn-primary" lay-event="audit">审核</a>
@{{# } else { }}
<a class="layui-btn layui-btn-danger layui-btn-xs">好友助力未完成</a>
@{{# } }}
@{{# } else { }}
<a class="btn btn-xs btn-outline btn-primary" lay-event="audit">审核</a> <a class="btn btn-xs btn-outline btn-primary" lay-event="audit">审核</a>
@{{# } }} @{{# } }}
@{{# } }}
<a class="btn btn-xs btn-outline btn-primary" lay-event="bills">明细</a> <a class="btn btn-xs btn-outline btn-primary" lay-event="bills">明细</a>
</script> </script>
...@@ -72,6 +80,6 @@ ...@@ -72,6 +80,6 @@
<script type="text/html" id="toolbarLeft"> <script type="text/html" id="toolbarLeft">
<div class="layui-btn-container"> <div class="layui-btn-container">
<button class="layui-btn layui-btn-danger layui-btn-sm" lay-event="batchDisableStatus">批量拒绝兑换选中行</button> <button class="layui-btn layui-btn-danger layui-btn-sm" lay-event="batchDisableStatus">批量拒绝兑换选中行</button>
{{-- <button class="layui-btn layui-btn-green layui-btn-sm" lay-event="batchRecoverStatus">恢复所选中行</button>--}} {{-- <button class="layui-btn layui-btn-green layui-btn-sm" lay-event="batchRecoverStatus">恢复所选中行</button>--}}
</div> </div>
</script> </script>
\ No newline at end of file
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