#7283 #7831 itemMigration #553

Merged
carlossa merged 77 commits from 7283-itemMigration into dev 2024-10-25 07:09:13 +00:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit 85b030c7bc - Show all commits

View File

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