提交代码

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) { requestData(pageNum) {
this.tableLoading = true; if (pageNum != null) {
this.whereObject['pageNum'] = pageNum; this.tableLoading = true;
this.whereObject['pageSize'] = 10; this.whereObject['pageNum'] = pageNum;
this.gasClassGroupTaskService.getClassGroupTaskList(this.whereObject, data => { this.whereObject['pageSize'] = 10;
if (data['return_code'] === '000000') { this.gasClassGroupTaskService.getClassGroupTaskList(this.whereObject, data => {
this.dataObject = data['return_data']; if (data['return_code'] === '000000') {
} else { this.dataObject = data['return_data'];
this.modal.error(data['return_msg']); } else {
} this.modal.error(data['return_msg']);
this.tableLoading = false; }
}); this.tableLoading = false;
});
}
} }
/** /**

Loading…
Cancel
Save