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

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,6 +1,6 @@
<script setup>
import {useAuthStore} from "../../Stores/auth.js";
import {NDropdown, NButton} from 'naive-ui'
import {NDropdown, NButton, NText} from 'naive-ui'
const authStore = useAuthStore()
const userOptions = [
@@ -20,11 +20,14 @@ const themeOverride = {
</script>
<template>
<NDropdown :options="userOptions" placement="bottom-end">
<NButton :theme-overrides="themeOverride">
{{ authStore.user?.name }}
</NButton>
</NDropdown>
<NText>
{{ authStore.user?.name }}
</NText>
<!-- <NDropdown :options="userOptions" placement="bottom-end">-->
<!-- <NButton :theme-overrides="themeOverride">-->
<!-- {{ authStore.user?.name }}-->
<!-- </NButton>-->
<!-- </NDropdown>-->
</template>
<style scoped>