| | |
| | | <script type="text/html" id="memberToolbar"> |
| | | <div class="layui-btn-container"> |
| | | <!-- <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" lay-event="updateReferer">修改推荐人</button>--> |
| | | <!-- <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="updateMemberLevel:update" lay-event="updateMemberLevel">修改会员等级</button>--> |
| | | <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" lay-event="updateMemberLevel">修改角色</button> |
| | | <!-- <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="updateSaleLevel:update" lay-event="updateSaleLevel">修改分销等级</button>--> |
| | | <!-- <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="wallet:update" lay-event="balance">余额修改</button>--> |
| | | <!-- <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="wallet:update" lay-event="prizeScore">积分修改</button>--> |
| | |
| | | function memberOut(id) { |
| | | febs.get(ctx + 'admin/mallMember/memberOut/' + id, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | function closeAccount(id) { |
| | | febs.get(ctx + 'admin/mallMember/closeAccount/' + id, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | function openAccount(id) { |
| | | febs.get(ctx + 'admin/mallMember/openAccount/' + id, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | |
| | |
| | | function checkOrder(id) { |
| | | febs.get(ctx + 'admin/mallMember/checkOrder/' + id, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | // $query.click(); |
| | | }); |
| | | } |
| | | |
| | |
| | | {field: 'name', title: '用户名', minWidth: 100,align:'center'}, |
| | | {field: 'realName', title: '真实姓名', minWidth: 100,align:'center'}, |
| | | {field: 'phone', title: '联系方式', minWidth: 150,align:'center'}, |
| | | // {field: 'balance', title: '余额', minWidth: 150,align:'center'}, |
| | | {field: 'companyName', title: '公司', minWidth: 150,align:'center'}, |
| | | {field: 'memberRoleIdName', title: '角色', minWidth: 150,align:'center'}, |
| | | // {field: 'score', title: '会员经验', minWidth: 150,align:'center'}, |
| | | // {field: 'prizeScore', title: '积分', minWidth: 150,align:'center'}, |
| | | // {field: 'commission', title: '可用佣金', minWidth: 150,align:'center'}, |
| | | // {field: 'totalScore', title: '总佣金', minWidth: 150,align:'center'}, |
| | | // {field: 'directorName', title: '会员等级', minWidth: 150,align:'center'}, |
| | | // {field: 'storeMasterName', title: '分销等级', minWidth: 150,align:'center'}, |
| | | {field: 'inviteId', title: '邀请码', minWidth: 100,align:'center'}, |
| | | {field: 'companyCode', title: '公司码', minWidth: 100,align:'center'}, |
| | | {field: 'createdTime', title: '注册时间', minWidth: 180,align:'center'}, |
| | | ]] |
| | | }); |
| | |
| | | febs.alert.warn('每次只能修改一个用户'); |
| | | return; |
| | | } |
| | | febs.modal.open('设置会员等级', 'modules/mallMember/vipLevelSetting/' + checkData[0].id, { |
| | | febs.modal.open('角色设置', 'modules/mallMember/vipLevelSetting/' + checkData[0].id, { |
| | | btn: ['确认', '取消'], |
| | | yes: function (index, layero) { |
| | | $('#vip-level-set').find('#submit').trigger('click'); |