| | |
| | | public msgSrv: NzMessageService, |
| | | private modalHelper: ModalHelper, |
| | | private router: Router, |
| | | private sensorsService:SensorsService, |
| | | private alarmConfigService:AlarmConfigService, |
| | | private sensorsService: SensorsService, |
| | | private alarmConfigService: AlarmConfigService, |
| | | ) {} |
| | | |
| | | ngOnInit() { |
| | |
| | | this.grid.loading = true; |
| | | }, 1); |
| | | zip( |
| | | this.sensorsService.getPagingList({pageIndex:0,pageSize:0}, null), |
| | | this.sensorsService.getPagingList({pageIndex: 0, pageSize: 0}, null), |
| | | this.alarmConfigService.getByOid( row.id ) |
| | | ).subscribe(([pageBean, resultBean]) => { |
| | | console.log(pageBean); |
| | | this.grid.loading = false; |
| | | this.organizationService.handle = 'config' ; |
| | | this.organizationService.data = row; |
| | | this.organizationService.config = {pageBean,resultBean}; |
| | | this.organizationService.config = {pageBean, resultBean}; |
| | | this.organizationService.title = '组织配置'; |
| | | }); |
| | | } |