|
|
|
@ -29,9 +29,8 @@ export class PetrolStationManageComponent implements OnInit { |
|
|
|
|
tableLoading = true; |
|
|
|
|
searchForm: FormGroup; |
|
|
|
|
pageNum: number; |
|
|
|
|
whereObject: any = { |
|
|
|
|
pageSize: 10 |
|
|
|
|
}; |
|
|
|
|
pageSize = 10; |
|
|
|
|
whereObject: any = {}; |
|
|
|
|
|
|
|
|
|
allChecked = false; |
|
|
|
|
checkedData = []; |
|
|
|
@ -124,6 +123,7 @@ export class PetrolStationManageComponent implements OnInit { |
|
|
|
|
requestData(pageNum) { |
|
|
|
|
this.tableLoading = true; |
|
|
|
|
this.whereObject['pageNum'] = pageNum; |
|
|
|
|
this.whereObject['pageSize'] = this.pageSize; |
|
|
|
|
this.tyAgentOilStationService.getOilStationList(this.whereObject, data => { |
|
|
|
|
if (data['return_code'] === '000000') { |
|
|
|
|
this.dataObject = data['return_data']; |
|
|
|
@ -888,7 +888,7 @@ export class PetrolStationManageComponent implements OnInit { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pageSizeChange(pageSize: number) { |
|
|
|
|
this.whereObject.pageSize = pageSize; |
|
|
|
|
this.pageSize = pageSize; |
|
|
|
|
this.requestData(1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|