| | |
| | | } |
| | | }); |
| | | } |
| | | if (layEvent === 'see') { |
| | | febs.modal.open('身份认证', 'modules/member/memberDetail/' + data.id, { |
| | | area: $(window).width() <= 1000 ? '100%' : '50%', |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | |
| | |
| | | {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"></i></a>' |
| | | }else { |
| | | return '' |
| | | } |
| | | },minWidth: 200,align:'center'} |
| | | ]] |
| | | }); |
| | | } |