Роли, переделывание отчета, изменение на главной странице

This commit is contained in:
brusnitsyn
2026-01-11 23:37:18 +09:00
parent eb019504d7
commit d4f077cdaf
59 changed files with 2099 additions and 366 deletions

View File

@@ -1,19 +1,18 @@
<script setup>
import AppLayout from "../../Layouts/AppLayout.vue";
import {NList, NListItem, NFlex, NInput, NButton} from 'naive-ui'
import {useForm} from "@inertiajs/vue3";
import {computed} from "vue";
import MetrikaForm from "../Metriks/Components/MetrikaForm.vue";
import ReportForm from "./Components/ReportForm.vue";
import {useReportStore} from "../../Stores/report.js";
import {onMounted} from "vue";
const props = defineProps({
metriks: {
type: Array
}
const reportStore = useReportStore()
onMounted(async () => {
await reportStore.getReportInfo()
})
</script>
<template>
<AppLayout>
<MetrikaForm :group-id="1" />
<ReportForm />
</AppLayout>
</template>