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
+41 -13

No files matched your search

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