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
27c30d27
Commit
27c30d27
authored
Dec 04, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bootstrap-table的padding改为6px
parent
70da0ecb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
src/main/webapp/assets/common/plugins/bootstrap-table/bootstrap-table.min.css
+0
-0
src/main/webapp/assets/modular/system/user/user.js
+8
-3
No files found.
src/main/webapp/assets/common/plugins/bootstrap-table/bootstrap-table.min.css
View file @
27c30d27
This diff is collapsed.
Click to expand it.
src/main/webapp/assets/modular/system/user/user.js
View file @
27c30d27
...
@@ -18,6 +18,11 @@ var MgrUser = {
...
@@ -18,6 +18,11 @@ var MgrUser = {
MgrUser
.
initColumn
=
function
()
{
MgrUser
.
initColumn
=
function
()
{
return
[
return
[
{
field
:
'selectItem'
,
radio
:
true
},
{
field
:
'selectItem'
,
radio
:
true
},
{
title
:
'序号'
,
field
:
'number'
,
width
:
1
,
align
:
'center'
,
valign
:
'middle'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
index
;
}
},
{
title
:
'id'
,
field
:
'id'
,
visible
:
false
,
align
:
'center'
,
valign
:
'middle'
},
{
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
},
{
title
:
'姓名'
,
field
:
'name'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
},
{
title
:
'姓名'
,
field
:
'name'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
},
...
@@ -30,11 +35,11 @@ MgrUser.initColumn = function () {
...
@@ -30,11 +35,11 @@ MgrUser.initColumn = function () {
{
{
title
:
'状态'
,
field
:
'status'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
,
formatter
:
function
(
value
,
row
,
index
)
{
title
:
'状态'
,
field
:
'status'
,
align
:
'center'
,
valign
:
'middle'
,
sortable
:
true
,
formatter
:
function
(
value
,
row
,
index
)
{
if
(
value
===
1
)
{
if
(
value
===
1
)
{
return
'<button type="button" class="btn btn-
sm
btn-success">启用</button>'
;
return
'<button type="button" class="btn btn-
xs
btn-success">启用</button>'
;
}
else
if
(
value
===
2
)
{
}
else
if
(
value
===
2
)
{
return
'<button type="button" class="btn btn-
sm
btn-warning">冻结</button>'
;
return
'<button type="button" class="btn btn-
xs
btn-warning">冻结</button>'
;
}
else
if
(
value
===
3
)
{
}
else
if
(
value
===
3
)
{
return
'<button type="button" class="btn btn-
sm
btn-danger">删除</button>'
;
return
'<button type="button" class="btn btn-
xs
btn-danger">删除</button>'
;
}
}
}
}
}];
}];
...
...
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