|
@@ -210,6 +210,12 @@ const rowClassName = ({row, rowIndex}) => {
|
|
|
return 'parent_level'
|
|
|
}
|
|
|
|
|
|
+ //判断行颜色 可以自己定义在家
|
|
|
+ const classList = [];
|
|
|
+ if(data.zxCount > 0){
|
|
|
+ classList.push('row-normal');
|
|
|
+ }
|
|
|
+ return classList.join(' ');
|
|
|
}
|
|
|
|
|
|
const setDefaultStopTime = async (val) => {
|
|
@@ -514,5 +520,7 @@ yzMitt.on('getTableRef', () => tableRef.value)
|
|
|
background-color: rgba(3, 255, 15);
|
|
|
color: black;
|
|
|
}
|
|
|
-
|
|
|
+.row-normal {
|
|
|
+ background-color: #f6ffed;
|
|
|
+}
|
|
|
</style>
|