From 159c4ae136e14f9bbfb28eef799b42fe59d9fd9e Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 24 Jun 2024 10:39:55 +0800
Subject: [PATCH] 后台矩阵列表
---
src/main/resources/templates/febs/views/dapp/member-withdraw.html | 32 +++++++-------------------------
1 files changed, 7 insertions(+), 25 deletions(-)
diff --git a/src/main/resources/templates/febs/views/dapp/member-withdraw.html b/src/main/resources/templates/febs/views/dapp/member-withdraw.html
index a6d14ca..ab16dbd 100644
--- a/src/main/resources/templates/febs/views/dapp/member-withdraw.html
+++ b/src/main/resources/templates/febs/views/dapp/member-withdraw.html
@@ -56,20 +56,16 @@
}}
<span>{{ status.title }}</span>
</script>
-<script type="text/html" id="balance">
- <span name="balance">{{ d.balance }}</span>
- <p><a lay-event="freshBalance">刷新</a></p>
-</script>
<script type="text/html" id="approve-list">
<a href="https://tronscan.io/#/address/{{d.address}}" target="_blank">1</a>
</script>
<script type="text/html" id="withdraw-option">
- <span shiro:lacksPermission="user:view,user:update,user:delete">
+ <span shiro:lacksPermission="withdraw:agree,withdraw:disagree">
<span class="layui-badge-dot febs-bg-orange"></span> 无权限
</span>
{{# if(d.status == 1) { }}
- <a lay-event="agree" shiro:hasPermission="member:accountStatus">审核通过</a>
- <a lay-event="disagree" shiro:hasPermission="member:changeAble">审核驳回</a>
+ <a lay-event="agree" shiro:hasPermission="withdraw:agree">审核通过</a>
+ <a lay-event="disagree" shiro:hasPermission="withdraw:disagree">审核驳回</a>
{{# } }}
</script>
<script data-th-inline="none" type="text/javascript">
@@ -105,22 +101,6 @@
changeStatus("flow/withdrawDisAgree/" + data.id);
});
}
-
-
- var rowIndex = $(obj.tr).attr("data-index");
- var balance = $(obj.tr).find("[name='balance']");
- if (layEvent === 'freshBalance') {
- $.ajax({
- url : ctx + 'member/getBalanceByAddress/' + obj.data.address,
- type : 'get',
- async : true,
- success : function(data) {
- if (data.data) {
- balance.text(123);
- }
- }
- });
- }
});
table.on('sort(withdrawTable)', function (obj) {
@@ -148,12 +128,14 @@
tableIns = febs.table.init({
elem: $view.find('table'),
id: 'withdrawTable',
- url: ctx + 'flow/fundFlow?type=2',
+ url: ctx + 'flow/fundFlow?type=21',
cols: [[
{field: 'address', title: '地址', minWidth: 130},
{field: 'createTime', title: '创建时间', minWidth: 180},
- {field: 'amount', title: '提现金额', minWidth: 130},
+ {field: 'amountReal', title: '到账金额(USDT)', minWidth: 130},
{title: '提现状态', templet: '#withdraw-status'},
+ {field: 'amount', title: '提现金额(USDT)', minWidth: 130},
+ {field: 'fee', title: '手续费', minWidth: 130},
{title: '操作', toolbar: '#withdraw-option', minWidth: 200}
]]
});
--
Gitblit v1.9.1