考核考试系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
1.6 KiB

import { Routes, RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import { AllFileComponent } from './all-file/all-file.component';
import { EnterpriseuserComponent } from './enterpriseuser/enterpriseuser.component';
import { TeacherManagementComponent } from './teacherManagement/enterpriseuser.component';
import {EhartsStatisticsComponent} from './eharts-statistics/eharts-statistics.component'
import { LearningRecordDetailsComponent } from './learning-record-details/learning-record-details.component';
import { CreateExamComponent } from './create-exam/create-exam.component';
import { LookOverTestComponent } from './look-over-test/look-over-test.component';
import { StatisticAnalysisComponent } from './statistic-analysis/statistic-analysis.component';
import { JoinExamComponent } from './join-exam/join-exam.component';
import { TestRecordsComponent } from './test-records/test-records.component';
const routes: Routes = [
{ path: '', component:CreateExamComponent },
{ path: 'createexam', component:CreateExamComponent },
{ path: 'looktest', component:LookOverTestComponent },
{ path: 'statisticAnalysis', component:StatisticAnalysisComponent },
{ path: 'joinExam', component:JoinExamComponent },
{ path: 'testRecords', component:TestRecordsComponent },
{ path: 'teachear', component:TeacherManagementComponent }, //管理员 教员页面
{ path: 'examinee', component:EnterpriseuserComponent }, //管理员 考生页面
]
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class UiRoutingModule {}