Helius
2020-12-28 7ba7366a8c6ce8019339e433b218386645cb5312
src/main/resources/templates/febs/views/modules/member/member.html
@@ -43,11 +43,11 @@
</div>
<!-- 表格操作栏 start -->
<script type="text/html" id="user-option">
<!--    <span shiro:lacksPermission="user:view,user:update,user:delete">-->
<!--        <span class="layui-badge-dot febs-bg-orange"></span> 无权限-->
<!--    </span>-->
    <a lay-event="edit" shiro:hasPermission="member:update">审核认证</a>
    <a lay-event="see"><i class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>
    {{# if(d.certifyStatus == 1) { }}
        <a lay-event="edit" shiro:hasPermission="member:update"><i class="layui-icon febs-edit-area febs-blue">&#xe7bc;</i></a>
    {{# } else { }}
        <a lay-event="see"><i class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>
    {{# } }}
</script>
<!-- 表格操作栏 end -->
<script data-th-inline="none" type="text/javascript">
@@ -116,6 +116,7 @@
                elem: $view.find('table'),
                id: 'userTable',
                url: ctx + 'member/getList',
                totalRow : true,
                cols: [[
                    {field: 'phone', title: '手机号', minWidth: 150,align:'left'},
                    {field: 'email', title: '邮箱', minWidth: 100,align:'left'},
@@ -125,6 +126,8 @@
                                return '<a lay-event="examine" shiro:hasPermission="user:update">'+d.inviteId+'</a>'
                            }, minWidth: 80,align:'center'},
                    {field: 'refererId', title: '上级邀请码UID', minWidth: 80,align:'center'},
                    {field: 'usdtAmount', title: 'USDT', minWidth: 80,align:'center', totalRow: true},
                    {field: 'rfncAmount', title: 'RFNC', minWidth: 80,align:'center', totalRow: true},
                    // {field: 'accountType', title: '账号类型',
                    //    templet: function (d) {
                    //         if (d.accountType === 2) {
@@ -170,16 +173,17 @@
                                    }
                                }, minWidth: 80,align:'center'},
                    {field: 'createTime', title: '注册时间', minWidth: 180,align:'center'},
                    {title: '操作', toolbar: '#user-option'
                    {title: '操作',
                       // templet: function (d) {
                        //     if (d.certifyStatus === 1) {
                        //        return ''
                        //        return '<a lay-event="edit" shiro:hasPermission="user:update">审核认证</a>'
                        //        +'<i class="layui-icon febs-edit-area febs-blue">&#xe7a4;</i>'
                        //     }else {
                        //        return '<a lay-event="see" shiro:hasPermission="user:update">'
                        //        +'<i class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>'
                        //     }
                        // },
                        // }
                        toolbar: '#user-option'
                        ,minWidth: 200,align:'center'}
                ]]
            });