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.
|
|
|
import { Routes, RouterModule } from "@angular/router";
|
|
|
|
import { NgModule } from "@angular/core";
|
|
|
|
import { TeacherManagementComponent } from "./teacherManagement/enterpriseuser.component";
|
|
|
|
import { EnterpriseuserComponent } from "./enterpriseuser/enterpriseuser.component";
|
|
|
|
import { AdministratorsComponent } from "./administrators/administrators.component";
|
|
|
|
const routes: Routes = [
|
|
|
|
{ path: "teachear", component: TeacherManagementComponent }, //管理员 教员页面
|
|
|
|
{ path: "examinee", component: EnterpriseuserComponent }, //管理员 考生页面
|
|
|
|
{ path: "admin", component: AdministratorsComponent }, //管理员 考生页面
|
|
|
|
];
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule],
|
|
|
|
})
|
|
|
|
export class UiRoutingModule {}
|