fa850470 by yangjianbin

init

1 parent 4c65c9a8
......@@ -51,10 +51,10 @@
function submit() {
layer.confirm('确认要提交尽调?', {
btn: ['是','否'],
btn: ['是', '否'],
title: '确认',
icon: 3
}, function(){
}, function () {
var targetUrl = 'dueDiligence';
var data = $("form1").serializeJson();
$.ajax({
......@@ -73,17 +73,18 @@
layer.alert('操作成功');
}
setTimeout(function () {
if(!data.code) {
if (!data.code) {
table.fnDraw();
layer_close();
}
},500);
}, 500);
},
error: function () {
layer.alert("操作失败")
}
})
})
}
</script>
</body>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!