| | |
| | | tableIns = febs.table.init({ |
| | | elem: $view.find('table'), |
| | | id: 'userTable', |
| | | url: ctx + 'order/getHoldList', |
| | | url: ctx + 'order/getReturnList', |
| | | cols: [[ |
| | | {type: 'checkbox'}, |
| | | {field: 'orderNo', title: '订单编号', minWidth: 150, align: 'center'}, |
| | | {field: 'symbol', title: '币种', minWidth: 100, align: 'center'}, |
| | | {field: 'returnSymbol', title: '币种', minWidth: 100, align: 'center'}, |
| | | {field: 'refererId', title: '上级UID', minWidth: 100, align: 'center'}, |
| | | {field: 'telphone', title: '联系方式', minWidth: 130, align: 'center'}, |
| | | {field: 'phone', title: '联系方式', minWidth: 130, align: 'center'}, |
| | | {field: 'email', title: '邮箱', minWidth: 100, align: 'center'}, |
| | | {title: '开仓类型', templet: '#open-type', minWidth: 100, align: 'center'}, |
| | | {field: 'leverRatio', title: '杠杆倍率', minWidth: 100, align: 'center'}, |
| | | {field: 'openingPrice', title: '开仓均价', minWidth: 120, align: 'center'}, |
| | | {field: 'symbolCnt', title: '持仓数', minWidth: 100, align: 'center'}, |
| | | {field: 'symbolCntSale', title: '可平数', minWidth: 100, align: 'center'}, |
| | | {field: 'forceClosingPrice', title: '预估强平价', minWidth: 130, align: 'center'}, |
| | | {field: 'bondAmount', title: '保证金', minWidth: 130, align: 'center'}, |
| | | {field: 'createTime', title: '开仓时间', minWidth: 160, align: 'center'}, |
| | | {field: 'loseOrProfit', title: '盈亏', minWidth: 140, align: 'center', fixed : "right"}, |
| | | {field: 'returnRatio', title: '回报率', minWidth: 140, align: 'center', fixed : "right"}, |
| | | {field: 'orderType', title: '订单类型', minWidth: 100, align: 'center'}, |
| | | {field: 'returnSymbol', title: '返佣币种', minWidth: 120, align: 'center'}, |
| | | {field: 'createTime', title: '返佣时间', minWidth: 100, align: 'center'}, |
| | | {field: 'closingType', title: '类型', minWidth: 100, align: 'center'}, |
| | | {field: 'closingFeeAmount', title: '平仓手续费', minWidth: 130, align: 'center'}, |
| | | {field: 'holdingFeeAmount', title: '持仓手续费', minWidth: 130, align: 'center'}, |
| | | {field: 'openingFeeAmount', title: '开仓手续费', minWidth: 160, align: 'center'}, |
| | | {field: 'returnAmount', title: '返佣佣金', minWidth: 140, align: 'center', fixed : "right"}, |
| | | ]] |
| | | }); |
| | | } |