{layout name="manager/layout" /}
<div class="layui-bg-gray" style="padding: 30px;">
    <div>
        <table id="table-container"  class="layui-table" data-url="/manager/commission/withdrawal-list" lay-filter="table-container-filter"></table>
    </div>
</div>`


<!-- 列-是否状态 -->
<script type="text/html" id="row-status">
    {{# if (d.status == 0) { }}<span>待审核</span>{{# } }}
    {{# if (d.status == 1) { }}<span>通过</span>{{# } }}
    {{# if (d.status == 2) { }}<span>拒绝</span>{{# } }}
</script>
<script type="text/html" id="toolbar-tpl">
    <a class="layui-btn layui-btn-normal layui-btn-sm"  data-table-refresh data-title="刷新" lay-event="refresh">刷新</a>
</script>

<!-- operate -->
<script type="text/html" id="toolbar-operate">
    {{# if (d.status == 0) { }}
    <a class="layui-btn layui-bg-green layui-btn-sm" data-href="/manager/commission/check.html?status=1" lay-event="status">通过</a>
    <a class="layui-btn layui-bg-red layui-btn-sm" data-href="/manager/commission/check.html?status=2" lay-event="status" >拒绝</a>
    {{# } }}
</script>

<script src="__MANAGER__/js/commission/withdrawal_list.js"></script>