From 9256bd20d50fcc24aa01c1977ad1af9de24e5e2b Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Wed, 16 Dec 2020 08:53:26 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E4=BF=AE=E6=94=B9=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/examiner/examiner-index/examiner-index.component.ts | 2 +- src/app/examiner/examiner-routing.ts | 4 ++-- .../examiner/mark-papers-index/mark-papers-index.component.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/examiner/examiner-index/examiner-index.component.ts b/src/app/examiner/examiner-index/examiner-index.component.ts index 076bb9d..9c69d51 100644 --- a/src/app/examiner/examiner-index/examiner-index.component.ts +++ b/src/app/examiner/examiner-index/examiner-index.component.ts @@ -141,7 +141,7 @@ export class ExaminerIndexComponent implements OnInit { } //新增考题跳转 newExamination(){ - this.router.navigate(['/home/examiner-new-one']) + this.router.navigate(['/home/createexam-index/examiner-new-one']) } } diff --git a/src/app/examiner/examiner-routing.ts b/src/app/examiner/examiner-routing.ts index 553b265..5b3cda2 100644 --- a/src/app/examiner/examiner-routing.ts +++ b/src/app/examiner/examiner-routing.ts @@ -16,9 +16,9 @@ import { StatisticAnalysisComponent } from './statistic-analysis/statistic-analy const routes: Routes = [ { path: 'createexam-index', component:ExaminerIndexComponent }, - { path: 'examiner-new-one', component:ExaminerNewOneComponent }, + { path: 'createexam-index/examiner-new-one', component:ExaminerNewOneComponent }, { path: 'mark-papers-index',component:MarkPapersIndexComponent}, - { path: 'mark-papers-two',component:MarkPapersTwoComponent}, + { path: 'mark-papers-index/mark-papers-two',component:MarkPapersTwoComponent}, { path: 'statistic-anaily',component:StatisticAnalysisComponent} ] @NgModule({ diff --git a/src/app/examiner/mark-papers-index/mark-papers-index.component.ts b/src/app/examiner/mark-papers-index/mark-papers-index.component.ts index 18a21ac..c734389 100644 --- a/src/app/examiner/mark-papers-index/mark-papers-index.component.ts +++ b/src/app/examiner/mark-papers-index/mark-papers-index.component.ts @@ -48,7 +48,7 @@ export class MarkPapersIndexComponent implements OnInit { //点击阅卷跳转 markTwo(e){ console.log(e) - this.router.navigate(['/home/mark-papers-two'],{queryParams:{'level':e}}) + this.router.navigate(['/home/mark-papers-index/mark-papers-two'],{queryParams:{'level':e}}) } }