1
This commit is contained in:
83
application/akszadmin/view/recharge/index.html
Executable file
83
application/akszadmin/view/recharge/index.html
Executable file
@ -0,0 +1,83 @@
|
||||
{extend name='akszadmin@main'}
|
||||
{block name="button"}
|
||||
{if auth("change")}
|
||||
<button data-modal='{:url(ADMIN_MODULE."/rechareg/change")}' data-title="增减余额" class='layui-btn layui-btn-sm layui-btn-primary'>增减余额</button>
|
||||
{/if}
|
||||
{if auth("remove")}
|
||||
<button data-action='{:url(ADMIN_MODULE."/recharge/remove")}' data-rule="id#{key}" data-csrf="{:systoken('remove')}" data-confirm="确定要删除这些记录吗?" class='layui-btn layui-btn-sm layui-btn-primary'>删除记录</button>
|
||||
{/if}
|
||||
{/block}
|
||||
{block name="content"}
|
||||
<div class="think-box-shadow">
|
||||
{include file='recharge/index_search'}
|
||||
<table class="layui-table margin-top-10" lay-skin="line">
|
||||
{notempty name='list'}
|
||||
<thead>
|
||||
<tr>
|
||||
<th class='list-table-check-td think-checkbox'>
|
||||
<label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
|
||||
</th>
|
||||
<th class='text-center nowrap'>账户</th>
|
||||
<th class="text-center nowrap">充值金额(元)</th>
|
||||
<th class="text-center nowrap">支付方式</th>
|
||||
<th class="text-center nowrap">提交时间</th>
|
||||
<th class="text-center nowrap">状态</th>
|
||||
<th class="text-center nowrap">拒绝理由</th>
|
||||
<th class="text-center nowrap">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{/notempty}
|
||||
<tbody>
|
||||
{foreach $list as $key=>$vo}
|
||||
<tr>
|
||||
<td class='list-table-check-td think-checkbox'>
|
||||
<label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
|
||||
</td>
|
||||
<td class='text-center nowrap'>
|
||||
{$vo.phone}
|
||||
</td>
|
||||
<td class='text-center nowrap'>
|
||||
{$vo.money}
|
||||
</td>
|
||||
<td class='text-center nowrap'>
|
||||
{$vo.type}
|
||||
</td>
|
||||
<td class='text-center nowrap'>
|
||||
{$vo.time}
|
||||
</td>
|
||||
<td class='text-center nowrap'>
|
||||
{if $vo.status == 0}
|
||||
<span class="color-red">待审核</span>
|
||||
{/if}
|
||||
{if $vo.status == 1}
|
||||
<span class="color-green">已完成</span>
|
||||
{/if}
|
||||
{if $vo.status == 2}
|
||||
<span class="color-desc">已拒绝</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td class='text-center nowrap'>
|
||||
{$vo.reaolae}
|
||||
</td>
|
||||
<td class='text-center nowrap'>
|
||||
{if $vo.status eq 0}
|
||||
{if auth("agree")}
|
||||
<a class="layui-btn layui-btn layui-btn-xs" data-confirm="确定要同意充值吗?" data-action="{:url(ADMIN_MODULE.'/recharge/agree')}" data-value="id#{$vo.id}" data-csrf="{:systoken('agree')}">同 意</a>
|
||||
{/if}
|
||||
{if auth("refuse")}
|
||||
|
||||
<a data-dbclick class="layui-btn layui-btn-danger layui-btn-xs" data-modal='{:url(ADMIN_MODULE."/recharge/edit")}?id={$vo.id}'>拒 绝</a>
|
||||
|
||||
{/if}
|
||||
{else}
|
||||
<a class="layui-btn layui-btn-danger layui-btn-xs" data-confirm="确定要删除吗?" data-action="{:url(ADMIN_MODULE.'/recharge/remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
|
||||
</div>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user