Commit eca8de8b authored by wangqinghua's avatar wangqinghua

网站监控 翻页问题

parent 9f49b6ed
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
</div> </div>
</div> </div>
<nz-table #nzTable [nzData]="dataSet" [nzLoading]="loading" [nzTotal]="totalNum" [nzPageIndex]="pageIndex" <nz-table #nzTable [nzData]="dataSet" [nzLoading]="loading" [nzTotal]="totalNum" [nzPageIndex]="pageIndex"
[nzPageSize]="pageSize" (nzPageIndexChange)="getwebList()" [nzFrontPagination]="false"> [nzPageSize]="pageSize" (nzPageIndexChange)="change($event)" [nzFrontPagination]="false">
<thead> <thead>
<tr> <tr>
<th [nzChecked]="allChecked"></th> <th [nzChecked]="allChecked"></th>
...@@ -124,4 +124,4 @@ ...@@ -124,4 +124,4 @@
<smart-pause #smartPause (done)="getwebList()"></smart-pause> <smart-pause #smartPause (done)="getwebList()"></smart-pause>
<!--告警--> <!--告警-->
<smart-alarm-modal #smartAlarmModal></smart-alarm-modal> <smart-alarm-modal #smartAlarmModal></smart-alarm-modal>
\ No newline at end of file
...@@ -55,6 +55,11 @@ export class NetworkCheckComponent implements OnInit { ...@@ -55,6 +55,11 @@ export class NetworkCheckComponent implements OnInit {
this.getCheckStatus(); this.getCheckStatus();
} }
change(e){
this.pageIndex = e;
this.getwebList();
}
//网站列表 //网站列表
getwebList() { getwebList() {
this.loading = true; this.loading = true;
......
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