feat [X-01]: я тут накоммитил
This commit is contained in:
1 parent
d72a30d368
commit
b4d19770b8
6 files changed
+73
-8
No files matched your search
@@ -28,7 +28,6 @@ const props = defineProps({
|
||||
async function getFullInfoList() {
|
||||
try {
|
||||
const response = await axiosApiInstance.get('api/userauth/getdepartments')
|
||||
|
||||
} catch (error) {
|
||||
console.log('Ошибка получения полной информации из справоника', error);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<v-tooltip text="F.A.Q." location="bottom">
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-btn icon="mdi-comment-question-outline" v-bind="props" @click="router.push('/faq')" location-strategy="connected" />
|
||||
</template>
|
||||
</v-tooltip>
|
||||
<v-tooltip text="Обратная связь" location="bottom">
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-btn icon="mdi-thumb-up-outline" v-bind="props"/>
|
||||
</template>
|
||||
</v-tooltip>
|
||||
<v-tooltip text="Сменить тему" location="bottom">
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-btn icon="mdi-lightbulb-outline" v-bind="props"/>
|
||||
</template>
|
||||
</v-tooltip>
|
||||
<!-- Сюда добавить проверку пользователи скрыты или нет (смена текста) от состояния -->
|
||||
<v-tooltip text="Скрыть пользователей" location="bottom">
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-btn icon="mdi-account-multiple-outline" v-bind="props"/>
|
||||
</template>
|
||||
</v-tooltip>
|
||||
<v-tooltip text="Выход" location="bottom">
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-btn icon="mdi-logout" v-bind="props"/>
|
||||
</template>
|
||||
</v-tooltip>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import router from '../../../router';
|
||||
</script>
|
||||
@@ -12,7 +12,6 @@
|
||||
<script setup>
|
||||
import { checkremote } from "@/utils/universal_functions";
|
||||
import { spravURL } from "@/utils/axios-api";
|
||||
import { ref } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
person: {
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<v-app-bar density="compact" color="teal-darken-4" elevation="1">
|
||||
<template v-slot:image>
|
||||
<v-img gradient="to top right, rgba(19,84,122,.8), rgba(128,208,199,.8)" />
|
||||
</template>
|
||||
<v-icon :icon="props.showSideBar ? 'mdi-chevron-right' : 'mdi-chevron-left'" rounded="0" @click="$emit('showSide')" class="pl-7" size="small"/>
|
||||
<v-col cols="3" class="d-flex align-center ml-3 cursor-pointer" @click="router.push('/')">
|
||||
<v-img :src="props.logo" max-height="45" max-width="45"/>
|
||||
<v-app-bar-title class="pl-2 text-h6 font-weight-bold">Портал МИ ФНС России по ЦОД № 2</v-app-bar-title>
|
||||
</v-col>
|
||||
<v-col class="d-flex justify-end align-center">
|
||||
<vcard-user :author="props.author"/>
|
||||
<AppNavigation />
|
||||
</v-col>
|
||||
</v-app-bar>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import router from '../../router';
|
||||
import vcardUser from '../../components/UI/fiousercard/vcardUser.vue';
|
||||
import AppNavigation from '../../components/UI/AppHeader/AppNavigation.vue';
|
||||
|
||||
|
||||
const props = defineProps({
|
||||
showSideBar: Boolean,
|
||||
logo: String,
|
||||
author: Object,
|
||||
})
|
||||
defineEmits(['showSide'])
|
||||
|
||||
|
||||
</script>
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<v-app>
|
||||
<!-- <AppHeader @show-side="rail = !rail" :showSideBar="rail" :logo="imageSrc" :author="accountStore.user"/> -->
|
||||
<v-app-bar :elevation="accountStore.cod2user ? 2 : 0" density="compact" color="app_bar" class="pl-4">
|
||||
<v-icon v-if="accountStore.cod2user" class="px-3" size="20" color="black_and_white"
|
||||
:icon="rail ? 'mdi-chevron-right' : 'mdi-chevron-left'" @click="rail = !rail" />
|
||||
|
||||
<v-card v-if="accountStore.cod2user" class="bg-transparent py" color="black_and_white" density="compact"
|
||||
:prepend-avatar="imageSrc" title="Портал МИ ФНС России по ЦОД № 2" variant="text" :to="'/'" />
|
||||
<template v-slot:image>
|
||||
@@ -191,7 +191,9 @@ import VcardUser from "@/components/UI/fiousercard/vcardUser.vue";
|
||||
import PageCounter from "@/components/UI/defaultportal/page-counter.vue";
|
||||
import AdminMenu from "@/layouts/default/AdminMenu.vue";
|
||||
|
||||
|
||||
import { useDisplay } from "vuetify";
|
||||
import AppHeader from "./AppHeader.vue";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -201,6 +203,7 @@ export default {
|
||||
VcardUser,
|
||||
PageCounter,
|
||||
AdminMenu,
|
||||
AppHeader,
|
||||
},
|
||||
|
||||
mixins: [uf],
|
||||
|
||||
@@ -7,16 +7,19 @@ import { ru } from 'vuetify/locale'
|
||||
|
||||
|
||||
export default createVuetify({
|
||||
|
||||
|
||||
locale: {
|
||||
messages: { ru, },
|
||||
},
|
||||
components: {
|
||||
VCalendar,
|
||||
|
||||
|
||||
},
|
||||
theme: {
|
||||
defaultTheme: 'light',
|
||||
options: {
|
||||
customProperties: true
|
||||
},
|
||||
themes: {
|
||||
light: {
|
||||
colors: {
|
||||
@@ -79,9 +82,6 @@ export default createVuetify({
|
||||
'card-background': '#1E1E1E'
|
||||
},
|
||||
},
|
||||
options: {
|
||||
customProperties: true
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user