main
kgdxpr 2 years ago
parent 279b955c78
commit e61d1c1392

@ -180,20 +180,25 @@
return;
}
$.ajax({
type: "POST",
url: "/FengHuang/yp/save",
data: { "code": fields.vcode, "task_id": taskId, "name": fields.name, "xb": fields.xb, "sfzh": fields.sfzh, "bx_id": stageId, "address": fields.address, "father_name": fields.father_name, "mother_name": fields.mother_name, "tel": fields.tel, "uuid": imgId },
success: function (data) {
if (data.success) {
window.location = "./success.html";
} else {
layer.msg(data.message, {
icon: 2,
time: 3000
});
layer.confirm('您确定提交吗?提交后将无法进行修改,请确保所提交的内容准确无误!', {
icon: 3,
title: '提示'
}, function (index) {
$.ajax({
type: "POST",
url: "/FengHuang/yp/save",
data: { "code": fields.vcode, "task_id": taskId, "name": fields.name, "xb": fields.xb, "sfzh": fields.sfzh, "bx_id": stageId, "address": fields.address, "father_name": fields.father_name, "mother_name": fields.mother_name, "tel": fields.tel, "uuid": imgId },
success: function (data) {
if (data.success) {
window.location = "./success.html";
} else {
layer.msg(data.message, {
icon: 2,
time: 3000
});
}
}
}
});
});
}
else {

Loading…
Cancel
Save