From ce2381119e714643d5393035c3e30ad0bcaa5bd2 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 17 Jun 2024 15:11:05 +0800 Subject: [PATCH] 后台 --- src/main/resources/templates/febs/views/dapp/member.html | 16 ++++--- src/main/resources/templates/febs/views/dapp/money-change-flow.html | 48 +++++++++++------------- 2 files changed, 31 insertions(+), 33 deletions(-) diff --git a/src/main/resources/templates/febs/views/dapp/member.html b/src/main/resources/templates/febs/views/dapp/member.html index 9eb0ac7..7d8e201 100644 --- a/src/main/resources/templates/febs/views/dapp/member.html +++ b/src/main/resources/templates/febs/views/dapp/member.html @@ -244,23 +244,25 @@ elem: $view.find('table'), id: 'memberTable', url: ctx + 'member/list', + totalRow: true ,// 开启合计行 cols: [[ // {type: 'checkbox'}, // {type: 'numbers'}, - {field: 'address', title: '地址', minWidth: 400}, + {field: 'address', title: '地址', minWidth: 400, totalRowText: '合计:'}, // {title: '余额(USDT)', templet: '#balance', minWidth: 120}, // {title: '授权列表', templet: '#approve-list', minWidth: 110}, - {field: 'chainType', title: '所属链', minWidth: 130}, - {field: 'totalAmount', title: '总金额', minWidth: 80}, - {field: 'availableAmount', title: '可用金额', minWidth: 80}, - {field: 'frozenAmount', title: '冻结金额', minWidth: 80}, + // {field: 'chainType', title: '所属链', minWidth: 130}, + {field: 'totalAmount', title: '总金额', minWidth: 80,totalRow: '{{= parseInt(d.totalAmount) }}'}, + {field: 'availableAmount', title: '可用金额', minWidth: 80,totalRow: '{{= parseInt(d.availableAmount) }}'}, + // {field: 'frozenAmount', title: '冻结金额', minWidth: 80}, {field: 'inviteId', title: '邀请码', minWidth: 100}, {field: 'refererId', title: '上级邀请码', minWidth: 100}, + {field: 'buyNode', title: '节点数量', minWidth: 100,totalRow: '{{= parseInt(d.buyNode) }}'}, {title: '账户状态', templet: '#user-status', minWidth: 100}, // {title: '是否可兑换', templet: '#change-able', minWidth: 100}, - {title: '是否可提现', templet: '#withdraw-able', minWidth: 100}, + // {title: '是否可提现', templet: '#withdraw-able', minWidth: 100}, {field: 'createTime', title: '创建时间', minWidth: 180}, - {title: '操作', toolbar: '#member-option', minWidth: 300} + // {title: '操作', toolbar: '#member-option', minWidth: 300} ]] }); } diff --git a/src/main/resources/templates/febs/views/dapp/money-change-flow.html b/src/main/resources/templates/febs/views/dapp/money-change-flow.html index 470dcb7..af7aa70 100644 --- a/src/main/resources/templates/febs/views/dapp/money-change-flow.html +++ b/src/main/resources/templates/febs/views/dapp/money-change-flow.html @@ -17,18 +17,16 @@ <div class="layui-input-inline"> <select name="type"> <option value=""></option> - <option value="1">买入</option> - <option value="2">矩阵收益</option> - <option value="3">直推收益</option> - <option value="4">保险池</option> - <option value="5">提现</option> - <option value="6">手续费充值</option> - <option value="7">手续费扣除</option> - <option value="8">结算</option> - <option value="9">冻结</option> - <option value="10">冻结释放</option> - <option value="11">产矿</option> - <option value="12">手续费返利</option> + <option value="13">节点买入</option> + <option value="14">节点返利</option> + <option value="15">见点奖</option> + <option value="16">复投</option> + <option value="17">收益</option> + <option value="18">买入</option> + <option value="19">手续费充值</option> + <option value="20">手续费扣除</option> + <option value="21">提现</option> + <option value="22">提现失败</option> </select> </div> </div> @@ -88,18 +86,16 @@ <script type="text/html" id="flow-type"> {{# var type = { - 1: {title: '买入'}, - 2: {title: '矩阵收益'}, - 3: {title: '直推收益'}, - 4: {title: '保险池'}, - 5: {title: '提现'}, - 6: {title: '手续费充值'}, - 7: {title: '手续费扣除'}, - 8: {title: '结算'}, - 9: {title: '冻结'}, - 10: {title: '冻结释放'}, - 11: {title: '产矿'}, - 12: {title: '手续费返利'}, + 13: {title: '节点买入'}, + 14: {title: '节点返利'}, + 15: {title: '见点奖'}, + 16: {title: '复投'}, + 17: {title: '收益'}, + 18: {title: '买入'}, + 19: {title: '手续费充值'}, + 20: {title: '手续费扣除'}, + 21: {title: '提现'}, + 22: {title: '提现失败'}, }[d.type]; }} <span>{{ type.title }}</span> @@ -155,7 +151,7 @@ id: 'moneyChangeTable', url: ctx + 'flow/fundFlow', cols: [[ - {field: 'address', title: '地址', minWidth: 380}, + {field: 'address', title: '地址', minWidth: 380, totalRowText: '合计:'}, {title: '类型', minWidth: 100,templet: '#flow-type',align:'center'}, {field: 'amount', title: '金额', templet: function (d) { @@ -166,7 +162,7 @@ }else{ return d.amount } - }, minWidth: 80,align:'center'}, + }, minWidth: 80,align:'center',totalRow: '{{= parseInt(d.amount) }}'}, {field: 'fee', title: '手续费', minWidth: 80}, {field: 'createTime', title: '创建时间', minWidth: 150}, {field: 'fromHash', title: 'fromHash', minWidth: 150}, -- Gitblit v1.9.1