| | |
| | | <div class="layui-form-item">
|
| | | <div class="layui-inline">
|
| | | <div class="layui-input-inline">
|
| | | <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="1">待审核</option>
|
| | | <option value="2">审核通过</option>
|
| | | <option value="3">未实名</option>
|
| | | </select>
|
| | | <input type="text" placeholder="邀请码" name="account" autocomplete="off" class="layui-input">
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | | id: 'userTable',
|
| | | url: ctx + 'member/getList',
|
| | | cols: [[
|
| | | {field: 'phone', title: '手机号', minWidth: 120,align:'left'},
|
| | | {field: 'email', title: '邮箱', minWidth: 50,align:'left'},
|
| | | {field: 'realName', title: '姓名', minWidth: 50,align:'left'},
|
| | | //{field: 'phone', title: '手机号', minWidth: 120,align:'left'},
|
| | | //{field: 'email', title: '邮箱', minWidth: 50,align:'left'},
|
| | | //{field: 'realName', title: '姓名', minWidth: 50,align:'left'},
|
| | | {field: 'inviteId', title: '邀请码UID',
|
| | | templet: function (d) {
|
| | | return '<a lay-event="examine" shiro:hasPermission="user:update">'+d.inviteId+'</a>'
|
| | |
| | | return '<span style="color:gray;">否</span>'
|
| | | }
|
| | | }, minWidth: 80,align:'center'},
|
| | | {field: 'refererId', title: '审核状态',
|
| | | templet: function (d) {
|
| | | if (d.certifyStatus === 0) {
|
| | | return '<span style="color:red;">未通过</span>'
|
| | | } else if (d.certifyStatus === 1) {
|
| | | return '<span style="color:blue;">待审核</span>'
|
| | | } else if (d.certifyStatus === 2) {
|
| | | return '<span style="color:green;">审核通过</span>'
|
| | | } else if (d.certifyStatus === 3) {
|
| | | return '<span>未实名</span>'
|
| | | }else{
|
| | | return ''
|
| | | }
|
| | | }, minWidth: 80,align:'center'},
|
| | | // {field: 'refererId', title: '审核状态',
|
| | | // templet: function (d) {
|
| | | // if (d.certifyStatus === 0) {
|
| | | // return '<span style="color:red;">未通过</span>'
|
| | | // } else if (d.certifyStatus === 1) {
|
| | | // return '<span style="color:blue;">待审核</span>'
|
| | | // } else if (d.certifyStatus === 2) {
|
| | | // return '<span style="color:green;">审核通过</span>'
|
| | | // } else if (d.certifyStatus === 3) {
|
| | | // return '<span>未实名</span>'
|
| | | // }else{
|
| | | // return ''
|
| | | // }
|
| | | // }, minWidth: 80,align:'center'},
|
| | | {field: 'createTime', title: '注册时间', minWidth: 150,align:'center'},
|
| | | {title: '操作', toolbar: '#user-option'
|
| | | // {title: '操作', toolbar: '#user-option'
|
| | | // templet: function (d) {
|
| | | // if (d.certifyStatus === 1) {
|
| | | // return ''
|
| | |
| | | // +'<i class="layui-icon febs-edit-area febs-blue"></i></a>'
|
| | | // }
|
| | | // },
|
| | | ,minWidth: 200,align:'center'}
|
| | | // ,minWidth: 200,align:'center'}
|
| | | ]]
|
| | | });
|
| | | }
|