master
chenxiaojun 5 years ago
commit 5930642f8b

@ -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(){

Loading…
Cancel
Save