|
|
@ -27,6 +27,7 @@ export class OrderStatisticalComponent implements OnInit { |
|
|
|
ngOnInit(): void { |
|
|
|
ngOnInit(): void { |
|
|
|
this.searchForm = this.form.group({ |
|
|
|
this.searchForm = this.form.group({ |
|
|
|
finishTime: [null], |
|
|
|
finishTime: [null], |
|
|
|
|
|
|
|
status: ['3'], |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.getRequest(true, this.searchForm.value); |
|
|
|
this.getRequest(true, this.searchForm.value); |
|
|
|
} |
|
|
|
} |
|
|
@ -47,7 +48,6 @@ export class OrderStatisticalComponent implements OnInit { |
|
|
|
whereObject['pageNum'] = this.pageNum; |
|
|
|
whereObject['pageNum'] = this.pageNum; |
|
|
|
whereObject['pageSize'] = this.pageSize; |
|
|
|
whereObject['pageSize'] = this.pageSize; |
|
|
|
this.recharge.getOrderCountList(whereObject, data => { |
|
|
|
this.recharge.getOrderCountList(whereObject, data => { |
|
|
|
console.log(data); |
|
|
|
|
|
|
|
if (data['return_code'] === '000000') { |
|
|
|
if (data['return_code'] === '000000') { |
|
|
|
this.requestData = data['return_data'].list; |
|
|
|
this.requestData = data['return_data'].list; |
|
|
|
this.total = data['return_data'].total; |
|
|
|
this.total = data['return_data'].total; |
|
|
|