xiaoyong931011
2022-09-09 e1e7d29ea23fcee395e3f13dc2763162c588b6d0
src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html
@@ -264,6 +264,8 @@
                                return '<span style="color:green;">团长</span>'
                            }else if (d.leaderState === 3) {
                                return '<span">申请中</span>'
                            }else if (d.leaderState === 4) {
                                return '<span">普通用户(取消团长资格)</span>'
                            }else{
                                return '<span">普通用户</span>'
                            }
@@ -272,11 +274,19 @@
                    {field: 'createdTime', title: '注册时间', minWidth: 180,align:'center'},
                    {title: '操作',
                        templet: function (d) {
                        if(d.leaderState === 1 || d.leaderState === 3){
                        if(d.leaderState === 1 ){
                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="moneyFlow" shiro:hasPermission="user:update">资金流水</button>'
                        }else if(d.leaderState === 2){
                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="moneyFlow" shiro:hasPermission="user:update">资金流水</button>'
                                + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addLeader" shiro:hasPermission="user:update">设置为团长</button>'
                        }else if(d.leaderState === 3){
                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="moneyFlow" shiro:hasPermission="user:update">资金流水</button>'
                        }else if(d.leaderState === 4){
                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="moneyFlow" shiro:hasPermission="user:update">资金流水</button>'
                                // + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addLeader" shiro:hasPermission="user:update">设置为团长</button>'
                        }else{
                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="moneyFlow" shiro:hasPermission="user:update">资金流水</button>'
                            + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addLeader" shiro:hasPermission="user:update">设置为团长</button>'
                                + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addLeader" shiro:hasPermission="user:update">设置为团长</button>'
                        }
                        },minWidth: 200,align:'center', fixed:"right"}