From 0e1f10a6247e9db16c66972fa9d45f93b3573fc9 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 19 May 2023 12:35:07 +0800
Subject: [PATCH] twoCoin项目修改
---
src/main/resources/templates/febs/views/dapp/member.html | 29 +++++++++++++----------------
1 files changed, 13 insertions(+), 16 deletions(-)
diff --git a/src/main/resources/templates/febs/views/dapp/member.html b/src/main/resources/templates/febs/views/dapp/member.html
index 82b1658..39cd18c 100644
--- a/src/main/resources/templates/febs/views/dapp/member.html
+++ b/src/main/resources/templates/febs/views/dapp/member.html
@@ -8,8 +8,8 @@
<div class="layui-col-md10">
<div class="layui-form-item">
<div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" name="inviteId" autocomplete="off" placeholder="输入地址或邀请码" class="layui-input">
+ <label class="layui-form-label">地址邀请码:</label>
+ <div class="layui-input-inline"><input type="text" name="inviteId" autocomplete="off" placeholder="输入地址或邀请码" class="layui-input">
</div>
</div>
<!-- <div class="layui-inline">-->
@@ -171,6 +171,12 @@
maxmin: true,
});
}
+
+ if (layEvent === 'memberNodeInfo') {
+ febs.modal.open( '购买记录', 'dappView/memberNodeInfo/' + data.id, {
+ maxmin: true,
+ });
+ }
if (layEvent === 'accountStatus') {
var text = "是否启用该用户?";
if (data.accountStatus === 1) {
@@ -255,26 +261,18 @@
url: ctx + 'member/list',
totalRow: true,
cols: [[
- // {type: 'checkbox'},
- // {type: 'numbers'},
{title: '代理级别',
templet: function (d) {
- return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="teamInfo" shiro:hasPermission="teamInfo:view"><span>'+d.accountType+'</span></button>'
+ return '<span class="layui-btn layui-btn-normal layui-btn-xs">'+d.accountType+'</span>'
},minWidth: 130,align:'center', totalRowText: '合计'},
- // {title: '地址', templet: '#approve-list', minWidth: 400},
{field: 'address', title: '地址', minWidth: 400},
{field: 'chainType', title: '所属链', minWidth: 130},
- {field: 'activeStatus', title: '加入动能',
+ {field: 'memberNodeSumPrice', title: '拥有积分', minWidth: 130},
+ {title: '购买节点数量',
templet: function (d) {
- if (d.activeStatus === 1) {
- return '<span style="color:green;">'+d.systemProfitId+'</span>'
- } else{
- return ''
- }
- }, minWidth: 80,align:'center'},
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="memberNodeInfo" shiro:hasPermission="memberNodeInfo:view"><span>'+d.memberNodeCnt+'</span></button>'
+ },minWidth: 130,align:'center'},
{field: 'directProfit', title: '直推收益', minWidth: 100, totalRow: true},
- {field: 'levelProfit', title: '层级收益', minWidth: 100, totalRow: true},
- {field: 'luckyProfit', title: '出局收益', minWidth: 100, totalRow: true},
{field: 'inviteId', title: '邀请码', minWidth: 100},
{field: 'refererId', title: '上级邀请码', minWidth: 100},
{field: 'createTime', title: '创建时间', minWidth: 180}
@@ -285,7 +283,6 @@
function getQueryParams() {
return {
inviteId: $searchForm.find('input[name="inviteId"]').val().trim(),
- // changeAble: $searchForm.find("select[name='changeAble']").val(),
accountStatus: $searchForm.find("select[name='accountStatus']").val(),
withdrawAble: $searchForm.find("select[name='withdrawAble']").val(),
invalidate_ie_cache: new Date()
--
Gitblit v1.9.1