Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
web-monitor
Commits
f6e312f7
Commit
f6e312f7
authored
Jan 29, 2022
by
renhanxue
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_rhx' into 'dev'
Dev rhx See merge request
!10
parents
3f2a9c22
47843f01
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
7 deletions
+21
-7
index.scss
src/styles/index.scss
+0
-6
index.vue
src/views/user/userList/index.vue
+21
-1
No files found.
src/styles/index.scss
View file @
f6e312f7
...
...
@@ -13,12 +13,6 @@ body {
font-family
:
Helvetica
Neue
,
Helvetica
,
PingFang
SC
,
Hiragino
Sans
GB
,
Microsoft
YaHei
,
Arial
,
sans-serif
;
}
.jbs-table-header
{
background-color
:
#eaf1fe
!
important
;
color
:
#000
;
font-size
:
16px
;
font-weight
:
400
;
}
label
{
font-weight
:
700
;
...
...
src/views/user/userList/index.vue
View file @
f6e312f7
...
...
@@ -8,7 +8,14 @@
<el-button
type=
"primary"
>
添加新用户
</el-button>
</el-col>
</el-row>
<el-table
v-loading=
"loading"
class=
"jbs-table"
:data=
"tableData"
border
style=
"width: 100%"
header-cell-class-name=
"jbs-table-header"
>
<el-table
v-loading=
"loading"
:data=
"tableData"
class=
"statistics-table"
style=
"width: 100%"
:row-class-name=
"tableRowClassName"
:header-cell-style=
"
{background:'#eaf1fe',color:'#000', fontWeight: 700, height: '50px'}"
>
<el-table-column
type=
"index"
label=
"用户编号"
align=
"center"
width=
"100"
/>
<el-table-column
prop=
"name"
label=
"用户名"
align=
"center"
/>
<el-table-column
prop=
"realName"
label=
"真实姓名"
align=
"center"
/>
...
...
@@ -87,6 +94,9 @@ export default {
}
},
methods
:
{
tableRowClassName
({
row
,
rowIndex
})
{
return
rowIndex
%
2
===
0
?
''
:
'single-row'
},
handlePageChange
(
pageData
)
{
this
.
searchForm
.
pageSize
=
pageData
.
size
this
.
searchForm
.
pageNum
=
pageData
.
page
...
...
@@ -109,3 +119,13 @@ export default {
margin
:
20px
0
;
}
</
style
>
<
style
lang=
"scss"
>
.statistics-table
{
.single-row
{
background
:
#f1f6ff
;
}
td
{
padding
:
5px
!
important
;
}
}
</
style
>
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