Browse Source

[完善]增加获取列表数量参数

dev
邵佳豪 3 years ago
parent
commit
968ed49fd4
  1. 10
      src/app/system-management/analysis-of-the-host/analysis-of-the-host.component.ts

10
src/app/system-management/analysis-of-the-host/analysis-of-the-host.component.ts

@ -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
})
}

Loading…
Cancel
Save