Browse Source

[新增]增加识别程序状态

非煤矿业企业安全风险监测预警系统
邵佳豪 2 years ago
parent
commit
ce8da5ac11
  1. 5
      src/app/system-management/condition-monitoring/condition-monitoring.component.html
  2. 5
      src/app/system-management/status-monitoring/status-monitoring.component.html

5
src/app/system-management/condition-monitoring/condition-monitoring.component.html

@ -72,6 +72,7 @@
<th>ip地址</th>
<th>所属油站</th>
<th>设备状态</th>
<th>识别程序状态</th>
<th>识别程序更新状态</th>
<!-- <th>识别程序更新状态开始时间</th>
<th>识别程序更新状态结束时间</th> -->
@ -102,6 +103,10 @@
</td>
<!-- 识别程序 -->
<td>
<span style="color: red;" *ngIf="data.appState == 'Dead'">已停止</span>
<span style="color: rgb(52, 204, 52);" *ngIf="data.appState == 'Alive'">运行中</span>
</td>
<td>
<p>
<span *ngIf="data.appUpdatingState == 'Never'">未更新</span>

5
src/app/system-management/status-monitoring/status-monitoring.component.html

@ -68,6 +68,7 @@
<th>ip地址</th>
<th>所属油站</th>
<th>设备状态</th>
<th>识别程序状态</th>
</tr>
</thead>
<tbody>
@ -84,6 +85,10 @@
<span style="color: rgb(52, 204, 52);">在线</span>
</ng-template>
</td>
<td>
<span style="color: red;" *ngIf="data.appState == 'Dead'">已停止</span>
<span style="color: rgb(52, 204, 52);" *ngIf="data.appState == 'Alive'">运行中</span>
</td>
</tr>
</tbody>
</nz-table>

Loading…
Cancel
Save