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
8e50f7dc
Commit
8e50f7dc
authored
Dec 05, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
点击item也可以修改条目
parent
f8b5f289
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
src/main/webapp/assets/modular/system/user/user.js
+12
-3
No files found.
src/main/webapp/assets/modular/system/user/user.js
View file @
8e50f7dc
...
...
@@ -24,7 +24,11 @@ MgrUser.initColumn = function () {
}
},
{
title
:
'id'
,
field
:
'id'
,
visible
:
false
,
align
:
'center'
,
valign
:
'middle'
},
{
title
:
'账号'
,
field
:
'account'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
},
{
title
:
'账号'
,
field
:
'account'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
,
formatter
:
function
(
value
,
row
,
index
)
{
return
'<a href="javascript:void(0);" onclick="MgrUser.openChangeUser(
\'
'
+
row
.
id
+
'
\'
)"">'
+
value
+
'</a>'
}
},
{
title
:
'姓名'
,
field
:
'name'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
},
{
title
:
'性别'
,
field
:
'sexName'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
},
{
title
:
'角色'
,
field
:
'roleName'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
},
...
...
@@ -76,15 +80,20 @@ MgrUser.openAddMgr = function () {
/**
* 点击修改按钮时
*/
MgrUser
.
openChangeUser
=
function
()
{
MgrUser
.
openChangeUser
=
function
(
userId
)
{
if
(
this
.
check
())
{
var
selectId
=
userId
;
if
(
!
userId
)
{
selectId
=
this
.
seItem
.
id
;
}
this
.
layerIndex
=
layer
.
open
({
type
:
2
,
title
:
'编辑管理员'
,
area
:
[
'800px'
,
'500px'
],
fix
:
false
,
maxmin
:
true
,
content
:
Feng
.
ctxPath
+
'/mgr/user_edit?userId='
+
this
.
seItem
.
i
d
content
:
Feng
.
ctxPath
+
'/mgr/user_edit?userId='
+
selectI
d
});
}
};
...
...
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