提交代码

dev
胡锐 1 year ago
parent 94cee27e1c
commit c392dbeb6d
  1. 24
      src/app/admin/gas-class-group/gas-class-group-task/gas-class-group-task.component.ts

@ -85,17 +85,19 @@ export class GasClassGroupTaskComponent implements OnInit {
*
*/
requestData(pageNum) {
this.tableLoading = true;
this.whereObject['pageNum'] = pageNum;
this.whereObject['pageSize'] = 10;
this.gasClassGroupTaskService.getClassGroupTaskList(this.whereObject, data => {
if (data['return_code'] === '000000') {
this.dataObject = data['return_data'];
} else {
this.modal.error(data['return_msg']);
}
this.tableLoading = false;
});
if (pageNum != null) {
this.tableLoading = true;
this.whereObject['pageNum'] = pageNum;
this.whereObject['pageSize'] = 10;
this.gasClassGroupTaskService.getClassGroupTaskList(this.whereObject, data => {
if (data['return_code'] === '000000') {
this.dataObject = data['return_data'];
} else {
this.modal.error(data['return_msg']);
}
this.tableLoading = false;
});
}
}
/**

Loading…
Cancel
Save