Commit 9c9c954b authored by wangqinghua's avatar wangqinghua

单位

parent 9fa16e7b
......@@ -154,14 +154,14 @@
<nz-table #checkTable [nzData]="checkList" [nzFrontPagination]="false" [nzTotal]="totalNum" [nzPageIndex]="pageIndex" [nzPageSize]="pageSize" (nzPageIndexChange)="change($event)" [nzLoading]="loading">
<thead>
<tr>
<th nzWidth="15%">监测点名称</th>
<th nzWidth="20%">监测点名称</th>
<th nzWidth="10%">最新数据</th>
<th nzWidth="15%">最新数据时间</th>
<th nzWidth="10%">监测点分类</th>
<th nzWidth="10%">更新时间间隔</th>
<th nzWidth="5%">图表</th>
<th nzWidth="15%">状态</th>
<th nzWidth="10%">信息</th>
<th nzWidth="5%">信息</th>
</tr>
</thead>
<tbody>
......@@ -200,7 +200,13 @@
<span *ngIf="data.status == 1 && data.state==0" (click)="updateItem(data.itemid,0)" style="color: red" >停止</span>
<span *ngIf="data.status == 1 && data.state==1" (click)="updateItem(data.itemid,0)" style="color: green">停止</span>
</td>
<td>{{data.error}}</td>
<td>
<ng-container *ngIf="data.error">
<nz-tooltip [nzMouseLeaveDelay]="10000" [nzTitle]="data.error" [nzPlacement]="'bottom'">
<span class="color-red" nz-tooltip><i class="anticon anticon-warning"></i></span>
</nz-tooltip>
</ng-container>
</td>
</tr>
</tbody>
</nz-table>
......
......@@ -36,6 +36,11 @@ import {ThresholdComponent} from '../../../modal/threshold/threshold.component';
:host ::ng-deep .tabs-smart .ant-tabs-nav-scroll div.ant-tabs-tab:nth-child(3){
margin-right: 180px !important;
}
:host ::ng-deep .ant-tooltip-inner{
background-color: #fff;
border: 1px solid #ddd;
color: red;
}
`
]
})
......
......@@ -319,4 +319,12 @@ ui bootstrap tweaks
top: 0;
width: 100%;
}
.ant-tooltip-inner{
background-color: #fff;
border: 1px solid #ddd;
color: red;
}
.ant-tooltip-placement-bottom .ant-tooltip-arrow{
border-bottom-color:#dddddd;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment