b4fb1994 by wang

init

1 parent 794970e5
......@@ -81,7 +81,8 @@
var targetUrl = $("#add").attr("action");
var data = $("#add").serializeJson();
var newData = {};
newData['HrVO'] = {
newData['hrInputVO'] = {
// newData['HrVO'] = {
name:data['name'],
username:data['username'],
telephone:data['phone'],
......@@ -97,8 +98,8 @@
// children:data['children']
// departmentId:data['children']
// };
console.log(JSON.stringify(newData));
return false;
// console.log(JSON.stringify(newData));
// return false;
$.ajax({
type: 'post',
url: apiBaseUrl + targetUrl,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!