inprogress
This commit is contained in:
parent
0a897c4be2
commit
8e5770986f
|
@ -1,20 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { Routes, RouterModule } from '@angular/router';
|
|
||||||
import { ProbeDownloadPageComponent } from './download-page.component';
|
|
||||||
|
|
||||||
const routes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: ProbeDownloadPageComponent,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':idx',
|
|
||||||
component: ProbeDownloadPageComponent,
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [RouterModule.forChild(routes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
export class ProbeDownloadPageRoutingModule { }
|
|
|
@ -1,21 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
|
|
||||||
import { UIModule } from '@overflow/shared/ui/ui.module';
|
|
||||||
import { ProbeModule } from '@overflow/probe/probe.module';
|
|
||||||
|
|
||||||
import { ProbeDownloadPageComponent } from './download-page.component';
|
|
||||||
import { ProbeDownloadPageRoutingModule } from './download-page-routing.module';
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
UIModule,
|
|
||||||
ProbeDownloadPageRoutingModule,
|
|
||||||
ProbeModule
|
|
||||||
],
|
|
||||||
entryComponents: [
|
|
||||||
],
|
|
||||||
declarations: [ProbeDownloadPageComponent]
|
|
||||||
})
|
|
||||||
export class ProbeDownloadPageModule { }
|
|
|
@ -1,16 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { Routes, RouterModule } from '@angular/router';
|
|
||||||
import { NoAuthProbePageComponent } from './noauth-probe-page.component';
|
|
||||||
|
|
||||||
const routes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: NoAuthProbePageComponent,
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [RouterModule.forChild(routes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
export class NoAuthProbePageRoutingModule { }
|
|
|
@ -1,19 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { NoauthProbeModule } from '@overflow/noauth-probe/noauth-probe.module';
|
|
||||||
import { NoAuthProbePageComponent } from './noauth-probe-page.component';
|
|
||||||
import { NoAuthProbePageRoutingModule } from './noauth-probe-page-routing.module';
|
|
||||||
import { TabbarModule } from '../../../commons/component/layout/tabbar/app.tabbar.module';
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
NoAuthProbePageRoutingModule,
|
|
||||||
TabbarModule,
|
|
||||||
NoauthProbeModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
NoAuthProbePageComponent,
|
|
||||||
]
|
|
||||||
})
|
|
||||||
export class NoAuthProbePageModule { }
|
|
|
@ -3,6 +3,8 @@ import { Routes, RouterModule } from '@angular/router';
|
||||||
import { ProbeTabPageComponent } from './probe-tab-page.component';
|
import { ProbeTabPageComponent } from './probe-tab-page.component';
|
||||||
import { ProbeListPageComponent } from '@app/pages/probes/probe/probe-list-page.component';
|
import { ProbeListPageComponent } from '@app/pages/probes/probe/probe-list-page.component';
|
||||||
import { ProbeDetailPageComponent } from '@app/pages/probes/probe/probe-detail-page.component';
|
import { ProbeDetailPageComponent } from '@app/pages/probes/probe/probe-detail-page.component';
|
||||||
|
import { NoAuthProbePageComponent } from '@app/pages/probes/noauth-probe/noauth-probe-page.component';
|
||||||
|
import { ProbeDownloadPageComponent } from '@app/pages/probes/download/download-page.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{
|
{
|
||||||
|
@ -10,8 +12,9 @@ const routes: Routes = [
|
||||||
component: ProbeTabPageComponent,
|
component: ProbeTabPageComponent,
|
||||||
children: [
|
children: [
|
||||||
{ path: 'list', component: ProbeListPageComponent },
|
{ path: 'list', component: ProbeListPageComponent },
|
||||||
{ path: 'noauth', loadChildren: './noauth-probe/noauth-probe-page.module#NoAuthProbePageModule' },
|
{ path: 'noauth', component: NoAuthProbePageComponent },
|
||||||
{ path: 'download', loadChildren: './download/download-page.module#ProbeDownloadPageModule' },
|
{ path: 'download', component: ProbeDownloadPageComponent },
|
||||||
|
{ path: 'download/:idx', component: ProbeDownloadPageComponent },
|
||||||
{ path: ':id/info', component: ProbeDetailPageComponent },
|
{ path: ':id/info', component: ProbeDetailPageComponent },
|
||||||
// { path: ':id/targets', loadChildren: 'app/pages/targets/targets-page.module#TargetsPageModule'},
|
// { path: ':id/targets', loadChildren: 'app/pages/targets/targets-page.module#TargetsPageModule'},
|
||||||
{ path: ':id/history', component: null },
|
{ path: ':id/history', component: null },
|
||||||
|
|
|
@ -9,6 +9,9 @@ import { ProbeTabPageRoutingModule } from './probe-tab-page-routing.module';
|
||||||
import { TabbarModule } from '../../commons/component/layout/tabbar/app.tabbar.module';
|
import { TabbarModule } from '../../commons/component/layout/tabbar/app.tabbar.module';
|
||||||
import { ProbeListPageComponent } from '@app/pages/probes/probe/probe-list-page.component';
|
import { ProbeListPageComponent } from '@app/pages/probes/probe/probe-list-page.component';
|
||||||
import { ProbeDetailPageComponent } from '@app/pages/probes/probe/probe-detail-page.component';
|
import { ProbeDetailPageComponent } from '@app/pages/probes/probe/probe-detail-page.component';
|
||||||
|
import { NoAuthProbePageComponent } from '@app/pages/probes/noauth-probe/noauth-probe-page.component';
|
||||||
|
import { ProbeDownloadPageComponent } from '@app/pages/probes/download/download-page.component';
|
||||||
|
import { NoauthProbeModule } from '@overflow/noauth-probe/noauth-probe.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -17,11 +20,14 @@ import { ProbeDetailPageComponent } from '@app/pages/probes/probe/probe-detail-p
|
||||||
ProbeTabPageRoutingModule,
|
ProbeTabPageRoutingModule,
|
||||||
ProbeModule,
|
ProbeModule,
|
||||||
TabbarModule,
|
TabbarModule,
|
||||||
|
NoauthProbeModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
ProbeTabPageComponent,
|
ProbeTabPageComponent,
|
||||||
ProbeListPageComponent,
|
ProbeListPageComponent,
|
||||||
ProbeDetailPageComponent
|
ProbeDetailPageComponent,
|
||||||
|
NoAuthProbePageComponent,
|
||||||
|
ProbeDownloadPageComponent
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class ProbeTabPageModule { }
|
export class ProbeTabPageModule { }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user