feat: excel importer

This commit is contained in:
2025-03-10 16:31:08 +07:00
parent 8fbbd7b142
commit 6bf4f1e289
12 changed files with 250 additions and 145 deletions

View File

@@ -1,18 +1,27 @@
<script setup lang="ts">
import { Dialog } from 'primevue';
import { useErrorStore } from './stores/error.store';
import { Dialog } from "primevue";
import { useErrorStore } from "./stores/error.store";
import CommentScheme from "./comment/CommentScheme.vue";
import PostScheme from "./post/PostScheme.vue";
import PosttypeScheme from "./posttype/PosttypeScheme.vue";
import AuthorScheme from "./author/AuthorScheme.vue";
const errorStore = useErrorStore()
const errorStore = useErrorStore();
</script>
<template>
<Dialog v-model:visible="errorStore.show" maximizable class="w-[400px] h-[400px]">
<template #header>
Ошибка
</template>
<h1 class="text-red-500 text-2xl">{{ errorStore.message }}</h1>
<Dialog
v-model:visible="errorStore.show"
maximizable
class="w-[400px] h-[400px]"
>
<template #header> Ошибка </template>
<h1 class="text-red-500 text-2xl">{{ errorStore.message }}</h1>
</Dialog>
<main class="w-screen h-screen">
<CommentScheme></CommentScheme>
<PostScheme></PostScheme>
<PosttypeScheme></PosttypeScheme>
<AuthorScheme></AuthorScheme>
</main>
</template>