From 81d826f455491f18f64c4032fc07be5c6abdd009 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 29 Sep 2021 17:03:31 +0800 Subject: [PATCH] 20210928 --- src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html | 36 ++++++++++++++---------------------- 1 files changed, 14 insertions(+), 22 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html index 752d935..9a5fa05 100644 --- a/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html +++ b/src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html @@ -87,37 +87,25 @@ openAccount(data.id); }); } - - if (layEvent === 'edit') { - febs.modal.open('身份认证', 'modules/member/memberDetail/' + data.id, { - btn: ['提交', '取消'], - yes: function (index, layero) { - $('#user-update').find('#submit').trigger('click'); - }, - btn2: function () { - layer.closeAll(); - } - }); - } if (layEvent === 'see') { febs.modal.open( '个人信息', 'modules/mallMember/detail/' + data.id, { maxmin: true, }); } - if (layEvent === 'addCoin') { - febs.modal.open( '拨币', 'modules/member/addCoin/' + data.id, { + if (layEvent === 'moneyFlow') { + febs.modal.open( '用户资金流水', 'modules/mallMember/moneyFlow/' + data.id, { + maxmin: true, + }); + } + if (layEvent === 'systemPay') { + febs.modal.open('系统拨付', 'modules/mallMember/mallSystemPay/' + data.id, { btn: ['提交', '取消'], yes: function (index, layero) { - $('#user-update').find('#submit').trigger('click'); + $('#systemPay-update').find('#submit').trigger('click'); }, btn2: function () { layer.closeAll(); } - }); - } - if (layEvent === 'examine') { - febs.modal.open( '个人数据详情', 'modules/member/memberDetailInfo/' + data.inviteId, { - maxmin: true, }); } }); @@ -154,8 +142,9 @@ id: 'userTable', url: ctx + 'admin/mallMember/getMallMemberList', cols: [[ - {field: 'phone', title: '手机号', minWidth: 150,align:'left'}, - {field: 'email', title: '邮箱', minWidth: 150,align:'left'}, + {field: 'phone', title: '账号', minWidth: 150,align:'left'}, + {field: 'bindPhone', title: '手机号', minWidth: 150,align:'left'}, + // {field: 'email', title: '邮箱', minWidth: 150,align:'left'}, {field: 'name', title: '名称', minWidth: 100,align:'left'}, {field: 'inviteId', title: '邀请码', minWidth: 100,align:'left'}, {field: 'referrerId', title: '推荐人邀请码', minWidth: 100,align:'left'}, @@ -185,10 +174,13 @@ if (d.accountStatus === 1) { return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">详情</button>' +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="close" shiro:hasPermission="user:update">禁用</button>' + +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="systemPay" shiro:hasPermission="user:update">积分拨付</button>' + +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="moneyFlow" shiro:hasPermission="user:update">资金流水</button>' }else{ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">详情</button>' +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="open" shiro:hasPermission="user:update">启用</button>' + +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="moneyFlow" shiro:hasPermission="user:update">资金流水</button>' } },minWidth: 300,align:'center'} -- Gitblit v1.9.1