大铁ctc调整 进路序列表状态调整
This commit is contained in:
parent
3843c01f40
commit
cb86c8477b
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user