From c5dfc743f410b70f369ba3b708f05a6eb1563929 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 29 Jun 2020 10:21:28 +0800 Subject: [PATCH] 20200629 代碼提交 --- src/main/resources/templates/febs/views/modules/member/withdrawCoin.html | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 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 f9f7821..7ce324c 100644 --- a/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html +++ b/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html @@ -129,6 +129,11 @@ cancelUsers(data.id); }); } + if (layEvent === 'see') { + febs.modal.open( '用户详细信息', 'modules/member/memberDataInfo/' + data.id, { + maxmin: true, + }); + } }); function confirmUsers(id) { @@ -167,7 +172,10 @@ cols: [[ {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'}, {field: 'email', title: '邮箱', minWidth: 200,align:'left'}, - {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'}, + {field: 'inviteId', title: '邀请码UID', + templet: function (d) { + return '<a lay-event="see" shiro:hasPermission="user:delete">'+d.inviteId+'</a>' + }, minWidth: 80,align:'center'}, {field: 'symbol', title: '币种', minWidth: 100,align:'center'}, {field: 'amount', title: '提币数量', minWidth: 120,align:'center' ,totalRow: true}, {field: 'address', title: '提币地址', minWidth: 300,align:'center'}, @@ -175,7 +183,16 @@ {field: 'createTime', title: '提币时间', minWidth: 180,align:'center'}, {title: '内部转账', templet: '#isInside', minWidth: 100,align:'center'}, {title: '状态', templet: '#status', minWidth: 100,align:'center'}, - {title: '操作', toolbar: '#user-option', minWidth: 150, fixed : 'right'} + {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