Commit 25d0352c authored by wangqinghua's avatar wangqinghua

update

parent 9fc847fa
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr *ngFor="let data of warnList"> <tr *ngFor="let data of nzTable.data">
<td> <td>
{{data.clock | date:"yyyy-MM-dd HH:mm:ss"}} {{data.clock | date:"yyyy-MM-dd HH:mm:ss"}}
</td> </td>
......
...@@ -560,6 +560,7 @@ export class HomeComponent implements OnInit,AfterViewInit { ...@@ -560,6 +560,7 @@ export class HomeComponent implements OnInit,AfterViewInit {
//获取告警分组 //获取告警分组
getAlarmList(){ getAlarmList(){
this.loading = true;
const data = { const data = {
pageNum: this.pageNum, pageNum: this.pageNum,
pageCount: this.pageCount, pageCount: this.pageCount,
...@@ -578,6 +579,7 @@ export class HomeComponent implements OnInit,AfterViewInit { ...@@ -578,6 +579,7 @@ export class HomeComponent implements OnInit,AfterViewInit {
}else{ }else{
this.message.error(res.errMsg); this.message.error(res.errMsg);
} }
this.loading = false;
} }
); );
} }
......
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