补齐超时响应唯一 timeoutCode 与智能体按码查询,并增强报价模板预览与解析落库。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-18 22:25:04 +08:00
co-authored by Cursor
parent 19f94252f0
commit 6cd6803147
15 changed files with 706 additions and 35 deletions
@@ -28,8 +28,11 @@ export type TemplateRow = {
currentVersion?: number;
parseMessage?: string;
unmappedRequired?: string[];
unmappedLabels?: string[];
/** 表上有、对照清单未映射上的中文说明(智能体 mappingGaps) */
mappingGaps?: string[];
/** 列表提示:未解析条数(主账合并口径) */
unparsedHintCount?: number;
objectKey?: string;
};
@@ -61,7 +64,9 @@ export function mapApiRow(raw: any): TemplateRow {
currentVersion: raw.currentVersion,
parseMessage: raw.parseMessage,
unmappedRequired: Array.isArray(raw.unmappedRequired) ? raw.unmappedRequired.map(String) : [],
unmappedLabels: Array.isArray(raw.unmappedLabels) ? raw.unmappedLabels.map(String) : [],
mappingGaps: Array.isArray(raw.mappingGaps) ? raw.mappingGaps.map(String) : [],
unparsedHintCount: Number(raw.unparsedHintCount || 0),
objectKey: raw.objectKey,
};
}