| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 | 
							- import { Routes } from '@angular/router';
 
- // 客服页面
 
- import { CustomerServiceLayout } from './pages/customer-service/customer-service-layout/customer-service-layout';
 
- import { Dashboard as CustomerServiceDashboard } from './pages/customer-service/dashboard/dashboard';
 
- import { ConsultationOrder } from './pages/customer-service/consultation-order/consultation-order';
 
- import { ProjectList } from './pages/customer-service/project-list/project-list';
 
- import { ProjectDetail } from './pages/customer-service/project-detail/project-detail';
 
- import { CaseLibrary } from './pages/customer-service/case-library/case-library';
 
- // 设计师页面
 
- import { Dashboard as DesignerDashboard } from './pages/designer/dashboard/dashboard';
 
- import { ProjectDetail as DesignerProjectDetail } from './pages/designer/project-detail/project-detail';
 
- import { PersonalBoard } from './pages/designer/personal-board/personal-board';
 
- // 组长页面
 
- import { Dashboard as TeamLeaderDashboard } from './pages/team-leader/dashboard/dashboard';
 
- import { TeamManagementComponent } from './pages/team-leader/team-management/team-management';
 
- import { ProjectReviewComponent } from './pages/team-leader/project-review/project-review';
 
- import { QualityManagementComponent } from './pages/team-leader/quality-management/quality-management';
 
- // 财务页面
 
- import { Dashboard as FinanceDashboard } from './pages/finance/dashboard/dashboard';
 
- import { ProjectRecords } from './pages/finance/project-records/project-records';
 
- import { Reconciliation } from './pages/finance/reconciliation/reconciliation';
 
- import { Reports } from './pages/finance/reports/reports';
 
- // 人事/行政页面
 
- import { EmployeeRecords } from './pages/hr/employee-records/employee-records';
 
- import { Attendance } from './pages/hr/attendance/attendance';
 
- import { Assets } from './pages/hr/assets/assets';
 
- // 管理员页面
 
- import { SystemManagement } from './pages/admin/system-management/system-management';
 
- export const routes: Routes = [
 
-   // 客服路由
 
-   {
 
-     path: 'customer-service',
 
-     component: CustomerServiceLayout,
 
-     children: [
 
-       { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 
-       { path: 'dashboard', component: CustomerServiceDashboard, title: '客服工作台' },
 
-       { path: 'consultation-order', component: ConsultationOrder, title: '客户咨询与下单' },
 
-       { path: 'project-list', component: ProjectList, title: '项目列表' },
 
-       { path: 'project-detail/:id', component: ProjectDetail, title: '项目详情' },
 
-       { path: 'case-library', component: CaseLibrary, title: '案例库' }
 
-     ]
 
-   },
 
-   // 设计师路由
 
-   {
 
-     path: 'designer',
 
-     children: [
 
-       { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 
-       { path: 'dashboard', component: DesignerDashboard, title: '设计师工作台' },
 
-       { path: 'project-detail/:id', component: DesignerProjectDetail, title: '项目详情' },
 
-       { path: 'personal-board', component: PersonalBoard, title: '个人看板' }
 
-     ]
 
-   },
 
-   // 组长路由
 
-   {
 
-     path: 'team-leader',
 
-     children: [
 
-       { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 
-       { path: 'dashboard', component: TeamLeaderDashboard, title: '组长工作台' },
 
-       { path: 'team-management', component: TeamManagementComponent, title: '团队管理' },
 
-       { path: 'project-review', component: ProjectReviewComponent, title: '项目审核' },
 
-       { path: 'quality-management', component: QualityManagementComponent, title: '质量管理' }
 
-     ]
 
-   },
 
-   // 财务路由
 
-   {
 
-     path: 'finance',
 
-     children: [
 
-       { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 
-       { path: 'dashboard', component: FinanceDashboard, title: '财务工作台' },
 
-       { path: 'project-records', component: ProjectRecords, title: '项目流水' },
 
-       { path: 'reconciliation', component: Reconciliation, title: '对账与结算' },
 
-       { path: 'reports', component: Reports, title: '财务报表' }
 
-     ]
 
-   },
 
-   // 人事/行政路由
 
-   {
 
-     path: 'hr',
 
-     children: [
 
-       { path: '', redirectTo: 'employee-records', pathMatch: 'full' },
 
-       { path: 'employee-records', component: EmployeeRecords, title: '花名册与档案库' },
 
-       { path: 'attendance', component: Attendance, title: '考勤统计' },
 
-       { path: 'assets', component: Assets, title: '资产管理' }
 
-     ]
 
-   },
 
-   // 管理员路由
 
-   {
 
-     path: 'admin',
 
-     children: [
 
-       { path: '', redirectTo: 'system-management', pathMatch: 'full' },
 
-       { path: 'system-management', component: SystemManagement, title: '系统管理' }
 
-     ]
 
-   },
 
-   // 默认路由重定向到客服工作台
 
-   { path: '', redirectTo: '/customer-service/dashboard', pathMatch: 'full' },
 
-   { path: '**', redirectTo: '/customer-service/dashboard' }
 
- ];
 
 
  |