Files
PORTAL_COD2/src/front/src/views/AboutInspectionPage.vue
T
2024-03-27 09:58:26 +03:00

175 lines
8.7 KiB
Vue

<template>
<v-row no-gutters class="flex-column h-100 gap pa-1">
<v-col class="w100 h-100 flex-grow-0">
<v-card>
<v-tabs v-model="tab" bg-color="teal-darken-1" slider-color="teal-lighten-3" :grow="true">
<v-tab v-for="tabitem in tabs_items" :value="tabitem.value">{{ tabitem.title }}</v-tab>
</v-tabs>
</v-card>
</v-col>
<v-col>
<v-window v-model="tab" class="h-100">
<v-window-item value="mainInfo">
<v-row no-gutters class="mt-8">
<v-col lg="3">
<v-col>
<v-card>
<v-card-title class="text-h6 text-uppercase text-center"> Начальник
инспекции</v-card-title>
<v-divider></v-divider>
<v-avatar class="ma-3" rounded="0" size="200">
<v-img :src="checkremote(`${spravURL}${userlinks.login}.jpg`)"></v-img>
</v-avatar>
<v-card-title class="text-h6">{{ userlinks.fio }}</v-card-title>
<v-card-text class="mb-6">
<p>{{ bossRank }}</p>
</v-card-text>
</v-card>
</v-col>
<v-col>
<v-card>
<v-card-title class="text-h6 text-center text-uppercase">
Штатная численность
</v-card-title>
<v-card-subtitle class="text-center">по состоянию на {{ date_now }}</v-card-subtitle>
<v-card-text class="text-h2 text-center mt-5 mb-5">
80
</v-card-text>
<v-divider></v-divider>
<v-card-title class="text-h6 text-center text-uppercase">
Фактическая численность
</v-card-title>
<v-card-subtitle class="text-center">по состоянию на {{ date_now }}</v-card-subtitle>
<v-card-text class="text-h2 text-center mt-5 mb-5">
79
</v-card-text>
</v-card>
</v-col>
</v-col>
<v-col lg="9">
<v-col>
<v-card>
<v-card-title class=" text-h6 text-uppercase text-center">
Основные направления деятельности инспекции
</v-card-title>
<v-divider></v-divider>
<v-row no-gutters class="d-flex justify-center">
<v-col v-for="direction in direction_works" class=" mt-8 mb-8" lg="10">
<v-banner class="text-h6" :icon="direction.icon">
{{ direction.title }}
</v-banner>
</v-col>
</v-row>
</v-card>
</v-col>
</v-col>
</v-row>
</v-window-item>
<v-window-item no-gutters class="gap h-100" value="structureInspection">
<h1>Структура инспекции</h1>
</v-window-item>
<v-window-item no-gutters class="gap h-100" value="openVacancies">
<h1>Открытые вакансии</h1>
</v-window-item>
<v-window-item no-gutters class="gap h-100" value="contactInfo">
<v-col lg="12" class=" d-flex flex-column mt-10 pt-10">
<v-col no-gutters class=" d-flex justify-center">
<div style="height:500px; width:600px">
<l-map :zoom="13" :min-zoom="13" :center="[55.83451, 37.40848]">
<l-tile-layer :url="`${baseURL}/media/Tiles/{z}/{x}/{y}.png`"></l-tile-layer>
<l-marker :lat-lng="[55.83451, 37.40848]"> </l-marker>
</l-map>
</div>
</v-col>
<v-col lg="12" class=" d-flex justify-center">
<v-col lg="5">
<v-card>
<v-card-text class="text-h7 text-uppercase text-center">
<p>{{ address.title }}</p>
<p><a class="text-decoration-none" :href="address.link_address">{{ address.link
}}</a></p>
</v-card-text>
</v-card>
</v-col>
</v-col>
</v-col>
</v-window-item>
</v-window>
</v-col>
</v-row>
</template>
<script>
import { ref } from 'vue'
import { axiosApiInstance } from '@/utils/axios-api'
import { checkremote } from '@/utils/universal_functions'
import { spravURL, baseURL } from '@/utils/axios-api'
import "leaflet/dist/leaflet.css";
import { LMap, LTileLayer, LMarker } from "@vue-leaflet/vue-leaflet";
import L from 'leaflet'
export default {
components: {
LMap,
LTileLayer,
LMarker,
L
},
setup() {
const userlinks = ref([])
const infouser = () => {
axiosApiInstance.get('api/accounts/getuser/?userlogin=9966-00-001').then(res => {
userlinks.value = res.data
})
}
infouser()
return {
spravURL,
baseURL,
checkremote,
userlinks,
tab: ref(null),
date_now: new Date().toLocaleDateString("ru-RU"),
address: {
"title": "125373, Москва, Походный проезд, двл.3, стр 1, Телефон: 8(495) 198-53 - 12",
"link": "www.nalog.ru",
"link_address": "https://www.nalog.gov.ru/rn77/about_fts/fts/structure_fts/mri_fns/cod2/"
},
bossRank: "Государственный советник Российской Федерации 2 класса",
tabs_items: [{ "title": "Общая информация", "value": "mainInfo" },
{ "title": "Структура инспекции", "value": "structureInspection" },
{ "title": "Открытые вакансии", "value": "openVacancies" },
{ "title": "Контактная информация", "value": "contactInfo" }],
direction_works: [
{ "icon": "mdi-laptop", "title": "Сопровождение и развитие внешнихи внутренних интерактивных сервисов ФНС России" },
{ "icon": "mdi-lan", "title": "Поддержка пользователей информационной системы «Платформа поставки данных» ФНС России" },
{ "icon": "mdi-microscope", "title": "Мониторинг качества данных, содержащихся в автоматизированной информационной системе ФНС России" },
{ "icon": "mdi-magnify", "title": " Мониторинг качества и своевременности разработки/доработки паспортов функций технологических процессов ФНС России" },
{ "icon": "mdi-account-multiple", "title": "Построение и сопровождение процессов обработки обращений граждан" },
],
}
}
}
</script>
<style>
.leaflet-control-attribution {
display: none;
}
</style>