Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
ce9c0aea
Commit
ce9c0aea
authored
Nov 10, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善角色分配页面
parent
0eec945c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/main/webapp/WEB-INF/system/user/user_roleassign.html
+3
-4
No files found.
src/main/webapp/WEB-INF/system/user/user_roleassign.html
View file @
ce9c0aea
...
@@ -72,16 +72,15 @@
...
@@ -72,16 +72,15 @@
$
(
"#saveButton"
).
bind
(
"click"
,
function
()
{
$
(
"#saveButton"
).
bind
(
"click"
,
function
()
{
var
ids
=
Feng
.
zTreeCheckedNodes
(
"zTree"
);
var
ids
=
Feng
.
zTreeCheckedNodes
(
"zTree"
);
var
ajax
=
new
$ax
(
Feng
.
ctxPath
+
"/mgr/setRole"
,
function
(
data
)
{
var
ajax
=
new
$ax
(
Feng
.
ctxPath
+
"/mgr/setRole"
,
function
(
data
)
{
Feng
.
success
(
"分配角色成功!"
);
parent
.
Feng
.
success
(
"分配角色成功!"
);
window
.
parent
.
MgrUser
.
table
.
refresh
();
window
.
parent
.
MgrUser
.
table
.
refresh
();
parent
.
layer
.
close
(
i
ndex
);
parent
.
layer
.
close
(
parent
.
MgrUser
.
layerI
ndex
);
},
function
(
data
)
{
},
function
(
data
)
{
Feng
.
error
(
"分配角色失败!"
+
data
.
responseJSON
.
message
+
"!"
);
parent
.
Feng
.
error
(
"分配角色失败!"
+
data
.
responseJSON
.
message
+
"!"
);
});
});
ajax
.
set
(
"roleIds"
,
ids
);
ajax
.
set
(
"roleIds"
,
ids
);
ajax
.
set
(
"userId"
,
"${userId}"
);
ajax
.
set
(
"userId"
,
"${userId}"
);
ajax
.
start
();
ajax
.
start
();
parent
.
layer
.
close
(
parent
.
MgrUser
.
layerIndex
);
});
});
$
(
"#closeButton"
).
bind
(
"click"
,
function
()
{
$
(
"#closeButton"
).
bind
(
"click"
,
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment