xiaoyong931011
2021-06-15 1388cb062631002cd0add026764a9db004ec22df
src/main/resources/templates/febs/views/modules/member/member.html
@@ -135,7 +135,7 @@
                                return '<a lay-event="examine" shiro:hasPermission="user:update">'+d.inviteId+'</a>'
                            }, minWidth: 80,align:'center'},
                    {field: 'usdtBalance', title: 'USDT余额', minWidth: 80,align:'center'},
                    {field: 'rocBalance', title: 'ROC余额', minWidth: 80,align:'center'},
                    // {field: 'rocBalance', title: 'ROC余额', minWidth: 80,align:'center'},
                    // {field: 'accountType', title: '账号类型',
                    //    templet: function (d) {
                    //         if (d.accountType === 2) {
@@ -156,16 +156,16 @@
                    //                 return ''
                    //             }
                    //         }, minWidth: 80,align:'center'},
                    {field: 'ipo', title: '私募',
                        templet: function (d) {
                            if (d.ipo === 1) {
                                return '<span style="color:red;">是</span>'
                            } else if (d.ipo === 0) {
                                return '<span style="color:gray;">否</span>'
                            }else{
                                return '<span style="color:gray;">否</span>'
                            }
                        }, minWidth: 80,align:'center'},
                    // {field: 'ipo', title: '私募',
                    //     templet: function (d) {
                    //         if (d.ipo === 1) {
                    //             return '<span style="color:red;">是</span>'
                    //         } else if (d.ipo === 0) {
                    //             return '<span style="color:gray;">否</span>'
                    //         }else{
                    //             return '<span style="color:gray;">否</span>'
                    //         }
                    //     }, minWidth: 80,align:'center'},
                    {field: 'refererId', title: '审核状态',
                               templet: function (d) {
                                    if (d.certifyStatus === 0) {
@@ -181,16 +181,16 @@
                                    }
                                }, minWidth: 80,align:'center'},
                    {field: 'createTime', title: '注册时间', minWidth: 150,align:'center'},
                    {title: '操作', toolbar: '#user-option'
                       // templet: function (d) {
                        //     if (d.certifyStatus === 1) {
                        //        return ''
                        //        +'<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>'
                        //     }
                        // },
                    {title: '操作', title: '操作',
                       templet: function (d) {
                            if (d.certifyStatus === 1) {
                               return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit" shiro:hasPermission="user:update">审核认证</button>'
                            }else if(d.certifyStatus === 2){
                                return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">查看</button>'
                            }else{
                               return ''
                            }
                        }
                        ,minWidth: 200,align:'center'}
                ]]
            });