feat [X-01]: я тут накоммитил
This commit is contained in:
1 parent
eaa8c66fe0
commit
4789883b8f
6 files changed
+71
-6
No files matched your search
@@ -28,7 +28,6 @@ const props = defineProps({
|
|||||||
async function getFullInfoList() {
|
async function getFullInfoList() {
|
||||||
try {
|
try {
|
||||||
const response = await axiosApiInstance.get('api/userauth/getdepartments')
|
const response = await axiosApiInstance.get('api/userauth/getdepartments')
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('Ошибка получения полной информации из справоника', 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>
|
<script setup>
|
||||||
import { checkremote } from "@/utils/universal_functions";
|
import { checkremote } from "@/utils/universal_functions";
|
||||||
import { spravURL } from "@/utils/axios-api";
|
import { spravURL } from "@/utils/axios-api";
|
||||||
import { ref } from 'vue'
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
person: {
|
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>
|
<template>
|
||||||
<v-app>
|
<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-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"
|
<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" />
|
: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"
|
<v-card v-if="accountStore.cod2user" class="bg-transparent py" color="black_and_white" density="compact"
|
||||||
:prepend-avatar="imageSrc" title="Портал МИ ФНС России по ЦОД № 2" variant="text" :to="'/'" />
|
:prepend-avatar="imageSrc" title="Портал МИ ФНС России по ЦОД № 2" variant="text" :to="'/'" />
|
||||||
<template v-slot:image>
|
<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 PageCounter from "@/components/UI/defaultportal/page-counter.vue";
|
||||||
import AdminMenu from "@/layouts/default/AdminMenu.vue";
|
import AdminMenu from "@/layouts/default/AdminMenu.vue";
|
||||||
|
|
||||||
|
|
||||||
import { useDisplay } from "vuetify";
|
import { useDisplay } from "vuetify";
|
||||||
|
import AppHeader from "./AppHeader.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -201,6 +203,7 @@ export default {
|
|||||||
VcardUser,
|
VcardUser,
|
||||||
PageCounter,
|
PageCounter,
|
||||||
AdminMenu,
|
AdminMenu,
|
||||||
|
AppHeader,
|
||||||
},
|
},
|
||||||
|
|
||||||
mixins: [uf],
|
mixins: [uf],
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ export default createVuetify({
|
|||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
defaultTheme: 'light',
|
defaultTheme: 'light',
|
||||||
|
options: {
|
||||||
|
customProperties: true
|
||||||
|
},
|
||||||
themes: {
|
themes: {
|
||||||
light: {
|
light: {
|
||||||
colors: {
|
colors: {
|
||||||
@@ -79,9 +82,6 @@ export default createVuetify({
|
|||||||
'card-background': '#1E1E1E'
|
'card-background': '#1E1E1E'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
options: {
|
|
||||||
customProperties: true
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user