Administrator
2025-05-21 a7b8b0c439d0a705bced3fda9b04e38e44c26707
src/main/resources/templates/febs/views/modules/mallMember/agentList.html
@@ -23,10 +23,10 @@
                                            <select name="level">
                                                <option value="">请选择</option>
                                                <option value="FIRST_LEVEL">普通会员</option>
                                                <option value="SECOND_LEVEL">区级代理</option>
                                                <option value="THIRD_LEVEL">市级代理</option>
                                                <option value="FOUR_LEVEL">省级代理</option>
                                                <option value="FIFTH_LEVEL">全国总代</option>
                                                <option value="SECOND_LEVEL">一星</option>
                                                <option value="THIRD_LEVEL">二星</option>
                                                <option value="FOUR_LEVEL">三星</option>
                                                <option value="FIFTH_LEVEL">四星</option>
                                            </select>
                                        </div>
                                    </div>
@@ -129,7 +129,7 @@
                id: 'userAgentTable',
                url: ctx + 'admin/mallMember/getAgentList',
                cols: [[
                    {field: 'bindPhone', title: '手机号', minWidth: 150,align:'left'},
                    // {field: 'bindPhone', title: '手机号', minWidth: 150,align:'left'},
                    {field: 'phone', title: '账号', minWidth: 150,align:'left'},
                    {field: 'name', title: '名称', minWidth: 100,align:'left'},
                    {field: 'inviteId', title: '邀请码', minWidth: 100,align:'left'},
@@ -139,14 +139,7 @@
                    {field: 'amount', title: '团队业绩', minWidth: 100,align:'left'},
                    {title: '操作',
                        templet: function (d) {
                            if (d.level === 'ZERO_LEVEL'){
                                return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="activate" shiro:hasPermission="user:update">激活</button>'
                                    + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentLevelSet" shiro:hasPermission="user:update">设置代理等级</button>'
                                    + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentAllMember" shiro:hasPermission="user:update">全部成员</button>'
                            }else{
                                return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentLevelSet" shiro:hasPermission="user:update">设置代理等级</button>'
                                    + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentAllMember" shiro:hasPermission="user:update">全部成员</button>'
                            }
                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentAllMember" shiro:hasPermission="user:update">全部成员</button>'
                        },minWidth: 300,align:'center'}
                ]]
            });