abp.message.confirm("XXXX?", "", function (result) {
if (result) {
abp.ajax({
url: abp.appPath + "XXXAdmin/Delete/" + customerId,
type: "POST"
}).done(function (resp) {
if (resp.success) {
abp.message.success("删除成功", "ok").done(function (){
window.location.href = window.location.href;
});
}
else {
abp.message.error(resp.message);
}
})
}
})