ea28f58a by yangjianbin

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

2 parents 397bb66a a868f77a
......@@ -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'],
......@@ -92,13 +93,12 @@
departmentId:data['children']
};
// newData['DepartmentVO'] = {
// 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!