Merge branch 'Alex' into razrab

This commit is contained in:
iriska-gri committed 2023-11-16 09:10:35 +03:00
commit 290d35d060
3 files changed
+64 -24

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@
<v-row> <v-row>
<v-col class="pa-0 mb-3"> <v-col class="pa-0 mb-3">
<v-textarea <v-text-field
v-model="searchname" v-model="searchname"
clearable clearable
prepend-inner-icon="mdi-magnify" prepend-inner-icon="mdi-magnify"
@@ -152,7 +152,7 @@ export default {
get() { get() {
let ob={} let ob={}
Object.keys(t_dailyRound.value).map(el1 => { Object.keys(t_dailyRound.value).map(el1 => {
let myarr = t_dailyRound.value[el1].filter((el) =>el.fio.toLowerCase().includes(searchname.value.toLowerCase())) let myarr = t_dailyRound.value[el1].filter((el) =>el.fio.toLowerCase().includes(searchname.value))
if(myarr.length>0) if(myarr.length>0)
{ {
+25 -9
View File
@@ -51,16 +51,16 @@
<v-card <v-card
v-else class="h-100 w-100 d-flex justify-center " v-else class="h-100 w-100 d-flex justify-center "
> >
<v-card-text class="align-self-center flex-column mt-8"> <v-card-text v-if="!changeData" class="flex-column">
<!-- <v-row>
<v-col> <v-row>
<v-switch <v-switch
class="pl-1" v-model="changeData"
color="primary" class="pl-3 d-flex justify-end mt-3"
:model-value="true"> color="teal"
@click="changeData=!changeData">
</v-switch> </v-switch>
</v-col> </v-row>
</v-row> -->
<v-row> <v-row>
<v-col> <v-col>
<v-file-input <v-file-input
@@ -88,6 +88,20 @@
</v-col> </v-col>
</v-row> </v-row>
</v-card-text> </v-card-text>
<v-card-text v-else>
<v-row class="flex-grow-0 ">
<v-col class="pa-0 d-flex flex-column justify-center">
<v-switch
v-model="changeData"
class="pl-3 d-flex justify-end mt-3"
color="teal"
@click="changeData=!changeData">
</v-switch>
</v-col>
</v-row>
<v-row class="text-h5 text-center h-75" align-content="center">Данные не загружены</v-row>
</v-card-text>
</v-card> </v-card>
<div class="text-center"> <div class="text-center">
@@ -226,6 +240,7 @@ export default {
const menuGetUserDialog = ref(false) const menuGetUserDialog = ref(false)
const iduser = ref('') const iduser = ref('')
const result = ref({}) const result = ref({})
const changeData = ref(false)
const getcard = async (idus) => { const getcard = async (idus) => {
@@ -325,7 +340,8 @@ export default {
getcard, getcard,
result, result,
idpos, idpos,
namepos namepos,
changeData
} }
} }
+37 -13
View File
@@ -71,7 +71,13 @@
<v-btn <v-btn
color="black_and_white" color="black_and_white"
v-bind="props" v-bind="props"
dark icon="mdi-thumb-up-outline" /> dark icon="mdi-thumb-up-outline" >
<v-icon></v-icon>
<v-tooltip
activator="parent"
location="bottom"
>Обратная связь</v-tooltip>
</v-btn>
</template> </template>
@@ -80,17 +86,39 @@
@menusClose="LikeDialog = false" /> @menusClose="LikeDialog = false" />
</v-dialog> </v-dialog>
<v-tooltip location="bottom">
<template v-slot:activator="{ props }">
<v-btn icon @click="toggleTheme"> <v-btn icon @click="toggleTheme">
<v-icon <v-icon
v-bind="props"
class="mr-1" class="mr-1"
color="lampa"> color="lampa">
mdi-lightbulb-outline mdi-lightbulb-outline
</v-icon> </v-icon>
</v-btn> </v-btn>
<v-btn color="black_and_white" icon="mdi-magnify" /> </template>
<v-btn color="black_and_white" icon="mdi-account-multiple-outline" @click="drawer_right = !drawer_right" /> <span> Сменить тему</span>
<v-btn color="black_and_white" icon="mdi-logout" @click="accountStore.logout" /> </v-tooltip>
<v-tooltip location="bottom">
<template v-slot:activator="{ props }">
<v-btn color="black_and_white" icon="mdi-magnify" v-bind="props"/>
</template>
<span> Поиск </span>
</v-tooltip>
<v-tooltip location="bottom">
<template v-slot:activator="{ props }">
<v-btn color="black_and_white" icon="mdi-account-multiple-outline" @click="drawer_right = !drawer_right" v-bind="props"/>
</template>
<span> Скрыть пользователей </span>
</v-tooltip>
<v-tooltip location="bottom">
<template v-slot:activator="{ props }">
<v-btn color="black_and_white" icon="mdi-logout" @click="accountStore.logout" v-bind="props"/>
</template>
<span> Выход </span>
</v-tooltip>
</template> </template>
@@ -122,12 +150,6 @@
<template v-slot:prepend> <template v-slot:prepend>
<v-icon :icon="x.ico"/> <v-icon :icon="x.ico"/>
<v-tooltip
v-if="rail"
activator="parent"
location="top">
{{ x.name }}
</v-tooltip>
</template> </template>
</v-list-item> </v-list-item>
@@ -139,7 +161,8 @@
<v-list-item <v-list-item
v-bind="props" v-bind="props"
:title="x.name" :title="x.name"
:prepend-icon="x.ico" /> :prepend-icon="x.ico">
<v-tooltip <v-tooltip
v-if="rail" v-if="rail"
activator="parent" activator="parent"
@@ -147,6 +170,7 @@
> >
{{ x.name }} {{ x.name }}
</v-tooltip> </v-tooltip>
</v-list-item>
</template> </template>
<v-list-item v-for="(child, k) in x.submenu" <v-list-item v-for="(child, k) in x.submenu"
@@ -275,7 +299,7 @@
</v-main> </v-main>
<v-main v-else class="d-flex justify-center align-center text-h3 bg-teal-lighten-2"> <v-main v-else class="d-flex justify-center align-center text-h3 bg-teal-lighten-2">
<div> <div>
<p class="text-center">Добро пожаловать на портал МИ ФНС по ЦОД № 2</p> <p class="text-center">Добро пожаловать на портал МИ ФНС России по ЦОД № 2</p>
<p class="mt-3 text-subtitle-1 text-center">Авторизуйтесь для получения доступа к контенту портала</p> <p class="mt-3 text-subtitle-1 text-center">Авторизуйтесь для получения доступа к контенту портала</p>
</div> </div>
</v-main> </v-main>