From 497d3bbcbd26df3e417b6c0f735d9e3c1ab111bc Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期二, 08 九月 2026 17:07:09 +0800
Subject: [PATCH] 恢复化成详情表单并保留工步设置

---
 src/api/formationReports.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/formationReports.ts b/src/api/formationReports.ts
index cf8d131..01a0966 100644
--- a/src/api/formationReports.ts
+++ b/src/api/formationReports.ts
@@ -1,9 +1,9 @@
 import { request, type ApiResponse } from './request'
-import type { PersistedTestRecord } from './tests'
+import type { PersistedTestRecord, TestConsoleDetail } from './tests'
 import type { ReportMetricKey } from '@/utils/reportMeasurementChart'
 
 export interface FormationSelection { testId: number; testBatteryId: number }
-export interface FormationCandidate { selection: FormationSelection; name: string; type: string; groupId: number; batteryGroup: string; batteryNo: string; consoleDetail?: { experimentName?: string; batteryFields: string[]; specialFields: string[]; fieldValues: Record<string, Record<string, string>> } }
+export interface FormationCandidate { selection: FormationSelection; name: string; type: string; groupId: number; batteryGroup: string; batteryNo: string; consoleDetail?: TestConsoleDetail | null }
 export interface FormationField { key: string; scope: 'detail' | 'cycle'; kind: 'battery' | 'metric' | 'manual'; displayName: string; unit: string; fieldDefinitionId?: number | null }
 export interface FormationChargeStep { stepNo: number; name: string; stepType: string; endVoltage: number | null; direction?: 'CHARGE' | 'DISCHARGE' | 'UNKNOWN' }
 export interface FormationItem {

--
Gitblit v1.7.1