大铁ctc调整 进路序列表状态调整

This commit is contained in:
fan 2022-06-17 13:22:34 +08:00
parent 3843c01f40
commit cb86c8477b

View File

@ -220,19 +220,12 @@ export default {
}
},
tableRowClassName({row, rowIndex}) {
// if (status === '2') {
// return '';
// } else if (status === '1') {
// return '';
// } else {
// return '';
// }
if (row.status === 0) {
if (row.status === '0') {
return 'bottom-table-route-wait';
} else if (row.tripNumber) {
return 'bottom-table-route-gray';
} else {
return 'bottom-table-route-green';
} else {
return 'bottom-table-route-gray';
}
},
getRouteName(code) {
@ -288,12 +281,12 @@ export default {
background: #FFF3EE;
}
.bottom-table-route-wait {
background: #ff0;
background: #ff0 !important;
}
.bottom-table-route-gray{
background: #4c4c4c;
background: #c0c0c0 !important;
}
.bottom-table-route-green{
background: #0f0;
background: #0f0 !important;
}
</style>