| | |
| | | }); |
| | | |
| | | function initTable() { |
| | | var type = $searchForm.find('input[name="type"]').val().trim(), |
| | | var type = $searchForm.find('input[name="type"]').val().trim(); |
| | | tableIns = febs.table.init({ |
| | | elem: $view.find('table'), |
| | | id: 'teamListTable', |
| | | url: ctx + 'admin/mallMember/teamList?referrerId=' + refererId + "&type=" + type, |
| | | where : getQueryParams, |
| | | cols: [[ |
| | | {field: 'name', title: '会员名称', minWidth: 100}, |
| | | {field: 'phone', title: '会员账号', minWidth: 100}, |
| | | {field: 'directCnt', title: '直推人数', templet:"#directCntTemplate", minWidth: 100}, |
| | | {field: 'teamCnt', title: '团队人数', templet:"#teamCntTemplate", minWidth: 100}, |
| | | {field: 'selfProfitAmount', title: '会员收益', templet:"#selfMoneyFlow", minWidth: 100}, |
| | | // {field: 'selfProfitAmount', title: '会员收益', templet:"#selfMoneyFlow", minWidth: 100}, |
| | | {field: 'teamOrderAmount', title: '团队订单金额', minWidth: 100}, |
| | | {field: 'teamProfitAmount', title: '团队收益', templet:"#teamMoneyFlow", minWidth: 100}, |
| | | // {field: 'teamProfitAmount', title: '团队收益', templet:"#teamMoneyFlow", minWidth: 100}, |
| | | ]] |
| | | }); |
| | | } |