From 4ccaaf3dccbd8ad40f093dab238f51d350f15a43 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 18 Nov 2022 14:12:31 +0800
Subject: [PATCH] 20221117
---
src/main/resources/templates/febs/views/dapp/member.html | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/templates/febs/views/dapp/member.html b/src/main/resources/templates/febs/views/dapp/member.html
index 2989d9f..1ebe2bd 100644
--- a/src/main/resources/templates/febs/views/dapp/member.html
+++ b/src/main/resources/templates/febs/views/dapp/member.html
@@ -177,6 +177,12 @@
table.on('tool(memberTable)', function (obj) {
var data = obj.data,
layEvent = obj.event;
+
+ if (layEvent === 'teamInfo') {
+ febs.modal.open( '团队详情', 'dappView/teamInfo/' + data.id, {
+ maxmin: true,
+ });
+ }
if (layEvent === 'resetTransferCode') {
febs.modal.confirm('资金密码', '是否重置资金密码为:123456?', function () {
resetTransferCode(data.id);
@@ -308,7 +314,11 @@
cols: [[
// {type: 'checkbox'},
// {type: 'numbers'},
- {field: 'username', title: '用户名', minWidth: 120},
+ // {field: 'username', title: '用户名', minWidth: 120},
+ {title: '用户名',
+ templet: function (d) {
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="teamInfo" shiro:hasPermission="teamInfo:update"><span>'+d.username+'</span></button>'
+ },minWidth: 130,align:'center'},
{field: 'identity', title: '会员',
templet: function (d) {
if (d.identity === 'LEVEL_TM') {
@@ -342,7 +352,7 @@
{field: 'availableAmount', title: '可用余额', minWidth: 100},
{field: 'frozenAmount', title: '冻结金额', minWidth: 100},
{field: 'inviteId', title: '邀请码', minWidth: 100},
- {field: 'refererId', title: '上级邀请码', minWidth: 130},
+ {field: 'refererName', title: '上级', minWidth: 130},
{field: 'createTime', title: '创建时间', minWidth: 180},
,{field: 'accountStatus', title: '账户状态',templet: '#isAccountStatus', minWidth: 180},
// {title: '账户状态', templet: '#user-status', minWidth: 120},
--
Gitblit v1.9.1