$.confirm("确认删除", "确定删除所选服务么?", function() {
ajaxgrid.delCheckedRecords();
var gridData = ajaxgrid.collectData(true, "update");
var dataArr = [];
dataArr.push(gridData);
$.request({
action : "del",
data : dataArr,
success : function(response) {
ajaxgrid.setData(response.getAjaxDataWrap("dataWrap"));
ajaxgrid.reset();
}
});
}, function(){ $.alert('提示信息',"你选择取消了");},500,500)