main
kgdxpr 2 years ago
parent bc873bf1b0
commit 85ee349ea7

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

@ -206,19 +206,30 @@
//监听提交 //监听提交
form.on('submit(demo1)', function (data) { form.on('submit(demo1)', function (data) {
var json = render.getFormData(); var json = render.getFormData();
console.log(json); $.ajax({
layer.msg(JSON.stringify(json), { icon: 6 }); url: '/QingLong/collect/saveFormJob',
/*$.ajax({ type: 'post',
url:"/activiti-manager/addActivitiManagera", data: {
type:"POST", "job_id": jobId,
data:temp, "json": JSON.stringify(json)
contentType:"application/json", },
dataType: "json", success: function (result) {
success:function(res){ if (result.success) {
alert(res.message); layer.msg("保存成功!", {
icon: 1,
time: 1000
}, function () {
parent.layer.close(parent.layer.getFrameIndex(window.name));
});
} else {
layer.msg(result.message, {
icon: 2,
time: 2000
});
}
} }
});*/ });
return false; return false;
}); });

Loading…
Cancel
Save