xiaoyong931011
2020-06-23 74a515f13ad8b5a38c6e4379de0927cec93ce62f
src/main/resources/templates/febs/views/modules/member/member.html
@@ -109,6 +109,11 @@
                    }
                });
            }
            if (layEvent === 'see') {
                febs.modal.open('身份认证', 'modules/member/memberDetail/' + data.id, {
                    area: $(window).width() <= 1000 ? '100%' : '50%',
                });
            }
        });
        
@@ -139,7 +144,17 @@
                    {title: '账号状态', templet: '#account-status', minWidth: 50,align:'center'},
                    {title: '审核状态', templet: '#certify-status', minWidth: 80,align:'center'},
                    {field: 'createTime', title: '注册时间', minWidth: 180,align:'center'},
                    {title: '操作', toolbar: '#user-option', minWidth: 140, fixed : 'right'}
                    {title: '操作',
                       templet: function (d) {
                            if (d.certifyStatus === 1) {
                               return '<a lay-event="edit" shiro:hasPermission="user:update">确认</a>'
                            }else if(d.certifyStatus === 2){
                               return '<a lay-event="see" shiro:hasPermission="user:update">'
                               +'<i class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>'
                            }else {
                                return ''
                            }
                        },minWidth: 200,align:'center'}
                ]]
            });
        }