xufenglei
2018-04-03 b8b94e846dcde8680deff869ea65caee23c3bc89
src/app/routes/devices/devices.module.ts
@@ -26,7 +26,7 @@
import { CoordinatesPickerComponent } from 'app/routes/map/coordinates-picker/coordinates-picker.component';
import { MapModule } from 'app/routes/map/map.module';
import { CoorPickerService } from 'app/routes/map/coordinates-picker/coordinates-picker.service';
const COMPONENTS_NOROUNT = [AdjustConfigComponent,DeviceEditComponent,VersionEditComponent, MonitorPointEditComponent, VersionSensorConfigComponent  ];
const COMPONENTS_NOROUNT = [AdjustConfigComponent, DeviceEditComponent, VersionEditComponent, MonitorPointEditComponent, VersionSensorConfigComponent  ];
const routes: Routes = [
  {
@@ -54,9 +54,9 @@
    MonitorPointComponent,
        ...COMPONENTS_NOROUNT     
  ],
  providers: [CoorPickerService,DeviceAdjustValueService,OrganizationService, VersionService,
  providers: [CoorPickerService, DeviceAdjustValueService, OrganizationService, VersionService,
    SensorsService, AreacodeService, MonitorPointService,
    _HttpClient, FormBuilder,DeviceService,OperateUserService,ToolsService],
  entryComponents: [CoordinatesPickerComponent,...COMPONENTS_NOROUNT]
    _HttpClient, FormBuilder, DeviceService, OperateUserService, ToolsService],
  entryComponents: [CoordinatesPickerComponent, ...COMPONENTS_NOROUNT]
})
export class DevicesModule { }