| | |
| | | {field: 'realName', title: '姓名', minWidth: 100,align:'left'}, |
| | | {field: 'inviteId', title: '邀请码', minWidth: 80,align:'center'}, |
| | | {field: 'nikename', title: '昵称', minWidth: 80,align:'center'}, |
| | | // {field: 'status', title: '审核状态', |
| | | // templet: function (d) { |
| | | // if (d.status === 1) { |
| | | // return '<span style="color:blue;">待审核</span>' |
| | | // } else if (d.status === 2) { |
| | | // return '<span style="color:green;">审核通过</span>' |
| | | // } else if (d.status === 3) { |
| | | // return '<span>拒绝</span>' |
| | | // }else{ |
| | | // return '' |
| | | // } |
| | | // }, minWidth: 80,align:'center'}, |
| | | {field: 'status', title: '审核状态', |
| | | templet: function (d) { |
| | | if (d.status === 1) { |
| | | return '<span style="color:blue;">待审核</span>' |
| | | } else if (d.status === 2) { |
| | | return '<span style="color:green;">审核通过</span>' |
| | | } else if (d.status === 3) { |
| | | return '<span>拒绝</span>' |
| | | }else{ |
| | | return '' |
| | | } |
| | | }, minWidth: 80,align:'center'}, |
| | | // {field: 'waitBackMoney', title: '待回款',minWidth: 100,align:'center'}, |
| | | // {field: 'hasBackMoney', title: '已回款',minWidth: 100,align:'center'}, |
| | | {field: 'buyCnt', title: '服务人数',minWidth: 100,align:'center'}, |
| | |
| | | {field: 'avgPayTime', title: '平均付款时间',minWidth: 100,align:'center'}, |
| | | {field: 'avgCoinTime', title: '平均放币时间',minWidth: 100,align:'center'}, |
| | | {field: 'createTime', title: '注册时间', minWidth: 180,align:'center'}, |
| | | // {title: '操作',templet: function (d) { |
| | | // return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="huikuan" shiro:hasPermission="user:update">回款</button>' |
| | | // // if(d.status === 1){ |
| | | // // return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agreeShop" shiro:hasPermission="user:update">同意</button>' |
| | | // // +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagreeShop" shiro:hasPermission="user:update">拒绝</button>' |
| | | // // }else{ |
| | | // // return '' |
| | | // // } |
| | | // },minWidth: 200,align:'center'} |
| | | {title: '操作',templet: function (d) { |
| | | // return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="huikuan" shiro:hasPermission="user:update">回款</button>' |
| | | if(d.status === 1){ |
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agreeShop" shiro:hasPermission="user:update">同意</button>' |
| | | +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagreeShop" shiro:hasPermission="user:update">拒绝</button>' |
| | | }else{ |
| | | return '' |
| | | } |
| | | },minWidth: 200,align:'center'} |
| | | ]] |
| | | }); |
| | | } |