xiaoyong931011
2023-08-12 5c4d462bbdce5aa68d4b6dc928a62256efe20d2a
src/main/resources/templates/febs/views/dapp/memberMoneyFlow.html
@@ -9,46 +9,13 @@
        </div>
    </div>
</div>
<script type="text/html" id="flow-type">
    {{#
    var type = {
    1: {title: '赠送积分', color: 'orange'},
    2: {title: '支付订单', color: 'green'},
    3: {title: '静态补贴', color: 'blue'},
    4: {title: '预期减少赠送积分', color: 'orange'},
    5: {title: '预期增加余额', color: 'green'},
    6: {title: '直推', color: 'blue'},
    7: {title: '团队静态收益V1', color: 'orange'},
    8: {title: '团队静态收益V2', color: 'green'},
    9: {title: '团队静态收益V3', color: 'blue'},
    10: {title: '团队静态收益V4', color: 'orange'},
    11: {title: '团队静态收益V5', color: 'green'},
    12: {title: '团队静态收益V6', color: 'blue'},
    13: {title: '团队静态收益V7', color: 'orange'},
    14: {title: '共享加速V1', color: 'green'},
    15: {title: '共享加速V2', color: 'blue'},
    16: {title: '共享加速V3', color: 'orange'},
    17: {title: '共享加速V4', color: 'green'},
    18: {title: '共享加速V5', color: 'blue'},
    19: {title: '共享加速V6', color: 'orange'},
    20: {title: '共享加速V7', color: 'green'},
    21: {title: '实际减少赠送积分', color: 'blue'},
    22: {title: '实际增加余额', color: 'orange'},
    23: {title: '卖出资产', color: 'green'},
    24: {title: '卖出资产获得余额', color: 'blue'},
    25: {title: '卖出资产手续费', color: 'orange'},
    26: {title: '每日获取金额(前端提示记录)', color: 'orange'},
    27: {title: '系统拨付余额', color: 'green'},
    28: {title: '系统拨付赠送积分', color: 'blue'},
    29: {title: '系统拨付资产包', color: 'orange'},
    30: {title: '新增业绩', color: 'green'},
    31: {title: '全网分红V1', color: 'green'},
    32: {title: '全网分红V2', color: 'green'},
    33: {title: '全网分红V3', color: 'green'},
    34: {title: '全网分红V4', color: 'green'},
    35: {title: '全网分红V5', color: 'green'},
    36: {title: '全网分红V6', color: 'green'},
    37: {title: '全网分红V7', color: 'green'},
    1: {title: '余额', color: 'orange'},
    2: {title: '赠送积分', color: 'green'},
    3: {title: '前端显示', color: 'blue'},
    }[d.type];
    }}
    <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span>
@@ -80,11 +47,12 @@
            tableIns = febs.table.init({
                elem: $view.find('table'),
                id: 'memberMoneyFlowChild',
                url: ctx + 'admin/goods/orderMoneyFlow?parentId=1',
                url: ctx + 'member/orderMoneyFlow?parentId=1',
                cols: [[
                    {field: 'address', title: '用户', minWidth: 80,align:'center'},
                    {field: 'amount', title: '金额', minWidth: 80,align:'center'},
                    {field: 'preAmount', title: '变化前余额', minWidth: 80,align:'center'},
                    {title: '类型', minWidth: 100,templet: '#flow-type',align:'center'},
                    {field: 'amount', title: '预期获得', minWidth: 80,align:'center'},
                    {field: 'afterAmount', title: '实际获取', minWidth: 80,align:'center'},
                    {field: 'createTime', title: '时间', minWidth: 150,align:'left'}
                ]]
            });