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
bd6ce38d
Commit
bd6ce38d
authored
Jun 05, 2017
by
naan1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除用户增加提示
parent
71141591
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
src/main/webapp/static/modular/system/user/user.js
+14
-9
No files found.
src/main/webapp/static/modular/system/user/user.js
View file @
bd6ce38d
...
@@ -98,15 +98,20 @@ MgrUser.roleAssign = function () {
...
@@ -98,15 +98,20 @@ MgrUser.roleAssign = function () {
*/
*/
MgrUser
.
delMgrUser
=
function
()
{
MgrUser
.
delMgrUser
=
function
()
{
if
(
this
.
check
())
{
if
(
this
.
check
())
{
var
userId
=
this
.
seItem
.
id
;
var
ajax
=
new
$ax
(
Feng
.
ctxPath
+
"/mgr/delete"
,
function
(
data
)
{
var
operation
=
function
(){
Feng
.
success
(
"删除成功!"
);
var
userId
=
MgrUser
.
seItem
.
id
;
MgrUser
.
table
.
refresh
();
var
ajax
=
new
$ax
(
Feng
.
ctxPath
+
"/mgr/delete"
,
function
()
{
},
function
(
data
)
{
Feng
.
success
(
"删除成功!"
);
Feng
.
error
(
"删除失败!"
+
data
.
responseJSON
.
message
+
"!"
);
MgrUser
.
table
.
refresh
();
});
},
function
(
data
)
{
ajax
.
set
(
"userId"
,
userId
);
Feng
.
error
(
"删除失败!"
+
data
.
responseJSON
.
message
+
"!"
);
ajax
.
start
();
});
ajax
.
set
(
"userId"
,
userId
);
ajax
.
start
();
};
Feng
.
confirm
(
"是否删除用户"
+
MgrUser
.
seItem
.
account
+
"?"
,
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