fengxiang
2018-07-23 cc523dbe2dc5d3d72d8f82c9748f7fb5ccf87eb5
src/app/routes/operation/operation.module.ts
@@ -27,10 +27,8 @@
import { NzTreeModule } from 'ng-tree-antd';
import { NgxEchartsModule } from 'ngx-echarts';
import { DeviceMaintenanceComponent } from './device-maintenance/device-maintenance.component';
import { DevicesModule } from '../devices/devices.module';
const COMPONENTS_NOROUNT = [];
const COMPONENTS_IMPORT = [AdjustConfigComponent, DeviceEditComponent,
  VersionEditComponent, MonitorPointEditComponent,
  VersionSensorConfigComponent ];
  const routes: Routes = [
    {
@@ -52,17 +50,18 @@
    CommonModule,
    SharedModule,
    MapModule,
    RouterModule.forChild(routes)
    RouterModule.forChild(routes),
    DevicesModule
  ],
  declarations: [
    DataAuditComponent,
    DeviceStatusComponent,
    DeviceMaintenanceComponent,
        ...COMPONENTS_NOROUNT
        ...COMPONENTS_NOROUNT
  ],
  providers: [CoorPickerService, DeviceAdjustValueService, OrganizationService, VersionService, 
    SensorsService, AreacodeService, MonitorPointService,
    _HttpClient, FormBuilder, DeviceService, OperateUserService, ToolsService],
  entryComponents: [...COMPONENTS_NOROUNT,...COMPONENTS_IMPORT]
  entryComponents: [...COMPONENTS_NOROUNT]
})
export class OperationModule { }