From a12c3ecf9e6a4ce95ef6559269d1ae59f410edd0 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Tue, 31 Dec 2019 15:05:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E9=95=BF=E6=8F=90=E7=8E=B0--=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/Query/settlement.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Application/Admin/View/Query/settlement.html b/Application/Admin/View/Query/settlement.html index e704735ff..13e7b913b 100644 --- a/Application/Admin/View/Query/settlement.html +++ b/Application/Admin/View/Query/settlement.html @@ -405,13 +405,14 @@ btn: ['提交', '取消'], }, function (index) { layer.close(index); - layer.load(0, {shade: [0.7, '#393D49']}, {shadeClose: true}); + layer.load(0, {shade: [0.7, '#393D49'], time: 10 * 1000}, {shadeClose: true}); $.ajax({ type: 'post', url: '{:U("settlementWithdraw")}', dataType: 'json', data: {'begin_time': beginTime, 'end_time': endTime, 'promote_id': promoteId}, success: function (data) { + layer.closeAll('loading'); if (data.status == 1) { layer.msg(data.msg, {icon: 1}); setTimeout(function(){ @@ -458,13 +459,16 @@ layer.confirm(msg, { title: '提示', btn: ['确定', '取消'], - }, function () { + }, function (index) { + layer.close(index); + layer.load(0, {shade: [0.7, '#393D49'], time: 10 * 1000}, {shadeClose: true}); $.ajax({ type: 'post', url: '{:U("cancelWithdraw")}', dataType: 'json', data: {id:id}, success: function (data) { + layer.closeAll('loading'); if (data.status == 1) { layer.msg(data.msg, {icon: 1}); setTimeout(function(){