0
0
Fork 0

refs #7283 view summary

This commit is contained in:
Carlos Satorres 2024-07-16 08:31:04 +02:00
parent b7ba8eec3d
commit 85b030c7bc
1 changed files with 7 additions and 0 deletions

View File

@ -9,8 +9,10 @@ import { useStateStore } from 'stores/useStateStore';
import { toDate } from 'src/filters';
import axios from 'axios';
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
const entityId = computed(() => route.params.id);
const { viewSummary } = useSummaryDialog();
const router = useRouter();
const stateStore = useStateStore();
const { t } = useI18n();
@ -224,6 +226,11 @@ const columns = computed(() => [
action: cloneItem,
isPrimary: true,
},
{
title: t('view Summary'),
icon: 'preview',
action: (row) => viewSummary(row.id),
},
],
},
]);