| | |
| | | } |
| | | |
| | | if (layEvent === 'seeFollowerInfo') { |
| | | febs.modal.open('总利润详情', 'modules/documentary/seeFollowerInfo/' + data.id, { |
| | | febs.modal.open('跟随者详情', 'modules/documentary/seeFollowerInfo/' + data.id, { |
| | | area: $(window).width() <= 750 ? '90%' : '80%', |
| | | offset: '30px', |
| | | btn: ['取消'], |
| | | btn2: function () { |
| | | layer.closeAll(); |
| | | }, |
| | | cancel: function(){ |
| | | var index=parent.layer.getFrameIndex(window.name); //获取当前窗口的name |
| | | parent.layer.close(index);//关闭当前窗口 |
| | | window.parent.location.reload();//刷新 |
| | | } |
| | | }); |
| | | $query.click(); |
| | |
| | | layer.closeAll(); |
| | | } |
| | | }); |
| | | $query.click(); |
| | | } |
| | | if (layEvent === 'getOut') { |
| | | febs.modal.confirm('确认', '您是否要踢出该交易员?', function () { |
| | |
| | | {field: 'profitRatioTotal', title: '总返利润', minWidth: 80,align:'center'}, |
| | | {title: '利润详情', |
| | | templet: function (d) { |
| | | return '<button lay-event="seeFollowerInfo" shiro:hasPermission="user:update">查看</button>' |
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="seeFollowerInfo" shiro:hasPermission="user:update">查看</button>' |
| | | }, minWidth: 100,align:'center'}, |
| | | {field: 'totalProfitRatio', title: '累计收益率', minWidth: 80,align:'center'}, |
| | | {field: 'totalProfit', title: '带单总收益', minWidth: 80,align:'center'}, |