Kaynağa Gözat

feat:ai-interview

0235477 1 gün önce
ebeveyn
işleme
c8da854b8e

+ 1 - 1
ai-interview/src/app/hr-auth/auth.ts

@@ -31,7 +31,7 @@ export class Auth implements OnInit {
 
     // 模拟登录请求
     setTimeout(() => {
-      if (this.username() === 'admin' && this.password() === 'password') {
+      if (this.username() === '1' && this.password() === '1') {
         this.successMessage.set('登录成功!');
         this.router.navigate(['/hrauth/hr']);
         // 这里实际项目中应该是导航到主页

+ 1 - 1
ai-interview/src/app/interviewer/home/job-recommendations/job-recommendations.ts

@@ -103,6 +103,6 @@ export class JobRecommendations {
   }
   start()
   {
-     this.router.navigate(['/auth/home/interviewer']);
+     this.router.navigate(['/intervieweeauth/home/interviewer']);
   }
 }

+ 1 - 1
ai-interview/src/app/interviewer/steps/interview-step/interview-step.ts

@@ -217,7 +217,7 @@ export class InterviewStep implements OnInit, OnDestroy {
     clearInterval(this.timer);
     clearInterval(this.audioInterval);
     
-    this.router.navigate(['/auth/home/interviewer/result']);
+    this.router.navigate(['/intervieweeauth/home/interviewer/result']);
     this.interviewer.currentStep=3;
     
   }

+ 1 - 1
ai-interview/src/app/interviewer/steps/prepare-step/prepare-step.ts

@@ -155,7 +155,7 @@ export class PrepareStep {
   
   startInterview() {
     if (this.allChecked) {
-      this.router.navigate(['/auth/home/interviewer/interview']);
+      this.router.navigate(['/intervieweeauth/home/interviewer/interview']);
       this.interviewer.currentStep=2;
     
     }