From d5de8ee29bc317b3cbed23dcff76ae352649fdff Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 03 Nov 2022 15:18:56 +0800
Subject: [PATCH] 20221021

---
 src/main/resources/templates/febs/views/dapp/member.html |   43 ++++++++++++++++++++++++++-----------------
 1 files changed, 26 insertions(+), 17 deletions(-)

diff --git a/src/main/resources/templates/febs/views/dapp/member.html b/src/main/resources/templates/febs/views/dapp/member.html
index b5db59e..fd363e5 100644
--- a/src/main/resources/templates/febs/views/dapp/member.html
+++ b/src/main/resources/templates/febs/views/dapp/member.html
@@ -8,9 +8,9 @@
                             <div class="layui-col-md10">
                                 <div class="layui-form-item">
                                     <div class="layui-inline">
-                                        <label class="layui-form-label layui-form-label-sm">邀请码</label>
+                                        <label class="layui-form-label layui-form-label-sm">用户名</label>
                                         <div class="layui-input-inline">
-                                            <input type="text" name="inviteId" autocomplete="off" class="layui-input">
+                                            <input type="text" name="username" autocomplete="off" class="layui-input">
                                         </div>
                                     </div>
                                     <div class="layui-inline">
@@ -188,7 +188,7 @@
                 });
             }
             if (layEvent === 'payUsdt') {
-                febs.modal.open('编辑', 'dappView/payUsdt/' + data.id, {
+                febs.modal.open('拨付', 'dappView/payUsdt/' + data.id, {
                     btn: ['提交', '取消'],
                     yes: function (index, layero) {
                         $('#payUsdt-update').find('#submit').trigger('click');
@@ -295,10 +295,10 @@
                 id: 'memberTable',
                 url: ctx + 'member/list',
                 cols: [[
-                    {type: 'checkbox'},
-                    {type: 'numbers'},
-                    {field: 'username', title: '用户名', minWidth: 130},
-                    {field: 'identity', title: '会员等级',
+                    // {type: 'checkbox'},
+                    // {type: 'numbers'},
+                    {field: 'username', title: '用户名', minWidth: 120},
+                    {field: 'identity', title: '会员',
                         templet: function (d) {
                             if (d.identity === 'LEVEL_TM') {
                                 return '<span>游客</span>'
@@ -307,12 +307,21 @@
                             }else{
                                 return ''
                             }
-                        }, minWidth: 100, align: 'center'},
-                    // {field: 'address', title: '地址', minWidth: 130},
-                    // {title: '余额(USDT)', templet: '#balance', minWidth: 120},
-                    // {title: '授权列表', templet: '#approve-list', minWidth: 110},
-                    // {field: 'chainType', title: '所属链', minWidth: 130},
-                    {field: 'inviteId', title: '邀请码', minWidth: 130},
+                        }, minWidth: 80, align: 'center'},
+                    {field: 'identity', title: '等级',
+                        templet: function (d) {
+                            if (d.identity === 'LEVEL_TM') {
+                                return '<span></span>'
+                            } else if (d.identity != 'LEVEL_TM' && d.identity != '' && d.identity != null) {
+                                return '<span>'+d.identity+'</span>'
+                            }else{
+                                return ''
+                            }
+                        }, minWidth: 130, align: 'center'},
+                    {field: 'totalAmount', title: '总金额', minWidth: 100},
+                    {field: 'availableAmount', title: '可用余额', minWidth: 100},
+                    {field: 'frozenAmount', title: '冻结金额', minWidth: 100},
+                    {field: 'inviteId', title: '邀请码', minWidth: 100},
                     {field: 'refererId', title: '上级邀请码', minWidth: 130},
                     {field: 'createTime', title: '创建时间', minWidth: 180},
                     ,{field: 'accountStatus', title: '账户状态',templet: '#isAccountStatus', minWidth: 180},
@@ -329,7 +338,7 @@
                         }else{
                             return ''
                         }
-                        },minWidth: 180,align:'center'},
+                        },minWidth: 130,align:'center'},
                     {title: '重置资金密码',
                         templet: function (d) {
                             if(d.identity != 'LEVEL_TM' && d.identity != '' && d.identity != null){
@@ -337,11 +346,11 @@
                             }else{
                                 return ''
                             }
-                        },minWidth: 180,align:'center'},
+                        },minWidth: 130,align:'center'},
                     {title: '后台拨付',
                         templet: function (d) {
                                 return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="payUsdt" shiro:hasPermission="user:update">拨付</button>'
-                        },minWidth: 180,align:'center'},
+                        },minWidth: 130,align:'center'},
                 ]]
             });
         }
@@ -365,7 +374,7 @@
 
         function getQueryParams() {
             return {
-                inviteId: $searchForm.find('input[name="inviteId"]').val().trim(),
+                username: $searchForm.find('input[name="username"]').val().trim(),
                 changeAble: $searchForm.find("select[name='changeAble']").val(),
                 accountStatus: $searchForm.find("select[name='accountStatus']").val(),
                 withdrawAble: $searchForm.find("input[name='withdrawAble']").val(),

--
Gitblit v1.9.1