ea28f58a by yangjianbin

Merge branch 'develop' of http://g.28ms.com:8000/yangjianbin/page into develop

2 parents 397bb66a a868f77a
...@@ -81,7 +81,8 @@ ...@@ -81,7 +81,8 @@
81 var targetUrl = $("#add").attr("action"); 81 var targetUrl = $("#add").attr("action");
82 var data = $("#add").serializeJson(); 82 var data = $("#add").serializeJson();
83 var newData = {}; 83 var newData = {};
84 newData['HrVO'] = { 84 newData['hrInputVO'] = {
85 // newData['HrVO'] = {
85 name:data['name'], 86 name:data['name'],
86 username:data['username'], 87 username:data['username'],
87 telephone:data['phone'], 88 telephone:data['phone'],
...@@ -92,13 +93,12 @@ ...@@ -92,13 +93,12 @@
92 departmentId:data['children'] 93 departmentId:data['children']
93 }; 94 };
94 95
95
96 // newData['DepartmentVO'] = { 96 // newData['DepartmentVO'] = {
97 // children:data['children'] 97 // children:data['children']
98 // departmentId:data['children'] 98 // departmentId:data['children']
99 // }; 99 // };
100 console.log(JSON.stringify(newData)); 100 // console.log(JSON.stringify(newData));
101 return false; 101 // return false;
102 $.ajax({ 102 $.ajax({
103 type: 'post', 103 type: 'post',
104 url: apiBaseUrl + targetUrl, 104 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!