fix: corrige formato de colunas UTable para Nuxt UI v3 (TanStack Table)
Substitui o formato de colunas { key, label } (Nuxt UI v2) pelo formato
correto { id, accessorKey, header } exigido pelo TanStack Table no Nuxt UI v3.
Afetou 7 arquivos: EditaisTable, index, orgaos, concorrentes, contratos,
inteligencia/index e sistema/usuarios.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -120,13 +120,13 @@ const modalidadeLabel: Record<string, string> = {
|
||||
<UTable
|
||||
:data="editaisRecentes"
|
||||
:columns="[
|
||||
{ key: 'numero', label: 'Nº Edital' },
|
||||
{ key: 'objeto', label: 'Objeto' },
|
||||
{ key: 'orgao', label: 'Órgão' },
|
||||
{ key: 'modalidade', label: 'Modalidade' },
|
||||
{ key: 'valorEstimado', label: 'Valor Est.' },
|
||||
{ key: 'status', label: 'Status' },
|
||||
{ key: 'dataAbertura', label: 'Abertura' },
|
||||
{ id: 'numero', accessorKey: 'numero', header: 'Nº Edital' },
|
||||
{ id: 'objeto', accessorKey: 'objeto', header: 'Objeto' },
|
||||
{ id: 'orgao', accessorKey: 'orgao', header: 'Órgão' },
|
||||
{ id: 'modalidade', accessorKey: 'modalidade', header: 'Modalidade' },
|
||||
{ id: 'valorEstimado', accessorKey: 'valorEstimado', header: 'Valor Est.' },
|
||||
{ id: 'status', accessorKey: 'status', header: 'Status' },
|
||||
{ id: 'dataAbertura', accessorKey: 'dataAbertura', header: 'Abertura' },
|
||||
]"
|
||||
>
|
||||
<template #modalidade-cell="{ row }">
|
||||
|
||||
Reference in New Issue
Block a user