xiaoyong931011
2023-08-11 163ee7c4bd868557fb7d7399feaa03d6d9660526
src/main/resources/templates/febs/views/dapp/member.html
@@ -75,6 +75,7 @@
<script type="text/html" id="mallmember-option">
    <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="agentLevel:view" lay-event="agentLevel">设置会员级别</button>
    <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="agentLevel:view" lay-event="memberFlow">个人流水</button>
</script>
<script data-th-inline="none" type="text/javascript">
    layui.use(['dropdown', 'jquery', 'laydate', 'form', 'table', 'febs', 'treeSelect'], function () {
@@ -107,6 +108,12 @@
                    btn2: function () {
                        layer.closeAll();
                    }
                });
            }
            if (layEvent === 'memberFlow') {
                febs.modal.open( '订单流水', 'dappView/memberFlow/' + data.id, {
                    maxmin: true,
                });
            }
        });
@@ -177,7 +184,7 @@
                    {field: 'inviteId', title: '邀请码', minWidth: 100},
                    {field: 'refererId', title: '上级邀请码', minWidth: 100},
                    {field: 'createTime', title: '创建时间', minWidth: 180},
                    {title: '操作', minWidth: 200 ,toolbar: '#mallmember-option',align:'left', fixed:'right'}
                    {title: '操作', minWidth: 300 ,toolbar: '#mallmember-option',align:'left', fixed:'right'}
                ]]
            });
        }