Merge branch 'feature/market_percentage' of wmtx/platform into release

市场业绩提成bug修改
master
廖金灵 4 years ago committed by Gogs
commit c008157b0a

@ -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();
});
});
})

Loading…
Cancel
Save