Răsfoiți Sursa

fix:All interfaces have been set up

工业检测 2 zile în urmă
părinte
comite
ec47871d98
20 a modificat fișierele cu 170 adăugiri și 5 ștergeri
  1. 2 1
      REDEME.md
  2. 6 0
      industry-monitor-web/src/app/app.html
  3. 17 1
      industry-monitor-web/src/modules/monitor/health/health.routes.ts
  4. 1 3
      industry-monitor-web/src/modules/monitor/health/nav-pc-health-tabs/nav-pc-health-tabs.html
  5. 1 0
      industry-monitor-web/src/modules/monitor/health/page-ai/page-ai.html
  6. 0 0
      industry-monitor-web/src/modules/monitor/health/page-ai/page-ai.scss
  7. 23 0
      industry-monitor-web/src/modules/monitor/health/page-ai/page-ai.spec.ts
  8. 12 0
      industry-monitor-web/src/modules/monitor/health/page-ai/page-ai.ts
  9. 1 0
      industry-monitor-web/src/modules/monitor/health/page-device/page-device.html
  10. 0 0
      industry-monitor-web/src/modules/monitor/health/page-device/page-device.scss
  11. 23 0
      industry-monitor-web/src/modules/monitor/health/page-device/page-device.spec.ts
  12. 12 0
      industry-monitor-web/src/modules/monitor/health/page-device/page-device.ts
  13. 1 0
      industry-monitor-web/src/modules/monitor/health/page-history/page-history.html
  14. 0 0
      industry-monitor-web/src/modules/monitor/health/page-history/page-history.scss
  15. 23 0
      industry-monitor-web/src/modules/monitor/health/page-history/page-history.spec.ts
  16. 12 0
      industry-monitor-web/src/modules/monitor/health/page-history/page-history.ts
  17. 1 0
      industry-monitor-web/src/modules/monitor/health/page-report/page-report.html
  18. 0 0
      industry-monitor-web/src/modules/monitor/health/page-report/page-report.scss
  19. 23 0
      industry-monitor-web/src/modules/monitor/health/page-report/page-report.spec.ts
  20. 12 0
      industry-monitor-web/src/modules/monitor/health/page-report/page-report.ts

+ 2 - 1
REDEME.md

@@ -15,4 +15,5 @@
  ```bash
  git config --global user.name "工业检测"
  git config --global user.email "19870555569@163.com"
- ```
+ ```
+ ng g component page-ai --standalone --style=scss

+ 6 - 0
industry-monitor-web/src/app/app.html

@@ -1 +1,7 @@
+<button [routerLink]="'/monitor/health/dashboard'">仪表盘</button>
+<button [routerLink]="'/monitor/health/monitor'">检测</button>
+<button [routerLink]="'/monitor/health/ai'">AI</button>
+<button [routerLink]="'/monitor/health/history'">history</button>
+<button [routerLink]="'/monitor/health/device'">device</button>
+<button [routerLink]="'/monitor/health/report'">report</button>
 <router-outlet />

+ 17 - 1
industry-monitor-web/src/modules/monitor/health/health.routes.ts

@@ -8,5 +8,21 @@ export const routes: Routes = [
   {
     path: "monitor",
     loadComponent:()=>import("./page-monitor/page-monitor").then(m=>m.PageMonitor)
-  }
+  },
+  {
+    path: "ai",
+    loadComponent:()=>import("./page-ai/page-ai").then(m=>m.PageAi)
+  },
+  {
+    path: "device",
+    loadComponent:()=>import("./page-device/page-device").then(m=>m.PageDevice)
+  },
+  {
+    path: "history",
+    loadComponent:()=>import("./page-history/page-history").then(m=>m.PageHistory)
+  },
+  {
+    path: "report",
+    loadComponent:()=>import("./page-report/page-report").then(m=>m.PageReport)
+  },
 ];

+ 1 - 3
industry-monitor-web/src/modules/monitor/health/nav-pc-health-tabs/nav-pc-health-tabs.html

@@ -1,3 +1 @@
-<button [routerLink]="'/monitor/health/dashboard'">仪表盘</button>
-<button [routerLink]="'/monitor/health/detection'">检测</button>
-<p>nav-pc-health-tabs works!</p>
+<p>nav-pc-health-tabs works!</p>

+ 1 - 0
industry-monitor-web/src/modules/monitor/health/page-ai/page-ai.html

@@ -0,0 +1 @@
+<p>page-ai works!</p>

+ 0 - 0
industry-monitor-web/src/modules/monitor/health/page-ai/page-ai.scss


+ 23 - 0
industry-monitor-web/src/modules/monitor/health/page-ai/page-ai.spec.ts

@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { PageAi } from './page-ai';
+
+describe('PageAi', () => {
+  let component: PageAi;
+  let fixture: ComponentFixture<PageAi>;
+
+  beforeEach(async () => {
+    await TestBed.configureTestingModule({
+      imports: [PageAi]
+    })
+    .compileComponents();
+
+    fixture = TestBed.createComponent(PageAi);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 12 - 0
industry-monitor-web/src/modules/monitor/health/page-ai/page-ai.ts

@@ -0,0 +1,12 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-page-ai',
+  standalone:true,
+  imports: [],
+  templateUrl: './page-ai.html',
+  styleUrl: './page-ai.scss'
+})
+export class PageAi {
+
+}

+ 1 - 0
industry-monitor-web/src/modules/monitor/health/page-device/page-device.html

@@ -0,0 +1 @@
+<p>page-device works!</p>

+ 0 - 0
industry-monitor-web/src/modules/monitor/health/page-device/page-device.scss


+ 23 - 0
industry-monitor-web/src/modules/monitor/health/page-device/page-device.spec.ts

@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { PageDevice } from './page-device';
+
+describe('PageDevice', () => {
+  let component: PageDevice;
+  let fixture: ComponentFixture<PageDevice>;
+
+  beforeEach(async () => {
+    await TestBed.configureTestingModule({
+      imports: [PageDevice]
+    })
+    .compileComponents();
+
+    fixture = TestBed.createComponent(PageDevice);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 12 - 0
industry-monitor-web/src/modules/monitor/health/page-device/page-device.ts

@@ -0,0 +1,12 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-page-device',
+  standalone:true,
+  imports: [],
+  templateUrl: './page-device.html',
+  styleUrl: './page-device.scss'
+})
+export class PageDevice {
+
+}

+ 1 - 0
industry-monitor-web/src/modules/monitor/health/page-history/page-history.html

@@ -0,0 +1 @@
+<p>page-history works!</p>

+ 0 - 0
industry-monitor-web/src/modules/monitor/health/page-history/page-history.scss


+ 23 - 0
industry-monitor-web/src/modules/monitor/health/page-history/page-history.spec.ts

@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { PageHistory } from './page-history';
+
+describe('PageHistory', () => {
+  let component: PageHistory;
+  let fixture: ComponentFixture<PageHistory>;
+
+  beforeEach(async () => {
+    await TestBed.configureTestingModule({
+      imports: [PageHistory]
+    })
+    .compileComponents();
+
+    fixture = TestBed.createComponent(PageHistory);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 12 - 0
industry-monitor-web/src/modules/monitor/health/page-history/page-history.ts

@@ -0,0 +1,12 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-page-history',
+  standalone:true,
+  imports: [],
+  templateUrl: './page-history.html',
+  styleUrl: './page-history.scss'
+})
+export class PageHistory {
+
+}

+ 1 - 0
industry-monitor-web/src/modules/monitor/health/page-report/page-report.html

@@ -0,0 +1 @@
+<p>page-report works!</p>

+ 0 - 0
industry-monitor-web/src/modules/monitor/health/page-report/page-report.scss


+ 23 - 0
industry-monitor-web/src/modules/monitor/health/page-report/page-report.spec.ts

@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { PageReport } from './page-report';
+
+describe('PageReport', () => {
+  let component: PageReport;
+  let fixture: ComponentFixture<PageReport>;
+
+  beforeEach(async () => {
+    await TestBed.configureTestingModule({
+      imports: [PageReport]
+    })
+    .compileComponents();
+
+    fixture = TestBed.createComponent(PageReport);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 12 - 0
industry-monitor-web/src/modules/monitor/health/page-report/page-report.ts

@@ -0,0 +1,12 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-page-report',
+  standalone:true,
+  imports: [],
+  templateUrl: './page-report.html',
+  styleUrl: './page-report.scss'
+})
+export class PageReport {
+
+}