Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ea28f58a
authored
2018-03-28 21:05:41 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://g.28ms.com:8000/yangjianbin/page
into develop
2 parents
397bb66a
a868f77a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
application/views/perm/staffAdd.php
application/views/perm/staffAdd.php
View file @
ea28f58
...
...
@@ -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
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment