Роли, переделывание отчета, изменение на главной странице
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user