Merge branch 'Alex' into razrab

This commit is contained in:
iriska-gri committed 2023-10-31 13:57:20 +03:00
commit 88766f0ab9
3 files changed
+43 -15

No files matched your search

+4 -2
View File
@@ -8,13 +8,14 @@
<v-btn
v-bind="props"
append-icon="mdi-login"
color="black_and_white"
>
<template v-slot:prepend>
<v-icon color="white"></v-icon>
<v-icon color="black_and_white"></v-icon>
</template>
Войти
<template v-slot:append>
<v-icon color="white"/>
<v-icon color="black_and_white"/>
</template>
</v-btn>
</template>
@@ -29,6 +30,7 @@
<v-col cols="12" class="py-0">
<v-text-field
v-model="anon.username"
color="black_and_white"
label="Логин"
variant="underlined"
:error-messages="errorer('username')"
@@ -10,11 +10,13 @@
<v-icon
v-if="accountStore.cod2user"
class="px-3"
size="20"
size="20"
color="black_and_white"
:icon="rail ? 'mdi-chevron-right' : 'mdi-chevron-left'"
@click="rail = !rail" />
<v-card
class="bg-transparent py"
class="bg-transparent py"
color="black_and_white"
density="compact"
:prepend-avatar="imageSrc"
title="Портал МИ ФНС по ЦОД № 2"
@@ -28,6 +30,7 @@
<template v-if="accountStore.cod2user">
<v-card
class="bg-transparent"
color="black_and_white"
density="compact"
:prepend-avatar="accountStore.user.photo"
:title="accountStore.user.fio"
@@ -48,6 +51,7 @@
<v-tooltip location="bottom">
<template v-slot:activator="{ props }">
<v-btn
color="black_and_white"
v-bind="props"
dark to="/faq"
icon="mdi-comment-question-outline" />
@@ -61,6 +65,7 @@
<template v-slot:activator="{ props }">
<v-btn
color="black_and_white"
v-bind="props"
dark icon="mdi-thumb-up-outline" />
</template>
@@ -79,9 +84,9 @@
mdi-lightbulb-outline
</v-icon>
</v-btn>
<v-btn dark icon="mdi-magnify" />
<v-btn dark icon="mdi-account-multiple-outline" @click="drawer_right = !drawer_right" />
<v-btn dark icon="mdi-logout" @click="accountStore.logout" />
<v-btn color="black_and_white" icon="mdi-magnify" />
<v-btn color="black_and_white" icon="mdi-account-multiple-outline" @click="drawer_right = !drawer_right" />
<v-btn color="black_and_white" icon="mdi-logout" @click="accountStore.logout" />
</template>
+29 -8
View File
@@ -1,14 +1,23 @@
<template>
<v-row class="justify-center">
<v-col v-if="!showInfo" cols="6"
<v-container class="my-auto">
<v-row justify="center">
<!-- <v-alert
class="d-flex align-self-center"
v-model="showInfo"
:border="'start'"
variant="tonal"
type="info"
max-width="max-content"
closable>{{ info.mess }}
</v-alert> -->
<!-- v-if="!showInfo" -->
<v-col cols="7"
class="text-h6 text-grey text-center d-flex align-baseline align-self-center text--lighten-1 font-weight-light"
>
{{t_dailyRound}}
<v-btn @click="detailRound">
Тык
<v-btn class="mr-2" @click="detailRound">
Уточнение
</v-btn>
<v-btn
@@ -39,7 +48,20 @@
</v-col>
</v-row>
<v-row justify="center">
<v-col cols="2">
<v-alert
v-model="showInfo"
:border="'start'"
variant="tonal"
type="info"
width="max-content"
closable>
{{ info.mess }}
</v-alert>
</v-col>
</v-row>
</v-container>
</template>
<script>
@@ -66,7 +88,6 @@ export default {
const onPickFile = () => {
console.log('fffffffffffffffffffffffffffffffffffffffff');
const sdata = new FormData()
sdata.append('dailyfiles', dailyfiles.value[0])
axiosApiInstance.post(`api/general_vacation/dailyroundup/`, sdata).then(result => {