|
|
|
@ -468,7 +468,15 @@
|
|
|
|
|
if (promoteIds.length == 0) {
|
|
|
|
|
return layer.msg('请选择要添加该游戏的人员')
|
|
|
|
|
}
|
|
|
|
|
batchApplyGame(boxGameId, promoteIds)
|
|
|
|
|
batchApplyGame(boxGameId, promoteIds, function(response) {
|
|
|
|
|
if (response.status == 1) {
|
|
|
|
|
layer.msg(response.message, {time: 1000}, function() {
|
|
|
|
|
window.location.href = window.location.href
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
layer.msg(response.message, {icon: 2, time: 1500});
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
@ -613,7 +621,7 @@
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function(response) {
|
|
|
|
|
layer.msg(response.msg, {time: 1000}, function() {
|
|
|
|
|
window.location.href = window.location.href
|
|
|
|
|
window.location.href = window.location.href
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|