Обновлен стартовый экран

Переписаны запросы для статистики, отчетов
Добавлена интеграция отчета сестры
This commit is contained in:
brusnitsyn
2026-05-28 22:10:00 +09:00
parent 90e0d04dfd
commit 739168d427
96 changed files with 6663 additions and 1465 deletions

View File

@@ -3,6 +3,7 @@ import {NButton, NP, NFlex, NTag, NIcon} from "naive-ui";
import {TbLock} from "vue-icons-plus/tb"
import {Link} from "@inertiajs/vue3";
import {computed, h} from "vue";
import { useThemeVars } from "naive-ui";
const props = defineProps({
title: {
@@ -49,6 +50,7 @@ const pThemeOverride = {
pLineHeight: '1.4'
}
const themeVars = useThemeVars()
const hasIcon = computed(() => props.icon !== null)
const isLink = computed(() => props.tag === 'link')
@@ -66,7 +68,7 @@ const lockTag = computed(() => {
</script>
<template>
<div class="relative overflow-hidden w-full rounded-md" style="background-color: rgb(18, 18, 22);">
<div class="relative overflow-hidden w-full rounded-md" :style="`background: ${themeVars.cardColor};`">
<NButton :tag="lockTag"
:href="href"
:theme-overrides="buttonThemeOverride"