| | |
| | | <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> |
| | | |
| | |
| | | // 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: 'myShareAchieve', 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'} |
| | | ]] |
| | |
| | | } |
| | | 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) { |