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
d2786ad7
authored
2018-03-28 20:32:17 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add
1 parent
7f39807c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
application/views/perm/role.php
application/views/perm/staffAdd.php
application/views/perm/role.php
View file @
d2786ad
...
...
@@ -33,7 +33,7 @@
</div>
<div>
<input
class=
"btn btn-warning radius"
type=
"reset"
value=
"重置搜索"
>
<button
class=
"btn btn-primary radius"
type=
"button"
onclick=
"add()"
>
添加角色
</button
>
<!-- <button class="btn btn-primary radius" type="button" onclick="add()">添加角色</button>--
>
</div>
</form>
...
...
application/views/perm/staffAdd.php
View file @
d2786ad
...
...
@@ -91,7 +91,8 @@
newData
[
'DepartmentVO'
]
=
{
children
:
data
[
'children'
]
};
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