Commit 27c933dd authored by wangqinghua's avatar wangqinghua

update

parent e2e98fca
...@@ -322,7 +322,7 @@ ...@@ -322,7 +322,7 @@
</ng-container> </ng-container>
<ng-container *ngIf="searchStatus"> <ng-container *ngIf="searchStatus">
<ng-container *ngFor="let item of searchData"> <ng-container *ngFor="let item of nzTable.data">
<tr> <tr>
<td nzShowCheckbox [nzIndeterminate]="indeterminate" (nzCheckedChange)="selectChecked($event,item)" <td nzShowCheckbox [nzIndeterminate]="indeterminate" (nzCheckedChange)="selectChecked($event,item)"
[(nzChecked)]="item.checked"></td> [(nzChecked)]="item.checked"></td>
......
...@@ -142,7 +142,6 @@ export class BasicComponent implements OnInit { ...@@ -142,7 +142,6 @@ export class BasicComponent implements OnInit {
search(status) { search(status) {
this.loading = true; this.loading = true;
this.searchStatus = true; this.searchStatus = true;
this.frontPagination = false;
const data = { const data = {
search: { search: {
status: status, status: status,
...@@ -152,7 +151,7 @@ export class BasicComponent implements OnInit { ...@@ -152,7 +151,7 @@ export class BasicComponent implements OnInit {
this.overAllSer.find(data).subscribe( this.overAllSer.find(data).subscribe(
(res) => { (res) => {
if (res.errCode == 10000) { if (res.errCode == 10000) {
this.searchData = res.data; this.dataSet = res.data;
} }
this.loading = false; this.loading = false;
} }
...@@ -162,7 +161,6 @@ export class BasicComponent implements OnInit { ...@@ -162,7 +161,6 @@ export class BasicComponent implements OnInit {
//backList //backList
backList() { backList() {
this.searchStatus = false; this.searchStatus = false;
this.frontPagination = true;
} }
//查询设备状态 //查询设备状态
...@@ -235,7 +233,6 @@ export class BasicComponent implements OnInit { ...@@ -235,7 +233,6 @@ export class BasicComponent implements OnInit {
select() { select() {
this.loading = true; this.loading = true;
this.searchStatus = false; this.searchStatus = false;
this.frontPagination = true;
this.findOpStatus(); this.findOpStatus();
if (this.selectedValue == 'group') { if (this.selectedValue == 'group') {
this.overAllSer.getgroups({}).subscribe( this.overAllSer.getgroups({}).subscribe(
......
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