|
|
@ -7512,6 +7512,7 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
carData = [] //科达 车辆数据
|
|
|
|
carData = [] //科达 车辆数据
|
|
|
|
|
|
|
|
isFirst:boolean = false; //是否第一次加载
|
|
|
|
//科达对接 车辆数据处理
|
|
|
|
//科达对接 车辆数据处理
|
|
|
|
carDataKeDa (e) { |
|
|
|
carDataKeDa (e) { |
|
|
|
// console.log('iframe子页面接收数据',e.data)
|
|
|
|
// console.log('iframe子页面接收数据',e.data)
|
|
|
@ -7576,9 +7577,12 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.allCarsData.forEach(item => { |
|
|
|
if (!this.isFirst) { |
|
|
|
this.workingArea.ShowCarIcon(item) |
|
|
|
this.isFirst = true |
|
|
|
}); |
|
|
|
this.allCarsData.forEach(item => { |
|
|
|
|
|
|
|
this.workingArea.ShowCarIcon(item) |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|