From 5395109df46ecfca315a52c0164a39fb8ea4f4a8 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 20 Aug 2023 09:09:22 +0800
Subject: [PATCH] 后台修改
---
src/main/resources/templates/febs/views/dapp/member.html | 12 ++++++++++--
1 files changed, 10 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 3265952..db57b58 100644
--- a/src/main/resources/templates/febs/views/dapp/member.html
+++ b/src/main/resources/templates/febs/views/dapp/member.html
@@ -70,6 +70,7 @@
<button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="agentLevel:view" lay-event="coinAmount">拨付余额</button>
<button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="agentLevel:view" lay-event="scoreAmount">拨付赠送积分</button>
<button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="agentLevel:view" lay-event="balance">拨付资产包</button>
+ <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="agentLevel:view" lay-event="balanceSystem">资产强制卖出</button>
</div>
</script>
@@ -174,15 +175,15 @@
// return '<span class="layui-btn layui-btn-normal layui-btn-xs">'+d.accountType+'</span>'
// },minWidth: 130,align:'center'},
{field: 'address', title: '地址', minWidth: 400, totalRowText: '合计'},
- {field: 'chainType', title: '所属链', minWidth: 130},
{field: 'coinAmount', title: '余额', minWidth: 130},
{field: 'scoreAmount', title: '赠送积分', minWidth: 130},
{field: 'balance', title: '资产包', minWidth: 130},
{field: 'activeStatus', title: '是否激活', templet:'#switchActiveStatus', minWidth: 120},
{field: 'accountType', title: '会员级别', minWidth: 130},
// {field: 'directProfit', title: '直推收益', minWidth: 100, totalRow: true},
- {field: 'inviteId', title: '邀请码', minWidth: 100},
{field: 'refererId', title: '上级邀请码', minWidth: 100},
+ {field: 'inviteId', title: '邀请码', minWidth: 100},
+ {field: 'chainType', title: '所属链', minWidth: 130},
{field: 'createTime', title: '创建时间', minWidth: 180},
{title: '操作', minWidth: 300 ,toolbar: '#mallmember-option',align:'left', fixed:'right'}
]]
@@ -230,6 +231,13 @@
}
systemPay("资产包", checkData[0].id, 3);
}
+
+ if (layEvent === 'balanceSystem') {
+ febs.get(ctx + 'member/balanceSystem/', null, function () {
+ febs.alert.success('操作成功');
+ $query.click();
+ });
+ }
});
function systemPay(text, id, type) {
--
Gitblit v1.9.1