个人设置添加值机,登机,保障的颜色设置
This commit is contained in:
@@ -52,7 +52,7 @@ export class MainComponent implements OnInit {
|
||||
if (event.urlAfterRedirects != '/app/main') {
|
||||
if (this.websocketService.websocket.readyState === 1) {
|
||||
this.websocketService.websocket.close();
|
||||
if(this.websocketService.websocketHeartBeat){
|
||||
if (this.websocketService.websocketHeartBeat) {
|
||||
this.websocketService.clearIntervalHandle();
|
||||
}
|
||||
}
|
||||
@@ -1244,6 +1244,10 @@ export class MainComponent implements OnInit {
|
||||
'SODT': this.cellColorHandle.sodt.bind(this.cellColorHandle),
|
||||
'PADT': this.cellColorHandle.padt.bind(this.cellColorHandle),
|
||||
'PSST': this.cellColorHandle.psst.bind(this.cellColorHandle),
|
||||
'COTM': this.cellColorHandle.cotm.bind(this.cellColorHandle),
|
||||
'CCTM': this.cellColorHandle.cctm.bind(this.cellColorHandle),
|
||||
'BOTM': this.cellColorHandle.botm.bind(this.cellColorHandle),
|
||||
'GCTM': this.cellColorHandle.gctm.bind(this.cellColorHandle),
|
||||
}
|
||||
getColor(col_CODE, flight, col_WIDTH) {
|
||||
let index = this.airline_color.findIndex(color => color['COL_CODE'] === col_CODE)
|
||||
|
||||
Reference in New Issue
Block a user