From 952b26d869da3d3228cec922359b5380cabdc6fa Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 11 Nov 2022 10:15:53 +0800 Subject: [PATCH] 20221021 --- src/main/resources/templates/febs/views/dapp/money-change-flow.html | 58 ++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 38 insertions(+), 20 deletions(-) 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 de7ecbb..b9ab1ae 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 @@ -24,16 +24,16 @@ </select> </div> </div> - <div class="layui-inline"> - <label class="layui-form-label layui-form-label-sm">可兑换</label> - <div class="layui-input-inline"> - <select name="changeAble"> - <option value=""></option> - <option value="2">否</option> - <option value="1">是</option> - </select> - </div> - </div> +<!-- <div class="layui-inline">--> +<!-- <label class="layui-form-label layui-form-label-sm">可兑换</label>--> +<!-- <div class="layui-input-inline">--> +<!-- <select name="changeAble">--> +<!-- <option value=""></option>--> +<!-- <option value="2">否</option>--> +<!-- <option value="1">是</option>--> +<!-- </select>--> +<!-- </div>--> +<!-- </div>--> <div class="layui-inline"> <label class="layui-form-label layui-form-label-sm">可提现</label> <div class="layui-input-inline"> @@ -67,13 +67,31 @@ height: auto !important; } </style> -<script type="text/html" id="type-format"> +<script type="text/html" id="flow-status"> + {{# + var status = { + 2: {title: '成功'}, + 1: {title: '进行中'}, + 3: {title: '取消'} + }[d.status]; + }} + <span>{{ status.title }}</span> +</script> +<script type="text/html" id="flow-type"> {{# var type = { - 1: {title: '兑换'}, - 2: {title: '提现'}, - 3: {title: '采矿'}, - 4: {title: '代理返利'} + 1: {title: '买入'}, + 2: {title: '矩阵收益'}, + 3: {title: '直推收益'}, + 4: {title: '保险池'}, + 5: {title: '提现'}, + 6: {title: '手续费充值'}, + 7: {title: '手续费扣除'}, + 8: {title: '结算'}, + 9: {title: '冻结'}, + 10: {title: '冻结释放'}, + 11: {title: '产矿'}, + 12: {title: '手续费返利'}, }[d.type]; }} <span>{{ type.title }}</span> @@ -127,14 +145,14 @@ tableIns = febs.table.init({ elem: $view.find('table'), id: 'moneyChangeTable', - url: ctx + 'flow/accountMoneyChangeFlow', + url: ctx + 'flow/fundFlow', cols: [[ {field: 'address', title: '地址', minWidth: 150}, {field: 'preAmount', title: '变化前金额', minWidth: 100}, - {field: 'amount', title: '变化金额', minWidth: 100}, - {field: 'afterAmount', title: '变化后金额', minWidth: 100}, - {field: 'content', title: '描述', minWidth: 130}, - {title: '类型', templet: '#type-format'}, + {field: 'amount', title: '金额', minWidth: 100}, + {title: '类型', templet: '#flow-type'}, + {title: '提现状态', templet: '#flow-status'}, + {field: 'fee', title: '手续费', minWidth: 130}, {field: 'createTime', title: '创建时间', minWidth: 180} ]] }); -- Gitblit v1.9.1