| | |
| | | elem: $view.find('table'), |
| | | id: 'memberTable', |
| | | url: ctx + 'member/list', |
| | | totalRow: true ,// 开启合计行 |
| | | cols: [[ |
| | | // {type: 'checkbox'}, |
| | | // {type: 'numbers'}, |
| | | {field: 'address', title: '地址', minWidth: 400}, |
| | | {field: 'address', title: '地址', minWidth: 400, totalRowText: '合计:'}, |
| | | // {title: '余额(USDT)', templet: '#balance', minWidth: 120}, |
| | | // {title: '授权列表', templet: '#approve-list', minWidth: 110}, |
| | | {field: 'chainType', title: '所属链', minWidth: 130}, |
| | | {field: 'totalAmount', title: '总金额', minWidth: 80}, |
| | | {field: 'availableAmount', title: '可用金额', minWidth: 80}, |
| | | {field: 'frozenAmount', title: '冻结金额', minWidth: 80}, |
| | | // {field: 'chainType', title: '所属链', minWidth: 130}, |
| | | {field: 'totalAmount', title: '总金额', minWidth: 80,totalRow: '{{= parseInt(d.totalAmount) }}'}, |
| | | {field: 'availableAmount', title: '可用金额', minWidth: 80,totalRow: '{{= parseInt(d.availableAmount) }}'}, |
| | | // {field: 'frozenAmount', title: '冻结金额', minWidth: 80}, |
| | | {field: 'inviteId', title: '邀请码', minWidth: 100}, |
| | | {field: 'refererId', title: '上级邀请码', minWidth: 100}, |
| | | {field: 'buyNode', title: '节点数量', minWidth: 100,totalRow: '{{= parseInt(d.buyNode) }}'}, |
| | | {title: '账户状态', templet: '#user-status', minWidth: 100}, |
| | | // {title: '是否可兑换', templet: '#change-able', minWidth: 100}, |
| | | {title: '是否可提现', templet: '#withdraw-able', minWidth: 100}, |
| | | // {title: '是否可提现', templet: '#withdraw-able', minWidth: 100}, |
| | | {field: 'createTime', title: '创建时间', minWidth: 180}, |
| | | {title: '操作', toolbar: '#member-option', minWidth: 300} |
| | | // {title: '操作', toolbar: '#member-option', minWidth: 300} |
| | | ]] |
| | | }); |
| | | } |