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
8d836ecb
Commit
8d836ecb
authored
Jun 05, 2017
by
naan1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刪除角色增加提示
parent
bd6ce38d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/main/webapp/static/modular/system/role/role.js
+7
-2
No files found.
src/main/webapp/static/modular/system/role/role.js
View file @
8d836ecb
...
@@ -74,14 +74,19 @@ Role.openChangeRole = function () {
...
@@ -74,14 +74,19 @@ Role.openChangeRole = function () {
*/
*/
Role
.
delRole
=
function
()
{
Role
.
delRole
=
function
()
{
if
(
this
.
check
())
{
if
(
this
.
check
())
{
var
ajax
=
new
$ax
(
Feng
.
ctxPath
+
"/role/remove"
,
function
(
data
)
{
var
operation
=
function
(){
var
ajax
=
new
$ax
(
Feng
.
ctxPath
+
"/role/remove"
,
function
()
{
Feng
.
success
(
"删除成功!"
);
Feng
.
success
(
"删除成功!"
);
Role
.
table
.
refresh
();
Role
.
table
.
refresh
();
},
function
(
data
)
{
},
function
(
data
)
{
Feng
.
error
(
"删除失败!"
+
data
.
responseJSON
.
message
+
"!"
);
Feng
.
error
(
"删除失败!"
+
data
.
responseJSON
.
message
+
"!"
);
});
});
ajax
.
set
(
"roleId"
,
this
.
seItem
.
id
);
ajax
.
set
(
"roleId"
,
Role
.
seItem
.
id
);
ajax
.
start
();
ajax
.
start
();
};
Feng
.
confirm
(
"是否删除角色 "
+
Role
.
seItem
.
name
+
"?"
,
operation
);
}
}
};
};
...
...
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