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
b2f6440c
authored
2018-03-28 21:15:07 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
b0608ab7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
application/views/perm/staffAdd.php
application/views/perm/staffAdd.php
View file @
b2f6440
...
...
@@ -97,7 +97,7 @@
// children:data['children']
// departmentId:data['children']
// };
console
.
log
(
JSON
.
stringify
(
newData
));
//
console.log(JSON.stringify(newData));
// return false;
$
.
ajax
({
type
:
'post'
,
...
...
@@ -107,7 +107,7 @@
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
)
{
console
.
log
(
data
);
//
console.log(data);
if
(
data
.
msg
)
{
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
)
{
...
...
@@ -116,10 +116,10 @@
layer
.
msg
(
'操作成功'
);
}
if
(
data
.
code
)
{
//
setTimeout(function () {
//
window.parent.reload();
//
layer_close();
//
}, 500);
setTimeout
(
function
()
{
window
.
parent
.
reload
();
layer_close
();
},
500
);
}
},
error
:
function
()
{
...
...
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