From 4f8fdb83d1e73bb121b348ed6bd87ec9f73475a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=90=8C=E5=AD=A6?= Date: Tue, 26 Aug 2025 11:13:23 +0800 Subject: [PATCH] =?UTF-8?q?ADD:=E6=A3=80=E6=B5=8B=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=A3=80=E6=B5=8B=E9=85=8D=E7=BD=AE=E7=9B=B8?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/plan/interface/index.ts | 11 + .../plan/planList/components/planPopup.vue | 462 ++++++++++++------ 2 files changed, 315 insertions(+), 158 deletions(-) diff --git a/frontend/src/api/plan/interface/index.ts b/frontend/src/api/plan/interface/index.ts index 2ece0aa..bb487ab 100644 --- a/frontend/src/api/plan/interface/index.ts +++ b/frontend/src/api/plan/interface/index.ts @@ -34,6 +34,7 @@ export namespace Plan { Check_By?:string;//计划检测人 progress?: number; // 进度百分比,例如 75 children?: ResPlan[]; + testConfig?: PlanTestConfig; } // 检测计划 + 分页 @@ -42,6 +43,7 @@ export namespace Plan { } + export interface ReqPlan extends ResPlan { datasourceIds:string; sourceIds: string | null; @@ -54,5 +56,14 @@ export namespace Plan { devIds: string[]; } + export interface PlanTestConfig { + planId: string; + waveRecord: number; + realTime: number; + statistics: number; + flicker: number; + maxTime: number; + } + } \ No newline at end of file diff --git a/frontend/src/views/plan/planList/components/planPopup.vue b/frontend/src/views/plan/planList/components/planPopup.vue index c81099e..7dd8f34 100644 --- a/frontend/src/views/plan/planList/components/planPopup.vue +++ b/frontend/src/views/plan/planList/components/planPopup.vue @@ -1,55 +1,55 @@