个人设置添加值机,登机,保障的颜色设置

This commit is contained in:
zhouyuejun
2019-03-27 15:16:22 +08:00
parent 766724b1c2
commit 44d7bec291
3 changed files with 56 additions and 2 deletions
+5 -1
View File
@@ -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)