该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
以下有地方不知道怎么写,在线等,会标注出来
//删除
function gotoDel(flag) {
var flagg = false;
var ids = "";
$("[name='ids']").each(function() {
if ($(this).prop("checked")) {
flagg = true;
ids += $(this).val() + ",";
}
});
if (ids != "") {
ids = ids.substring(0, ids.length - 1);
}
if (!flagg && flag == 'mult') {
window.parent.customAlertTip("", "您没有选择要删除的信息,请选择!", "warning");
return;
}
if (flag == 'mult') {
window.parent.customAlertQuery("", "是否删除选中信息?", "warning", "确定", "取消", "delConfirm('mult','" + ids + "')", "delCancel()");
} else {
window.parent.customAlertQuery("", "是否删除选中信息?", "warning", "确定", "取消", "delConfirm(" + flag + ",'')", "delCancel()");
};
}
//取消
function delCancel() {
$("#wrapper input").each(function() {
this.checked = false;
});
return;
}
//确定删除
function delConfirm(flag, ids) {
if (flag == 'mult') {
flag = ids;
}
$.ajax({
type:"post",
url:"${ctx}/syslog/dellog.do",
dataType:"json",
data:{
logid:$("input[name='logid']").val()
},
success:function (deldata) {
此处怎么写!!!!!!!!!!!!!!!!!!!!!!!
window.parent.customAlertTip("", "删除成功!", "success");
}
});
}