From 0c5e857ca2d6f54888ec5127a216c597303b1464 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 7 Jul 2020 11:47:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E4=B8=9A=E7=BB=A9=E6=8F=90?= =?UTF-8?q?=E6=88=90bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/MarketPercentage/showbonuslist.html | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Application/Admin/View/MarketPercentage/showbonuslist.html b/Application/Admin/View/MarketPercentage/showbonuslist.html index 741305c5d..d0c1d63e1 100644 --- a/Application/Admin/View/MarketPercentage/showbonuslist.html +++ b/Application/Admin/View/MarketPercentage/showbonuslist.html @@ -323,6 +323,31 @@ pickerPosition:'bottom-left' }) + $('.recaculate').click(function(){ + var url = $(this).attr('url'); + layer.confirm('是否确认重算提成!', { + title:'重算提成?', + icon:0, + btn: ['重算','取消'] //按钮 + }, function(){ + $.ajax({ + type: "POST", + url: url, + dataType: 'json', + async: false, + success:function(data){ + layer.msg("重新计算需要时间,请等待5分钟后再查看"); + setTimeout(function(){ + window.location.reload(); + },1500); + }, + }); + }, function(){ + layer.close(); + }); + + }); + })