|  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-inline"> | 
|---|
|  |  |  | <label class="layui-form-label layui-form-label-sm">账号类型</label> | 
|---|
|  |  |  | <div class="layui-input-inline"> | 
|---|
|  |  |  | <select name="isTest"> | 
|---|
|  |  |  | <option value=""></option> | 
|---|
|  |  |  | <option value="1">正常账号</option> | 
|---|
|  |  |  | <option value="2">测试账号</option> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-inline"> | 
|---|
|  |  |  | <label class="layui-form-label layui-form-label-sm">内部转账</label> | 
|---|
|  |  |  | <div class="layui-input-inline"> | 
|---|
|  |  |  | <select name="isInsideOption"> | 
|---|
|  |  |  | 
|---|
|  |  |  | cancelUsers(data.id); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (layEvent === 'see') { | 
|---|
|  |  |  | console.log(obj) | 
|---|
|  |  |  | febs.view.tab.change(ctx + "modules/member/memberDataInfoLists/" + data.id); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (layEvent === 'examine') { | 
|---|
|  |  |  | febs.modal.open( '个人数据详情', 'modules/member/memberInfoDetail/' + data.id, { | 
|---|
|  |  |  | maxmin: true, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | // 刷新按钮 | 
|---|
|  |  |  | $reset.on('click', function () { | 
|---|
|  |  |  | $searchForm[0].reset(); | 
|---|
|  |  |  | treeSelect.revokeNode('dept'); | 
|---|
|  |  |  | sortObject.type = 'null'; | 
|---|
|  |  |  | tableIns.reload({where: getQueryParams(), page: {curr: 1}, initSort: sortObject}); | 
|---|
|  |  |  | tableIns.reload({where: getQueryParams(), page: {curr: 1}}); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function initTable() { | 
|---|
|  |  |  | 
|---|
|  |  |  | totalRow: true, | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'}, | 
|---|
|  |  |  | {field: 'realName', title: '姓名', minWidth: 120,align:'left'}, | 
|---|
|  |  |  | {field: 'email', title: '邮箱', minWidth: 200,align:'left'}, | 
|---|
|  |  |  | {field: 'accountType', title: '账号类型', | 
|---|
|  |  |  | templet: function(d) { | 
|---|
|  |  |  | if (d.accountType === 1) { | 
|---|
|  |  |  | return "正常账号"; | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.accountType === 2) { | 
|---|
|  |  |  | return '<span style="color:red;">测试账号</span>' | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | return "测试账号"; | 
|---|
|  |  |  | return '<span style="color:green;">正常账号</span>' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, minWidth: 200,align:'center'}, | 
|---|
|  |  |  | },minWidth: 100,align:'center'}, | 
|---|
|  |  |  | {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'}, | 
|---|
|  |  |  | {field: 'symbol', title: '币种', minWidth: 100,align:'center'}, | 
|---|
|  |  |  | {field: 'amount', title: '提币数量', minWidth: 120,align:'center' ,totalRow: true}, | 
|---|
|  |  |  | {field: 'address', title: '提币地址', minWidth: 300,align:'center'}, | 
|---|
|  |  |  | {field: 'feeAmount', title: '提币手续费', minWidth: 100,align:'center', totalRow: true}, | 
|---|
|  |  |  | {field: 'createTime', title: '提币时间', minWidth: 180,align:'center'}, | 
|---|
|  |  |  | {field: 'isInside', title: '内部转账', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.isInside === 'Y') { | 
|---|
|  |  |  | 
|---|
|  |  |  | return '<span style="color:green;">否</span>' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | },minWidth: 100,align:'center'}, | 
|---|
|  |  |  | {field: 'amount', title: '提币数量', minWidth: 120,align:'center' ,totalRow: true}, | 
|---|
|  |  |  | {field: 'realAmount', title: '到账金额', minWidth: 120,align:'center' ,totalRow: true}, | 
|---|
|  |  |  | {field: 'address', title: '提币地址', minWidth: 300,align:'center'}, | 
|---|
|  |  |  | {field: 'feeAmount', title: '提币手续费', minWidth: 100,align:'center', totalRow: true}, | 
|---|
|  |  |  | {field: 'createTime', title: '提币时间', minWidth: 180,align:'center'}, | 
|---|
|  |  |  | {field: 'status', title: '状态', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.status === 1) { | 
|---|
|  |  |  | 
|---|
|  |  |  | return '<a lay-event="confirm" shiro:hasPermission="user:delete">确认</a>' | 
|---|
|  |  |  | +'<i class="layui-icon febs-edit-area febs-blue"></i>' | 
|---|
|  |  |  | +'<a lay-event="cancel" shiro:hasPermission="user:delete">拒绝</a>' | 
|---|
|  |  |  | +'<a lay-event="examine" shiro:hasPermission="user:delete">查看</a>' | 
|---|
|  |  |  | }else { | 
|---|
|  |  |  | return '' | 
|---|
|  |  |  | return '<a lay-event="examine" shiro:hasPermission="user:delete">查看</a>' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | },minWidth: 200,align:'center'} | 
|---|
|  |  |  | ]] | 
|---|
|  |  |  | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | account: $searchForm.find('input[name="account"]').val().trim(), | 
|---|
|  |  |  | status: $searchForm.find("select[name='statusOption']").val(), | 
|---|
|  |  |  | isTest: $searchForm.find("select[name='isTest']").val(), | 
|---|
|  |  |  | isInside: $searchForm.find("select[name='isInsideOption']").val() | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | } | 
|---|