$(".editDeptList").click(function () {
var isDelete = confirm('你确定吗?');
var Type=1;
if (isDelete) {
var fileId = $(this).attr('');
$.ajax({
type: 'post',
url: '',
data: {
},
dataType: "json",
async: true,
success: function (result) {
if (result.State == 1) {
alert(result.Msg);
window.location.reload()
}
else {
alert(result.Msg);
}
},
error: function (msg) {
alert(msg);
}
});
}
});
confirm确定操作?
最新推荐文章于 2023-12-08 19:31:59 发布