| | |
| | | </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"></i></a>
|
| | | {{# if(d.certifyStatus == 1) { }}
|
| | | <a lay-event="edit" shiro:hasPermission="member:update"><i class="layui-icon febs-edit-area febs-blue"></i></a>
|
| | | {{# } else { }}
|
| | | <a lay-event="see"><i class="layui-icon febs-edit-area febs-blue"></i></a>
|
| | | {{# } }}
|
| | | </script>
|
| | | <!-- 表格操作栏 end -->
|
| | | <script data-th-inline="none" type="text/javascript">
|
| | |
| | | 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'},
|
| | |
| | | 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) {
|
| | |
| | | }
|
| | | }, 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"></i>'
|
| | | // }else {
|
| | | // return '<a lay-event="see" shiro:hasPermission="user:update">'
|
| | | // +'<i class="layui-icon febs-edit-area febs-blue"></i></a>'
|
| | | // }
|
| | | // },
|
| | | // }
|
| | | toolbar: '#user-option'
|
| | | ,minWidth: 200,align:'center'}
|
| | | ]]
|
| | | });
|