|
|
@ -1,21 +1,26 @@ |
|
|
|
<div class="content"> |
|
|
|
<div class="content"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<header><label class="headerCenter">总平面图</label></header> |
|
|
|
|
|
|
|
<div class="bottomCenter"> |
|
|
|
<!-- [ngClass]="{closeLeft: !rightIsShow,openLeft: rightIsShow}" --> |
|
|
|
<!-- [ngClass]="{closeLeft: !rightIsShow,openLeft: rightIsShow}" --> |
|
|
|
<div class="left"> |
|
|
|
<div class="left"> |
|
|
|
<div class="header leftHeader" style="overflow: hidden;">到场力量</div> |
|
|
|
<div class="header leftHeader" style="overflow: hidden;">到场力量</div> |
|
|
|
<div class="list"> |
|
|
|
<div class="list"> |
|
|
|
<div class="tableDiv"> |
|
|
|
<div class="tableDiv"> |
|
|
|
<div class="tableRows" *ngFor="let item of allCarsData;let key = index" (click)='selectCar(item)' [ngClass]="{selectIcon: selectCarID == item.Id}"> |
|
|
|
<div class="tableRows" *ngFor="let item of carData;let key = index" (click)='selectCar(item)' [ngClass]="{selectIcon: selectCarID == item.Id}"> |
|
|
|
<div style="flex: 60%;display: flex;flex-direction: column;justify-content: center;align-items: center;"> |
|
|
|
<div class="rowLeftContent"> |
|
|
|
<p style="flex: 60%;font-size: 16px;font-weight: 550;" class="contentText">{{item.Name}}</p> |
|
|
|
<p style="flex: 60%;" class="contentText" title="{{item.Name}}">{{item.Name}}</p> |
|
|
|
<p style="flex: 40%" class="contentText">{{item.FireTeamName}}</p> |
|
|
|
<p style="flex: 40%" class="contentText" title="{{item.FireTeamName}}">{{item.FireTeamName}}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="countdown" style="color: #37f76D;" *ngIf="item.ReachTime < 1">已到场</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"> |
|
|
|
<div class="countdown" *ngIf="item.ReachTime > 0"> |
|
|
|
<label [ngClass]="{smallFive: item.ReachTime<=300,bigTen: item.ReachTime>300}"> |
|
|
|
<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> |
|
|
|
<countdown #key [config]="{leftTime: item.ReachTime,notify: [299],format: 'm:ss'}" (event)="handleEvent($event,item)"></countdown> |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
|
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div *ngIf="!carData.length" style="text-align: center; color: #fff;margin: 10px 0;">暂无车辆信息</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -23,13 +28,19 @@ |
|
|
|
<!-- canvas --> |
|
|
|
<!-- canvas --> |
|
|
|
<div class="center" id="center"> |
|
|
|
<div class="center" id="center"> |
|
|
|
<div class="header" style="position: relative;"> |
|
|
|
<div class="header" style="position: relative;"> |
|
|
|
<div class="title">总平面图</div> |
|
|
|
<div class="title title2">楼层/区域</div> |
|
|
|
|
|
|
|
<div class="title">厂区总平面图</div> |
|
|
|
|
|
|
|
<!-- <div class="draw"> |
|
|
|
|
|
|
|
<label title="开始绘制" (click)='plot(0)'></label> |
|
|
|
|
|
|
|
<label title="开始绘制" (click)='plot(1)'></label> |
|
|
|
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
<div style="float: right;width: 150px;height: 100%;position: relative;"> |
|
|
|
<div class="draw"> |
|
|
|
<div class="draw"> |
|
|
|
<label title="开始绘制" (click)='plot(0)'></label> |
|
|
|
<label title="开始绘制" (click)='plot(0)'></label> |
|
|
|
<label title="开始绘制" (click)='plot(1)'></label> |
|
|
|
<label title="开始绘制" (click)='plot(1)'></label> |
|
|
|
|
|
|
|
<label title="语音" (click)='toggleSay()'></label> |
|
|
|
|
|
|
|
<!-- <mat-icon style="color: #fff;font-size: 32px;width: 32px;height: 32px;" (click)='toggleSay()'>volume_up</mat-icon> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="float: right;width: 66px;height: 100%;line-height: 40px;text-align: center;position: relative;"> |
|
|
|
|
|
|
|
<mat-icon style="color: #fff;font-size: 32px;width: 32px;height: 32px;" (click)='toggleSay()'>volume_up</mat-icon> |
|
|
|
|
|
|
|
<div class="rightSpeak" *ngIf="rightSayIsShow"> |
|
|
|
<div class="rightSpeak" *ngIf="rightSayIsShow"> |
|
|
|
<div style="flex: 1;"> |
|
|
|
<div style="flex: 1;"> |
|
|
|
<div class="iconButton" style="background-color: #fe9400;">冷却</div> |
|
|
|
<div class="iconButton" style="background-color: #fe9400;">冷却</div> |
|
|
@ -47,12 +58,12 @@ |
|
|
|
<div class="canvas"> |
|
|
|
<div class="canvas"> |
|
|
|
<!-- 底部车辆信息 --> |
|
|
|
<!-- 底部车辆信息 --> |
|
|
|
<div class="bottomWork" *ngIf="bottomIsShow"> |
|
|
|
<div class="bottomWork" *ngIf="bottomIsShow"> |
|
|
|
<div style="flex: 30%;line-height: 30px;width: 120px;color: #fff;text-align: center;"> |
|
|
|
<div style="flex: 30%;line-height: 30px;width: 120px;color: #fff;text-align: center; background-color: #4D9FFE; border-radius: 5px;font-size: 14px;"> |
|
|
|
<label>车辆属性 <mat-icon (click)="closeBottom()">highlight_off</mat-icon></label> |
|
|
|
<label>注意事项 <mat-icon (click)="closeBottom()">highlight_off</mat-icon></label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="flex: 70%;display: flex;"> |
|
|
|
<div style="flex: 70%;display: flex;"> |
|
|
|
<div style="flex: 90%;"> |
|
|
|
<div style="flex: 90%;"> |
|
|
|
<div class="publicRow" style="box-sizing: border-box;border-bottom: 1px solid #30bbec;color: #f7ae4a; font-weight: 550;"> |
|
|
|
<div class="publicRow" style="box-sizing: border-box;border-bottom: 1px solid #30bbec;color: #4D9FFE;font-size: 14px;"> |
|
|
|
<p>载水量</p> |
|
|
|
<p>载水量</p> |
|
|
|
<p>载泡沫</p> |
|
|
|
<p>载泡沫</p> |
|
|
|
<p>载人数</p> |
|
|
|
<p>载人数</p> |
|
|
@ -62,25 +73,23 @@ |
|
|
|
<p>水源占用</p> |
|
|
|
<p>水源占用</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="publicRow" style="color: #fff;font-size: 12px;"> |
|
|
|
<div class="publicRow" style="color: #fff;font-size: 12px;"> |
|
|
|
<p>{{canvasData.selectCar.WaterYield}}</p> |
|
|
|
<p>{{canvasData.selectCar.WaterYield ? canvasData.selectCar.WaterYield : '0t'}}</p> |
|
|
|
<p>{{canvasData.selectCar.Foam}}</p> |
|
|
|
<p>{{canvasData.selectCar.Foam ? canvasData.selectCar.Foam : '0t'}}</p> |
|
|
|
<p>{{canvasData.selectCar.PeopleNum}}</p> |
|
|
|
<p>{{canvasData.selectCar.PeopleNum ? canvasData.selectCar.PeopleNum : '0'}}</p> |
|
|
|
<p>{{canvasData.selectCar.Tonnage}}</p> |
|
|
|
<p>{{canvasData.selectCar.Tonnage ? canvasData.selectCar.Tonnage : '0t'}}</p> |
|
|
|
<p> |
|
|
|
<p>{{canvasData.selectCar.Assignment ? canvasData.selectCar.Assignment : '无'}}</p> |
|
|
|
<input type="text" class="taskInput" [(ngModel)]="canvasData.selectCar.Assignment"> |
|
|
|
<p title="{{canvasData.selectCar.LinkCar}}">{{canvasData.selectCar.LinkCar.length ? canvasData.selectCar.LinkCar : '无'}}</p> |
|
|
|
</p> |
|
|
|
<p title="{{canvasData.selectCar.WaterOccupy}}">{{canvasData.selectCar.WaterOccupy.length ? canvasData.selectCar.WaterOccupy : '无'}}</p> |
|
|
|
<p title="{{canvasData.selectCar.LinkCar}}">{{canvasData.selectCar.LinkCar}}</p> |
|
|
|
|
|
|
|
<p title="{{canvasData.selectCar.WaterOccupy}}">{{canvasData.selectCar.WaterOccupy}}</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="flex: 10%;text-align: center;line-height: 70px;"> |
|
|
|
<div style="flex: 10%;text-align: center;"> |
|
|
|
<button mat-button>发送</button> |
|
|
|
<img src="../../../assets/images/send.png" style="width: 60px; height: 60px;margin-top: 5px;"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 底部车辆信息 --> |
|
|
|
<!-- 底部车辆信息 --> |
|
|
|
<!-- 右侧楼层区域 --> |
|
|
|
<!-- 右侧楼层区域 --> |
|
|
|
<div class="showRightStorey" *ngIf="!rightIsShow" title="打开楼层/区域"><mat-icon (click)='openRight()'>keyboard_arrow_left</mat-icon></div> |
|
|
|
<!-- <div class="showRightStorey" *ngIf="!rightIsShow" title="打开楼层/区域"><mat-icon (click)='openRight()'>keyboard_arrow_left</mat-icon></div> |
|
|
|
<div class="rightStorey" [ngClass]="{closeRight: !rightIsShow,openRight: rightIsShow}"> |
|
|
|
<div class="rightStorey" [ngClass]="{closeRight: !rightIsShow,openRight: rightIsShow}"> |
|
|
|
<div style="flex: 10%;"> |
|
|
|
<div style="flex: 10%;"> |
|
|
|
<label><mat-icon (click)='closeRight()' title="关闭楼层/区域">keyboard_arrow_right</mat-icon> 楼层/区域</label> |
|
|
|
<label><mat-icon (click)='closeRight()' title="关闭楼层/区域">keyboard_arrow_right</mat-icon> 楼层/区域</label> |
|
|
@ -88,7 +97,7 @@ |
|
|
|
<div style="flex: 90%;border-top: 1px solid #30bbec;padding: 1px 0;"> |
|
|
|
<div style="flex: 90%;border-top: 1px solid #30bbec;padding: 1px 0;"> |
|
|
|
<div style="font-size: 14px;width: 100%;height: 35px;line-height: 35px;background-color: rgba(7,89,155,0.7);"><label>厂区总平面图</label></div> |
|
|
|
<div style="font-size: 14px;width: 100%;height: 35px;line-height: 35px;background-color: rgba(7,89,155,0.7);"><label>厂区总平面图</label></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<!-- 右侧楼层区域 --> |
|
|
|
<!-- 右侧楼层区域 --> |
|
|
|
<app-working-area #workingArea></app-working-area> |
|
|
|
<app-working-area #workingArea></app-working-area> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -96,3 +105,5 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- canvas --> |
|
|
|
<!-- canvas --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|