|
|
|
@ -72,7 +72,9 @@ export class AnalysisOfTheHostComponent implements OnInit {
|
|
|
|
|
getHost() { |
|
|
|
|
this.http.get('/api/services/app/EdgeDevice/GetAll', { |
|
|
|
|
params: { |
|
|
|
|
organizationUnitId: this.selectedOilStation.id |
|
|
|
|
organizationUnitId: this.selectedOilStation.id, |
|
|
|
|
SkipCount: '0', |
|
|
|
|
MaxResultCount: '100', |
|
|
|
|
} |
|
|
|
|
}).subscribe((data: any) => { |
|
|
|
|
console.log('主机列表', data.result.items) |
|
|
|
@ -86,10 +88,12 @@ export class AnalysisOfTheHostComponent implements OnInit {
|
|
|
|
|
getCamera() { |
|
|
|
|
this.http.get('/api/services/app/Camera/GetAll', { |
|
|
|
|
params: { |
|
|
|
|
organizationUnitId: this.selectedOilStation.id |
|
|
|
|
organizationUnitId: this.selectedOilStation.id, |
|
|
|
|
SkipCount: '0', |
|
|
|
|
MaxResultCount: '100', |
|
|
|
|
} |
|
|
|
|
}).subscribe((data: any) => { |
|
|
|
|
console.log('摄像头列表', data) |
|
|
|
|
// console.log('摄像头列表', data)
|
|
|
|
|
this.listOfDataCamera = data.result.items |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|