feat(agent): Audit-Kopf + 4 KPI-Kacheln ueber den Ergebnis-Tabs
ResultSummary: Titel (Firma aus extracted_profile) + check_id + 4 Kacheln (Dokumente, Konform, Offene Pflichtangaben, Zu pruefen), gerechnet aus result.results. Co-Pilot-Ton: gruen/gelb/rot nur bei echten Werten. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,7 @@ import React, { useState } from 'react'
|
||||
import { ChecklistView, DOC_TYPE_LABELS, type DocResult } from './ChecklistView'
|
||||
import { DocResultView } from './DocResultView'
|
||||
import { MigrationPanel } from './MigrationPanel'
|
||||
import { ResultSummary } from './ResultSummary'
|
||||
|
||||
export function ComplianceResultTabs({ results }: { results: any }) {
|
||||
// Themen-Tabs aus der HAUPT-Engine (result.results) — nicht aus dem
|
||||
@@ -23,6 +24,9 @@ export function ComplianceResultTabs({ results }: { results: any }) {
|
||||
|
||||
return (
|
||||
<div className="bg-white border border-gray-200 rounded-xl p-6 shadow-sm space-y-4">
|
||||
{/* Audit-Kopf: Titel + check_id + 4 KPI-Kacheln */}
|
||||
<ResultSummary results={results} />
|
||||
|
||||
{/* Kopf-Boxen über den Tabs */}
|
||||
{results.business_profile && (
|
||||
<div className="p-3 bg-blue-50 border border-blue-200 rounded-lg text-xs">
|
||||
|
||||
Reference in New Issue
Block a user