Browse Source

[完善] 预案赋能车辆完善

master
陈鹏飞 4 years ago
parent
commit
b074137648
  1. 18
      src/app/ui/plan-assistance/plan-assistance.component.html
  2. 6
      src/app/ui/plan-assistance/plan-assistance.component.ts

18
src/app/ui/plan-assistance/plan-assistance.component.html

@ -6,7 +6,7 @@
<div class="left">
<div class="header leftHeader" style="overflow: hidden;">到场力量</div>
<div class="list">
<div class="tableDiv">
<div class="tableDiv" *ngIf="carData.length">
<div class="tableRows" *ngFor="let item of carData;let key = index" (click)='selectCar(item)' [ngClass]="{selectIcon: selectCarID == item.Id}">
<div class="rowLeftContent">
<p style="flex: 60%;" class="contentText" title="{{item.Name}}">{{item.Name}}</p>
@ -20,7 +20,21 @@
</label>
</div> -->
</div>
<div *ngIf="!carData.length" style="text-align: center; color: #fff;margin: 10px 0;">暂无车辆信息</div>
</div>
<div class="tableDiv" *ngIf="!carData.length">
<div class="tableRows" *ngFor="let item of allCarsData;let key = index" (click)='selectCar(item)' [ngClass]="{selectIcon: selectCarID == item.Id}">
<div class="rowLeftContent">
<p style="flex: 60%;" class="contentText" title="{{item.Name}}">{{item.Name}}</p>
<p style="flex: 40%" class="contentText" title="{{item.FireTeamName}}">{{item.FireTeamName}}</p>
</div>
<div class="countdown" style="color: #5EFFED;">已到场</div>
<!-- <div class="countdown" style="color: #5EFFED;" *ngIf="item.ReachTime < 1">已到场</div>
<div class="countdown" *ngIf="item.ReachTime > 0">
<label [ngClass]="{smallFive: item.ReachTime<=300,bigTen: item.ReachTime>300}">
<countdown #key [config]="{leftTime: item.ReachTime,notify: [299],format: 'm:ss'}" (event)="handleEvent($event,item)"></countdown>
</label>
</div> -->
</div>
</div>
</div>
</div>

6
src/app/ui/plan-assistance/plan-assistance.component.ts

@ -7575,7 +7575,11 @@ export class PlanAssistanceComponent implements OnInit, AfterViewInit {
this.workingArea.ShowCarIcon(element)
}
});
}
} else {
this.allCarsData.forEach(item => {
this.workingArea.ShowCarIcon(item)
});
}
}
//车辆 匹配素材 图片

Loading…
Cancel
Save