From b7202456508af8a387a01fc99c2f554859fc4f19 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 14 May 2021 19:30:29 +0800 Subject: [PATCH] Merge branch 'yunding' of http://120.27.238.55:7000/r/exchange-back into yunding --- src/main/resources/templates/febs/views/modules/documentary/traderProfit.html | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html b/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html index dceaa29..aa7f12d 100644 --- a/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html +++ b/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html @@ -76,12 +76,16 @@ } 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(); @@ -96,6 +100,7 @@ layer.closeAll(); } }); + $query.click(); } if (layEvent === 'getOut') { febs.modal.confirm('确认', '您是否要踢出该交易员?', function () { -- Gitblit v1.9.1