From 74a515f13ad8b5a38c6e4379de0927cec93ce62f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 23 Jun 2020 15:37:02 +0800
Subject: [PATCH] 20200623 代码提交
---
src/main/resources/templates/febs/views/modules/member/withdrawCoin.html | 28 +++++++++++++++++++---------
1 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html b/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html
index 041579e..78e8b77 100644
--- a/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html
+++ b/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html
@@ -52,7 +52,7 @@
</div>
</div>
<!-- 表格字段状态格式化 start -->
-<script type="text/html" id="isInside-table">
+<script type="text/html" id="isInside">
{{#
var isInside = {
Y: {title: '是' , color: 'red'},
@@ -61,7 +61,7 @@
}}
<span class="layui-badge febs-tag-{{isInside.color}}">{{ isInside.title }}</span>
</script>
-<script type="text/html" id="status-table">
+<script type="text/html" id="status">
{{#
var status = {
1: {title: '等待审核' , color: 'blue'},
@@ -163,18 +163,28 @@
elem: $view.find('table'),
id: 'userTable',
url: ctx + 'member/memberWithdrawCoin',
+ totalRow: true,
cols: [[
- {field: 'phone', title: '手机号码', minWidth: 120,align:'left'},
+ {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'},
{field: 'email', title: '邮箱', minWidth: 200,align:'left'},
- {field: 'memberId', title: '邀请码UID', minWidth: 100,align:'center'},
+ {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'},
{field: 'symbol', title: '币种', minWidth: 100,align:'center'},
- {field: 'amount', title: '提币数量', minWidth: 120,align:'center'},
+ {field: 'amount', title: '提币数量', minWidth: 120,align:'center' ,totalRow: true},
{field: 'address', title: '提币地址', minWidth: 300,align:'center'},
- {field: 'feeAmount', title: '提币手续费', minWidth: 100,align:'center'},
+ {field: 'feeAmount', title: '提币手续费', minWidth: 100,align:'center', totalRow: true},
{field: 'createTime', title: '提币时间', minWidth: 180,align:'center'},
- {title: '内部转账', templet: '#isInside-table', minWidth: 100,align:'center'},
- {title: '状态', templet: '#status-table', minWidth: 100,align:'center'},
- {title: '操作', toolbar: '#user-option', minWidth: 150, fixed : 'right'}
+ {title: '内部转账', templet: '#isInside', minWidth: 100,align:'center'},
+ {title: '状态', templet: '#status', minWidth: 100,align:'center'},
+ {title: '操作',
+ templet: function (d) {
+ if (d.orderStatus === 1) {
+ return '<a lay-event="confirm" shiro:hasPermission="user:delete">确认</a>'
+ +'<i class="layui-icon febs-edit-area febs-blue"></i>'
+ +'<a lay-event="cancel" shiro:hasPermission="user:delete">拒绝</a>'
+ }else {
+ return ''
+ }
+ },minWidth: 200,align:'center'}
]]
});
}
--
Gitblit v1.9.1