Consolida rastreabilidade territorial e plano autenticado V2
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import { Link, useForm } from '@inertiajs/react';
|
||||
import { Management } from './shared';
|
||||
import TerritorialTraceabilityPlan, {
|
||||
type TraceabilityPlan,
|
||||
} from '@/components/territorial-traceability-plan';
|
||||
|
||||
type Plan = {
|
||||
target: { database: string; port: number };
|
||||
@@ -149,16 +152,21 @@ export default function RelationshipRepair({
|
||||
territorial,
|
||||
history,
|
||||
unproposed,
|
||||
traceability,
|
||||
}: {
|
||||
hash: string;
|
||||
plan: Plan;
|
||||
territorial: Territory[];
|
||||
history: History[];
|
||||
unproposed: Unproposed[];
|
||||
traceability?: TraceabilityPlan | null;
|
||||
}) {
|
||||
const form = useForm({ hash });
|
||||
return (
|
||||
<Management title="Associações documentadas de projectos âncora e clusters">
|
||||
{traceability && (
|
||||
<TerritorialTraceabilityPlan preview={traceability} />
|
||||
)}
|
||||
<p>
|
||||
Pré-visualização para {plan.target.database}:{plan.target.port}.
|
||||
A execução verifica o backup e o restauro, a versão dos dossiers
|
||||
|
||||
Reference in New Issue
Block a user