提交代码

pull/1/head
胡锐 3 years ago
parent 929b9e8f7d
commit 698e4d2738
  1. 8
      src/app/admin/tuanyou-agent/petrol-station-manage/petrol-station-manage.ts

@ -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);
}
}

Loading…
Cancel
Save