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) {
var json = render.getFormData();
console.log(json);
layer.msg(JSON.stringify(json), { icon: 6 });
/*$.ajax({
url:"/activiti-manager/addActivitiManagera",
type:"POST",
data:temp,
contentType:"application/json",
dataType: "json",
success:function(res){
alert(res.message);
var json = render.getFormData();
$.ajax({
url: '/QingLong/collect/saveFormJob',
type: 'post',
data: {
"job_id": jobId,
"json": JSON.stringify(json)
},
success: function (result) {
if (result.success) {
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;
});

Loading…
Cancel
Save