Skip to content

Commit 648aaae

Browse files
committed
feat(crm): update
1 parent c5d1a67 commit 648aaae

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

src/app/crm/crm.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { ProductComponent } from './product/product.component';
1616
import { LayoutComponent } from './layout/layout.component';
1717
import { BrandModule } from '../admin';
1818
import { NavigationModule } from '../component/navigation';
19-
import { NavigationService } from './navigation.service';
19+
import { NavigationService } from './layout/navigation.service';
2020

2121
@NgModule({
2222
imports: [

src/app/crm/crm.routing.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@ const routes: Routes = [
2626
{ path: 'contract', component: ContractComponent },
2727
{ path: 'product', component: ProductComponent },
2828
{ path: 'received', component: ProductComponent },
29-
{ path: 'follow', component: ProductComponent }
29+
{ path: 'follow', component: ProductComponent },
30+
{ path: 'schedule_reports', component: LeadComponent },
31+
{ path: 'task', component: LeadComponent },
32+
{ path: 'check', component: LeadComponent },
33+
{ path: 'customrank', component: LeadComponent },
34+
{ path: 'productreport', component: LeadComponent },
35+
{ path: 'profile', component: LeadComponent },
36+
{ path: 'teamconfig', component: LeadComponent },
37+
{ path: 'teammember', component: LeadComponent }
3038
]
3139
}
3240
];

src/app/crm/layout/layout.component.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@
44
<stbui-navigation [navigationModel]="navigationModel"></stbui-navigation>
55
</mat-sidenav>
66

7-
<div class="sidenav-container">
8-
<div class="main-container"><router-outlet></router-outlet></div>
9-
</div>
7+
<mat-sidenav-content> <router-outlet></router-outlet> </mat-sidenav-content>
108
</mat-sidenav-container>

src/app/crm/layout/layout.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, OnInit, OnDestroy } from '@angular/core';
22
import { Subscription } from 'rxjs';
3-
import { NavigationService } from '../navigation.service';
3+
import { NavigationService } from './navigation.service';
44

55
@Component({
66
selector: 'app-layout',
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)