function delRevokeOrderfunc(){
···
// Modal 上对应的 Action
$.post(··· , function (data) {
console.log(data)
if(data=='error_null'){
alert("对象删除失败!!");
return;
}else if(data=='success') {
return;
}else if(data=='service_error'){
alert("操作失败!");
return;
}
});
$('#onDelModalId').on('hide.bs.modal',function(){
// 当前页 url
// 当前页面对应 Action
var urla ='···';
openNewTab({
url: urla,
tabName: '预订跟踪',
callback: function () {
}
});
});
$('#onDelModalId').modal('hide');
}
···
// Modal 上对应的 Action
$.post(··· , function (data) {
console.log(data)
if(data=='error_null'){
alert("对象删除失败!!");
return;
}else if(data=='success') {
return;
}else if(data=='service_error'){
alert("操作失败!");
return;
}
});
$('#onDelModalId').on('hide.bs.modal',function(){
// 当前页 url
// 当前页面对应 Action
var urla ='···';
openNewTab({
url: urla,
tabName: '预订跟踪',
callback: function () {
}
});
});
$('#onDelModalId').modal('hide');
}