From 17c94afc50e7957b8fd98413cdc9cbbdc4c7967a Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 18 Jul 2024 17:41:19 +0800
Subject: [PATCH] 逻辑
---
src/main/resources/templates/febs/views/dapp/member-withdraw.html | 32 ++++++--------------------------
1 files changed, 6 insertions(+), 26 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 2a904b8..d4bc26a 100644
--- a/src/main/resources/templates/febs/views/dapp/member-withdraw.html
+++ b/src/main/resources/templates/febs/views/dapp/member-withdraw.html
@@ -56,10 +56,6 @@
}}
<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>
@@ -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,14 +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: 'address', title: '地址', minWidth: 400},
+ {field: 'createTime', title: '创建时间', minWidth: 100},
{title: '提现状态', templet: '#withdraw-status'},
- {field: 'fee', title: '手续费', minWidth: 130},
- {title: '操作', toolbar: '#withdraw-option', minWidth: 200}
+ {field: 'amount', title: '提取数量', minWidth: 80},
+ {field: 'fee', title: '手续费', minWidth: 80},
+ {title: '操作', toolbar: '#withdraw-option', minWidth: 300}
]]
});
}
--
Gitblit v1.9.1