|
@@ -872,9 +872,13 @@ import { number } from 'echarts';
|
|
|
},
|
|
|
// 亏损标红
|
|
|
setRowClassName(record, index){
|
|
|
+ console.log(record)
|
|
|
if(record.lrl < 0){
|
|
|
return 'table-kuisun-color'
|
|
|
}
|
|
|
+ if(record.status === '1'){
|
|
|
+ return 'table-zupi-color'
|
|
|
+ }
|
|
|
},
|
|
|
//列设置更改事件
|
|
|
onColSettingsChange (checkedValues) {
|
|
@@ -1187,4 +1191,8 @@ import { number } from 'echarts';
|
|
|
color: red !important;
|
|
|
/* user-select: 'none'; */
|
|
|
}
|
|
|
+ .table-zupi-color{
|
|
|
+ color: #b3b2b2 !important;
|
|
|
+ /* user-select: 'none'; */
|
|
|
+ }
|
|
|
</style>
|