xiaoyong931011
2023-02-09 e92b00089d8d57899df380135d79864dade09837
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<div className="layui-fluid layui-anim febs-anim" id="febs-money-total-out-child" lay-title="每日提现">
    <div className="layui-row febs-container">
        <div className="layui-col-md12">
            <div className="layui-card">
                <div className="layui-card-body febs-table-full">
                    <table lay-filter="moneyTotalTableOutChild" lay-data="{id: 'moneyTotalTableOutChild'}"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script data-th-inline="none" type="text/javascript">
    layui.use(['jquery', 'form', 'table', 'febs'], function () {
        var $ = layui.jquery,
            febs = layui.febs,
            form = layui.form,
            table = layui.table,
            $view = $('#febs-money-total-out-child'),
            tableIns;
 
        form.render();
 
        initTable();
 
        function initTable() {
            tableIns = febs.table.init({
                elem: $view.find('table'),
                id: 'moneyTotalTableOutChild',
                url: ctx + 'member/getOutFlowListByDay?parentId=1',
                cols: [[
                    {field: 'username', title: '用户名', minWidth: 120, align: 'left'},
                    {field: 'amount', title: '提币数量', minWidth: 120, align: 'center'},
                    {field: 'feeAmount', title: '手续费', minWidth: 120, align: 'center'},
                    {field: 'status', title: '状态',
                        templet: function (d) {
                            if (d.status === 1) {
                                return '<span>进行中</span>'
                            } else if (d.status === 2) {
                                return '<span>同意</span>'
                            }else if (d.status === 3) {
                                return '<span>拒绝</span>'
                            }else{
                                return ''
                            }
                        }, minWidth: 120, align: 'center'},
                    {field: 'address', title: '提币地址',
                        templet: function (d) {
                            if (d.isInside === 'Y') {
                                return ''
                            } else if (d.isInside === 'N') {
                                return '<span>('+d.tag+')'+d.address+'</span>'
                            }else{
                                return ''
                            }
                        }, minWidth: 300, align: 'center'},
                    {field: 'createTime', title: '提币时间', minWidth: 180, align: 'center'},
                ]]
            });
        }
 
    })
</script>