Commit 66916e43 66916e439fa6516b43bfc5ae92d1bcd20dc9a206 by zhanghao

commit

1 parent 0b60db22
......@@ -6,6 +6,7 @@
:data="baseReports"
border
style="width: 100%"
:cell-class-name="tcSuccessClassName"
:header-cell-style="{background: 'deepskyblue', color: 'snow'}">
<el-table-column
prop="method"
......@@ -96,6 +97,13 @@
return 'success-row';
}
},
tcSuccessClassName({row, column, rowIndex, columnIndex}) {
if(columnIndex == 2) {
if (row.tcSuccess == 0) {
return 'pass-row';
}
}
},
activity() {
const loading = this.$loading({
lock: true,
......