| | |
| | | id: 'userTable',
|
| | | url: ctx + 'member/getList',
|
| | | cols: [[
|
| | | {field: 'phone', title: '手机号', minWidth: 100,align:'left'},
|
| | | {field: 'email', title: '邮箱', minWidth: 200,align:'left'},
|
| | | {field: 'realName', title: '姓名', minWidth: 200,align:'left'},
|
| | | {field: 'phone', title: '手机号', minWidth: 150,align:'left'},
|
| | | {field: 'email', title: '邮箱', minWidth: 100,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>'
|
| | | }, minWidth: 80,align:'center'},
|
| | | {field: 'refererId', title: '上级邀请码UID', minWidth: 80,align:'center'},
|
| | | {field: 'accountType', title: '账号类型',
|
| | | templet: function (d) {
|
| | | if (d.accountType === 2) {
|
| | | return '<span style="color:green;">测试账号</span>'
|
| | | } else if (d.accountType === 1) {
|
| | | return '<span style="color:red;">正常账号</span>'
|
| | | }else{
|
| | | return ''
|
| | | }
|
| | | }, minWidth: 80,align:'center'},
|
| | | // {field: 'accountType', title: '账号类型',
|
| | | // templet: function (d) {
|
| | | // if (d.accountType === 2) {
|
| | | // return '<span style="color:green;">测试账号</span>'
|
| | | // } else if (d.accountType === 1) {
|
| | | // return '<span style="color:red;">正常账号</span>'
|
| | | // }else{
|
| | | // return ''
|
| | | // }
|
| | | // }, minWidth: 80,align:'center'},
|
| | | {field: 'refererId', title: '账号状态',
|
| | | templet: function (d) {
|
| | | if (d.accountStatus === 1) {
|
| | |
| | | return ''
|
| | | }
|
| | | }, minWidth: 80,align:'center'},
|
| | | {field: 'ipo', title: '私募',
|
| | | templet: function (d) {
|
| | | if (d.ipo === 1) {
|
| | | return '<span style="color:red;">是</span>'
|
| | | } else if (d.ipo === 0) {
|
| | | return '<span style="color:gray;">否</span>'
|
| | | }else{
|
| | | return '<span style="color:gray;">否</span>'
|
| | | }
|
| | | }, minWidth: 80,align:'center'},
|
| | | {field: 'refererId', title: '审核状态',
|
| | | templet: function (d) {
|
| | | if (d.certifyStatus === 0) {
|
| | |
| | | }
|
| | | }, minWidth: 80,align:'center'},
|
| | | {field: 'createTime', title: '注册时间', minWidth: 180,align:'center'},
|
| | | {title: '操作', |
| | | {title: '操作',
|
| | | // templet: function (d) {
|
| | | // if (d.certifyStatus === 1) {
|
| | | // return '<a lay-event="edit" shiro:hasPermission="user:update">审核认证</a>'
|