From 0830a387f0c28c2d448714ad184fd0c17bf27ea9 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 25 May 2021 10:30:50 +0800 Subject: [PATCH] 20210525 回款 --- src/main/resources/templates/febs/views/modules/documentary/traderProfit.html | 8 ++++++-- 1 files changed, 6 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 b37e91e..aa7f12d 100644 --- a/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html +++ b/src/main/resources/templates/febs/views/modules/documentary/traderProfit.html @@ -79,10 +79,13 @@ febs.modal.open('跟随者详情', 'modules/documentary/seeFollowerInfo/' + data.id, { area: $(window).width() <= 750 ? '90%' : '80%', offset: '30px', - btn: ['取消'], btn2: function () { layer.closeAll(); - $query.click(); + }, + cancel: function(){ + var index=parent.layer.getFrameIndex(window.name); //获取当前窗口的name + parent.layer.close(index);//关闭当前窗口 + window.parent.location.reload();//刷新 } }); $query.click(); @@ -97,6 +100,7 @@ layer.closeAll(); } }); + $query.click(); } if (layEvent === 'getOut') { febs.modal.confirm('确认', '您是否要踢出该交易员?', function () { -- Gitblit v1.9.1