fix [P-224]: упрощение авторизации

This commit is contained in:
denzel committed 2026-06-01 08:10:49 +03:00
1 parent 6b976934ee
commit 20d2cf48a5
4 files changed
+18 -36

No files matched your search

+1 -23
View File
@@ -1,23 +1,4 @@
<template>
<v-dialog
v-model="menuAuthDialog"
persistent
width="400"
scrim="teal-darken-9"
>
<template v-slot:activator="{ props }">
<v-btn
v-bind="props"
append-icon="mdi-login"
color="black_and_white"
>
Войти
<template v-slot:append>
<v-icon color="teal-darken-4"/>
</template>
</v-btn>
</template>
<v-card @keyup.enter="logging" class="text-white" style="background-color: rgb(25 42 43);">
<v-card-text>
<v-container>
@@ -49,7 +30,7 @@
</v-row>
</v-container>
</v-card-text>
<v-card-actions class="text-center">
<v-card-actions class="justify-end">
<v-btn
color="white"
variant="text"
@@ -74,9 +55,6 @@
<v-icon icon="mdi-alert-outline" class="pt-1"/>
</template>
</v-alert>
</v-dialog>
</template>
<script>
@@ -3,8 +3,7 @@
<v-app-bar v-if="accountStore.cod2user" density="compact" color="#263f40" class="pl-4" style="box-shadow: none">
<v-icon class="px-3" size="20"
:icon="rail ? 'mdi-chevron-right' : 'mdi-chevron-left'" @click="rail = !rail" />
<v-card class="bg-transparent" density="compact"
:prepend-avatar="imageSrc" title="Портал МИ ФНС России по ЦОД № 2" variant="text" :to="'/'" />
<v-card class="bg-transparent" density="compact" :prepend-avatar="imageSrc" title="Портал МИ ФНС России по ЦОД № 2" variant="text" :to="'/'" />
<template v-slot:append>
<div class="fns-actions">
<vcard-user :author="accountStore.user" />