会长提现--更新

master
chenxiaojun 5 years ago
parent e884214546
commit a12c3ecf9e

@ -405,13 +405,14 @@
btn: ['提交', '取消'], btn: ['提交', '取消'],
}, function (index) { }, function (index) {
layer.close(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({ $.ajax({
type: 'post', type: 'post',
url: '{:U("settlementWithdraw")}', url: '{:U("settlementWithdraw")}',
dataType: 'json', dataType: 'json',
data: {'begin_time': beginTime, 'end_time': endTime, 'promote_id': promoteId}, data: {'begin_time': beginTime, 'end_time': endTime, 'promote_id': promoteId},
success: function (data) { success: function (data) {
layer.closeAll('loading');
if (data.status == 1) { if (data.status == 1) {
layer.msg(data.msg, {icon: 1}); layer.msg(data.msg, {icon: 1});
setTimeout(function(){ setTimeout(function(){
@ -458,13 +459,16 @@
layer.confirm(msg, { layer.confirm(msg, {
title: '提示', title: '提示',
btn: ['确定', '取消'], btn: ['确定', '取消'],
}, function () { }, function (index) {
layer.close(index);
layer.load(0, {shade: [0.7, '#393D49'], time: 10 * 1000}, {shadeClose: true});
$.ajax({ $.ajax({
type: 'post', type: 'post',
url: '{:U("cancelWithdraw")}', url: '{:U("cancelWithdraw")}',
dataType: 'json', dataType: 'json',
data: {id:id}, data: {id:id},
success: function (data) { success: function (data) {
layer.closeAll('loading');
if (data.status == 1) { if (data.status == 1) {
layer.msg(data.msg, {icon: 1}); layer.msg(data.msg, {icon: 1});
setTimeout(function(){ setTimeout(function(){

Loading…
Cancel
Save