* переписал функции прототипов в сервисы

* оптимизация доставки контента до клиента
* переписал запросы выборок
* убрал из подсчета переведенных
* добавил сохранение метрикам для вывода в дашборд
This commit is contained in:
brusnitsyn
2026-02-04 17:05:13 +09:00
parent 9ee33bc517
commit eab78a0291
16 changed files with 1644 additions and 737 deletions

View File

@@ -2,6 +2,7 @@
import { ref, reactive } from 'vue'
import {Head, router, useForm} from '@inertiajs/vue3'
import { useAuthStore } from '../../Stores/auth.js'
import { TbUser, TbLock } from 'vue-icons-plus/tb'
import {
NForm, NFormItem, NInput, NButton, NCheckbox,
NSpace, NCard, NIcon, NAlert, NModal, darkTheme,
@@ -114,7 +115,7 @@ const handleForgotPassword = async () => {
@keydown.enter="handleLogin"
>
<template #prefix>
<n-icon><Mail /></n-icon>
<n-icon><TbUser /></n-icon>
</template>
</n-input>
</n-form-item>
@@ -130,7 +131,7 @@ const handleForgotPassword = async () => {
@keydown.enter="handleLogin"
>
<template #prefix>
<n-icon><LockClosed /></n-icon>
<n-icon><TbLock /></n-icon>
</template>
</n-input>
</n-form-item>