| | |
| | | <input type="text" placeholder="手机号/邮箱/邀请码" name="account" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label layui-form-label-sm">审核状态</label> |
| | | <div class="layui-input-inline"> |
| | | <select name="certifyStatus"> |
| | | <option value="">请选择</option> |
| | | <option value="0">未通过</option> |
| | | <option value="1">待审核</option> |
| | | <option value="2">审核通过</option> |
| | | <option value="3">未实名</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-md2 layui-col-sm12 layui-col-xs12 table-action-area"> |
| | |
| | | cols: [[ |
| | | {field: 'phone', title: '手机号', minWidth: 100,align:'left'}, |
| | | {field: 'email', title: '邮箱', minWidth: 200,align:'left'}, |
| | | {field: 'realName', title: '姓名', minWidth: 200,align:'left'}, |
| | | {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'}, |
| | | {field: 'refererId', title: '上级邀请码UID', minWidth: 80,align:'center'}, |
| | | {field: 'accountType', title: '账号类型', |
| | |
| | | {title: '操作', |
| | | templet: function (d) { |
| | | if (d.certifyStatus === 1) { |
| | | return '<a lay-event="edit" shiro:hasPermission="user:update">确认</a>' |
| | | return '<a lay-event="edit" shiro:hasPermission="user:update">审核认证</a>' |
| | | +'<i class="layui-icon febs-edit-area febs-blue"></i>' |
| | | +'<a lay-event="addCoin" shiro:hasPermission="user:update">拨币</a>' |
| | | }else if(d.certifyStatus === 2){ |
| | | return '<a lay-event="see" shiro:hasPermission="user:update">' |
| | |
| | | function getQueryParams() { |
| | | return { |
| | | account: $searchForm.find('input[name="account"]').val().trim(), |
| | | certifyStatus: $searchForm.find("select[name='certifyStatus']").val(), |
| | | }; |
| | | } |
| | | |