|
|
|
@ -46,6 +46,7 @@ export class OrderHListComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
this.init(); |
|
|
|
|
console.log(typeof this.store.get(ADMIN_INFO_OBJECT)['bsCompany'].id); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -75,6 +76,10 @@ export class OrderHListComponent implements OnInit { |
|
|
|
|
if (this.store.get(ADMIN_INFO_OBJECT)['highAgent'] != null) { |
|
|
|
|
whereObject['code'] = this.store.get(ADMIN_INFO_OBJECT)['highAgent'].id; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (this.store.get(ADMIN_INFO_OBJECT)['bsCompany'].id === 3) { |
|
|
|
|
whereObject['code'] = 60; |
|
|
|
|
} |
|
|
|
|
if (whereObject['payTime'] != null && whereObject['payTime'].length !== 0) { |
|
|
|
|
whereObject['payTimeS'] = whereObject['payTime'][0].getTime(); |
|
|
|
|
whereObject['payTimeE'] = whereObject['payTime'][1].getTime(); |
|
|
|
|