|
|
@ -61,7 +61,7 @@ |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<!-- <th [nzChecked]="checked" [nzIndeterminate]="indeterminate" (nzCheckedChange)="onAllChecked($event)"> |
|
|
|
<!-- <th [nzChecked]="checked" [nzIndeterminate]="indeterminate" (nzCheckedChange)="onAllChecked($event)"> |
|
|
|
</th> --> |
|
|
|
</th> --> |
|
|
|
<th>IP</th> |
|
|
|
<!-- <th>IP</th> --> |
|
|
|
<th>所属油站</th> |
|
|
|
<th>所属油站</th> |
|
|
|
<th>设备状态</th> |
|
|
|
<th>设备状态</th> |
|
|
|
<th>报告时间</th> |
|
|
|
<th>报告时间</th> |
|
|
@ -73,7 +73,7 @@ |
|
|
|
<tr *ngFor="let data of basicTable.data"> |
|
|
|
<tr *ngFor="let data of basicTable.data"> |
|
|
|
<!-- <td [nzChecked]="setOfCheckedId.has(data.id)" [nzDisabled]="data.disabled" |
|
|
|
<!-- <td [nzChecked]="setOfCheckedId.has(data.id)" [nzDisabled]="data.disabled" |
|
|
|
(nzCheckedChange)="onItemChecked(data.id, $event)"></td> --> |
|
|
|
(nzCheckedChange)="onItemChecked(data.id, $event)"></td> --> |
|
|
|
<td>{{ data.hostIPAddress }}</td> |
|
|
|
<!-- <td>{{ data.hostIPAddress }}</td> --> |
|
|
|
<td>{{ data.gasStationName }}</td> |
|
|
|
<td>{{ data.gasStationName }}</td> |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<ng-container *ngIf="data.hubConnectionState == 'Disconnected'; else elseTemplate"> |
|
|
|
<ng-container *ngIf="data.hubConnectionState == 'Disconnected'; else elseTemplate"> |
|
|
@ -83,9 +83,27 @@ |
|
|
|
<span style="color: rgb(52, 204, 52);">在线</span> |
|
|
|
<span style="color: rgb(52, 204, 52);">在线</span> |
|
|
|
</ng-template> |
|
|
|
</ng-template> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td>报告时间</td> |
|
|
|
<td> |
|
|
|
<td>详情</td> |
|
|
|
<p> |
|
|
|
<td>处置</td> |
|
|
|
开始时间:{{data.beginTime ? (data.beginTime | date:"yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
|
|
:'/'}} |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
<p> |
|
|
|
|
|
|
|
结束时间:{{data.endTime ? (data.endTime | date:"yyyy-MM-dd HH:mm:ss") :'/'}} |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<span class="blue" (click)="showModal()">详情</span> |
|
|
|
|
|
|
|
<nz-modal [(nzVisible)]="isVisible" nzTitle="详情" (nzOnCancel)="handleCancel()" |
|
|
|
|
|
|
|
(nzOnOk)="handleOk()"> |
|
|
|
|
|
|
|
<ng-container *nzModalContent> |
|
|
|
|
|
|
|
{{data.detail}} |
|
|
|
|
|
|
|
</ng-container> |
|
|
|
|
|
|
|
</nz-modal> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<span class="blue" (click)="dispose(data)">处置</span> |
|
|
|
|
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|
</nz-table> |
|
|
|
</nz-table> |
|
|
|