Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
br-client
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
79f107ec
...
79f107ec95686439d0f58b2ef5f6bcd5e0dffb7a
authored
2022-02-21 13:47:44 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
0611df45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
src/page/bigdataReport.vue
src/page/bigdataReport.vue
View file @
79f107e
...
...
@@ -30,7 +30,7 @@
:data=
"bigdataReports"
border
style=
"width: 100%"
:
row-class-name=
"tableRow
ClassName"
:
cell-class-name=
"tableCell
ClassName"
:header-cell-style=
"
{background: 'deepskyblue', color: 'snow'}">
<el-table-column
prop=
"method"
...
...
@@ -85,6 +85,17 @@
}
return
'success-row'
;
},
tableCellClassName
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
columnIndex
==
2
)
{
if
(
row
.
tcFail
>
0
)
{
return
'warning-row'
;
}
if
(
row
.
tcFail
==
0
&&
row
.
tcSuccess
==
0
)
{
return
'pass-row'
;
}
return
'success-row'
;
}
},
activity
()
{
const
loading
=
this
.
$loading
({
lock
:
true
,
...
...
Please
register
or
sign in
to post a comment