P-13 3 раздела

This commit is contained in:
iriska-gri committed 2024-05-08 12:40:57 +03:00
1 parent 4ec8b6188f
commit 7443c956c7
6 files changed
+401 -433

No files matched your search

@@ -1,174 +1,246 @@
<template>
<!-- <v-row class="ma-1">
<v-col lg="6" class="d-flex justify-center align-start">
<v-card :elevation="5">
<div style="width:915px;height:832px; ">
<l-map :zoom="13" :min-zoom="13" :center="markers[0].coordinate">
<l-tile-layer :url="`${baseURL}media/Tiles/{z}/{x}/{y}.png`" />
<l-marker v-for="marker in markers" :key="marker" :lat-lng="marker.coordinate"
:icon="icon(marker.icon)">
<l-tooltip>
<p>{{ marker.tooltip }}</p>
<p style="max-width: 20%; min-width: 20%; word-wrap: break-word;">{{ marker.tooltip_bus }}
</p>
</l-tooltip>
</l-marker>
</l-map>
</div>
</v-card>
</v-col>
<v-col lg="6" class="d-flex flex-column gap">
<v-card :elevation="5">
<v-card-title class="d-flex justify-center bg-teal-lighten-5 text-teal-darken-4">
<v-row>
<v-col lg="5" class="d-flex justify-center">Адрес</v-col>
<v-col lg="6" class="d-flex justify-center">Время работы</v-col>
</v-row>
</v-card-title>
<v-row class="d-flex justify-center align-center">
<v-col lg="4">
<v-card-text class="text-subtitle-1">
{{ address.building }}
</v-card-text>
<v-card-text class="text-subtitle-1">
{{ address.phone }}
</v-card-text>
</v-col>
<v-col lg="7">
<v-list>
<v-list-item v-for="work_time in work_times">
<v-row>
<v-col lg="6" class="text-subtitle-1 d-flex justify-center align-center">{{
work_time.day
}}</v-col>
<v-col lg="6" class="text-subtitle-1 d-flex justify-center align-center">{{
work_time.time
}}</v-col>
</v-row>
</v-list-item>
</v-list>
</v-col>
</v-row>
</v-card>
<v-card :elevation="5">
<v-card-title class="text-h6 d-flex justify-center bg-teal-lighten-5 text-teal-darken-4">
Способ проезда
</v-card-title>
<v-row no-gutters class="h-100 gap">
<v-col lg="5" md="12" sm="12" xs="12" class="flex-column d-flex">
<v-card elevation="5" class="h-100" min-height="250">
<l-map :zoom="14" :min-zoom="14" :center="markers[0].coordinate">
<l-tile-layer :url="`${baseURL}media/Tiles/{z}/{x}/{y}.png`" />
<l-marker
v-for="marker in markers"
:key="marker"
:lat-lng="marker.coordinate"
:icon="icon(marker.icon)"
>
<l-tooltip>
<p>{{ marker.tooltip }}</p>
<p style="max-width: 20%; min-width: 20%; word-wrap: break-word">
{{ marker.tooltip_bus }}
</p>
</l-tooltip>
</l-marker>
</l-map>
</v-card>
</v-col>
<v-col class="flex-column">
<v-row no-gutters class="h-100 gap flex-column">
<v-col lg="3" class="w100 flex-column">
<v-card class="h-100 flex-column d-flex" elevation="5">
<v-card-title
class="d-flex justify-center bg-teal-lighten-5 text-teal-darken-4"
>
<v-row>
<v-col lg="5" class="d-flex justify-center">Адрес</v-col>
<v-col lg="6" class="d-flex justify-center">Время работы</v-col>
</v-row>
</v-card-title>
<v-row class="d-flex justify-center align-center">
<v-col lg="4">
<v-card-text class="text-subtitle-1">
<v-list>
<v-list-item v-for="address_path in address_pathes" class="pa-7">
<strong>{{ address_path.title_path }}</strong>{{ address_path.path }}
</v-list-item>
</v-list>
{{ address.building }}
</v-card-text>
</v-card>
<v-card-text class="text-subtitle-1">
{{ address.phone }}
</v-card-text>
</v-col>
<v-col lg="7">
<v-list>
<v-list-item v-for="work_time in work_times" :key="work_time">
<v-row>
<v-col
lg="6"
class="text-subtitle-1 d-flex justify-center align-center"
>{{ work_time.day }}</v-col
>
<v-col
lg="6"
class="text-subtitle-1 d-flex justify-center align-center"
>{{ work_time.time }}</v-col
>
</v-row>
</v-list-item>
</v-list>
</v-col>
</v-row>
</v-card>
</v-col>
</v-row> -->
<v-row>
<v-col class="bg-red">
1
<v-col>
<v-card class="h-100 flex-column d-flex" elevation="5">
<v-card-title
class="text-h6 d-flex justify-center bg-teal-lighten-5 text-teal-darken-4"
>
Способ проезда
</v-card-title>
<v-card-text class="text-subtitle-1">
<v-list lines="three">
<v-list-item
v-for="address_path in address_pathes"
:key="address_path"
>
<strong>{{ address_path.title_path }}</strong
>{{ address_path.path }}
</v-list-item>
</v-list>
</v-card-text>
</v-card>
</v-col>
</v-row>
</v-row>
</v-col>
</v-row>
</template>
<script>
import { ref } from 'vue'
import { baseURL } from '@/utils/axios-api'
import { ref } from "vue";
import { baseURL } from "@/utils/axios-api";
import "leaflet/dist/leaflet.css";
import { LMap, LTileLayer, LMarker, LTooltip } from "@vue-leaflet/vue-leaflet";
import { L, icon } from "leaflet"
import { L, icon } from "leaflet";
export default {
components: {
LMap,
LTileLayer,
LMarker,
LTooltip,
L,
icon
},
setup() {
components: {
LMap,
LTileLayer,
LMarker,
LTooltip,
L,
icon,
},
setup() {
const pathbuild = (icon) => {
return `${baseURL}media/map_icons/${icon}.png`;
};
const icons = {
icon_cod: {
iconUrl: pathbuild(`fns`),
iconSize: [30, 30],
iconAnchor: [16, 40],
},
icon_metro: {
iconUrl: pathbuild(`mos_metro`),
iconSize: [30, 25],
iconAnchor: [10, 20],
},
icon_mcd: {
iconUrl: pathbuild(`mcd_d2`),
iconSize: [32, 18],
iconAnchor: [10, 20],
},
icon_bus: {
iconUrl: pathbuild(`bus`),
iconSize: [18, 18],
iconAnchor: [1, 1],
},
};
const markers = ref([
{
coordinate: [55.83451, 37.40848],
icon: icons.icon_cod,
tooltip: "МИ ФНС России по ЦОД №2",
tooltip_bus: "",
},
{
coordinate: [55.83309, 37.39933],
icon: icons.icon_mcd,
tooltip: 'МЦД D2: пл."Трикотажная"',
tooltip_bus: "",
},
{
coordinate: [55.82741, 37.43715],
icon: icons.icon_metro,
tooltip: 'Ст.метро: "Тушинская"',
tooltip_bus: "",
},
{
coordinate: [55.82705, 37.4411],
icon: icons.icon_mcd,
tooltip: 'МЦД D2: пл. "Тушинская"',
tooltip_bus: "",
},
{
coordinate: [55.8496, 37.43925],
icon: icons.icon_metro,
tooltip: 'Ст.метро: "Сходненская"',
tooltip_bus: "",
},
{
coordinate: [55.835274, 37.411052],
icon: icons.icon_bus,
tooltip: 'Остановка: "Налоговый городок"',
tooltip_bus: "Автобусы:№368, №с377",
},
{
coordinate: [55.833193, 37.400858],
icon: icons.icon_bus,
tooltip: 'Остановка:"МЦД Трикотажная"',
tooltip_bus: "Автобусы: №26, №368, №с377, №с396",
},
{
coordinate: [55.82524, 37.43575],
icon: icons.icon_bus,
tooltip: 'Остановка: "метро Тушинская", выход:5 ',
tooltip_bus: "Автобусы: №400, №741, №741к, №856, №436, №575",
},
{
coordinate: [55.8501, 37.43905],
icon: icons.icon_bus,
tooltip: 'Остановка: "метро Сходненская", выход:9',
tooltip_bus: "Автобус: №368",
},
{
coordinate: [55.83607, 37.40569],
icon: icons.icon_bus,
tooltip: 'Остановка "Храм Сергия Радонежского"',
tooltip_bus: "Автобусы: №88, №488, №с377, №с396",
},
{
coordinate: [55.83132, 37.4034],
icon: icons.icon_bus,
tooltip: 'Остановка "МЦД Трикотажная"',
tooltip_bus: "Автобусы: №2, №210, №400Т, №741, №741к, №856, №436, №575",
},
]);
const pathbuild = (icon) => {
return `${baseURL}media/map_icons/${icon}.png`
}
const icons = {
icon_cod: {
iconUrl: pathbuild(`fns`),
iconSize: [30, 30],
iconAnchor: [16, 40]
},
icon_metro: {
iconUrl: pathbuild(`mos_metro`),
iconSize: [30, 25],
iconAnchor: [10, 20]
},
icon_mcd: {
iconUrl: pathbuild(`mcd_d2`),
iconSize: [32, 18],
iconAnchor: [10, 20]
},
icon_bus: {
iconUrl: pathbuild(`bus`),
iconSize: [18, 18],
iconAnchor: [1, 1]
}
return {
icons,
markers,
icon,
address: {
building: "125373, Москва, Походный проезд, двл.3, стр 1",
phone: "Телефон: 8(495) 198-53-12",
},
address_pathes: [
{
title_path: "От станции МЦД «Трикотажная»,",
path: 'на автобусе 368, до остановки "Налоговый городок" или пешком (10 минут) до территории Налоговго городка',
},
{
title_path: "От станции метро «Сходненская», выход:9,",
path: " 1-й вагон из центра, далее на автобусе № 368",
},
{
title_path: "От станции МЦД «Тушинская»,",
path: " проехать одну остановку до станции МЦД «Трикотажная» и далее на автобусе 368 до остановки «Налоговый городок» или пешком(10 минут) до территории Налогового городка",
},
{
title_path: "От станции метро «Тушинская», выход:5,",
path: " последний вагон из центра, автобусы №2, №210, №400Т, №741, №741к, №856, №436, №575 до остановки «пл. Трикотажная» или от станции МЦД «Тушинская» проехать одну остановку до станции МЦД «Трикотажная» и далее на автобусе 368 до остановки «Налоговый городок» или пешком(10 минут) до территории Налогового городка",
},
{
title_path: "От остановки автобуса «Храм Сергия Радонежского»",
path: " и далее пешком (10 минут) до территории Налоговго городка",
},
],
}
const markers = ref([
{ coordinate: [55.83451, 37.40848], icon: icons.icon_cod, tooltip: "МИ ФНС России по ЦОД №2", tooltip_bus: "" },
{ coordinate: [55.83309, 37.39933], icon: icons.icon_mcd, tooltip: "МЦД D2: пл.\"Трикотажная\"", tooltip_bus: "" },
{ coordinate: [55.82741, 37.43715], icon: icons.icon_metro, tooltip: "Ст.метро: \"Тушинская\"", tooltip_bus: "" },
{ coordinate: [55.82705, 37.4411], icon: icons.icon_mcd, tooltip: "МЦД D2: пл. \"Тушинская\"", tooltip_bus: "" },
{ coordinate: [55.8496, 37.43925], icon: icons.icon_metro, tooltip: "Ст.метро: \"Сходненская\"", tooltip_bus: "" },
{ coordinate: [55.835274, 37.411052], icon: icons.icon_bus, tooltip: "Остановка: \"Налоговый городок\"", tooltip_bus: "Автобусы:№368, №с377" },
{ coordinate: [55.833193, 37.400858], icon: icons.icon_bus, tooltip: "Остановка:\"МЦД Трикотажная\"", tooltip_bus: "Автобусы: №26, №368, №с377, №с396" },
{ coordinate: [55.82524, 37.43575], icon: icons.icon_bus, tooltip: "Остановка: \"метро Тушинская\", выход:5 ", tooltip_bus: "Автобусы: №400, №741, №741к, №856, №436, №575" },
{ coordinate: [55.8501, 37.43905], icon: icons.icon_bus, tooltip: "Остановка: \"метро Сходненская\", выход:9", tooltip_bus: "Автобус: №368" },
{ coordinate: [55.83607, 37.40569], icon: icons.icon_bus, tooltip: "Остановка \"Храм Сергия Радонежского\"", tooltip_bus: "Автобусы: №88, №488, №с377, №с396" },
{ coordinate: [55.83132, 37.40340], icon: icons.icon_bus, tooltip: "Остановка \"МЦД Трикотажная\"", tooltip_bus: "Автобусы: №2, №210, №400Т, №741, №741к, №856, №436, №575" },
])
return {
icons,
markers,
icon,
address: {
"building": "125373, Москва, Походный проезд, двл.3, стр 1",
"phone": "Телефон: 8(495) 198-53-12"
},
address_pathes: [
{ "title_path": "От станции МЦД «Трикотажная»,", "path": "на автобусе 368, до остановки \"Налоговый городок\" или пешком (10 минут) до территории Налоговго городка" },
{ "title_path": "От станции метро «Сходненская», выход:9,", "path": " 1-й вагон из центра, далее на автобусе № 368" },
{ "title_path": "От станции МЦД «Тушинская»,", "path": " проехать одну остановку до станции МЦД «Трикотажная» и далее на автобусе 368 до остановки «Налоговый городок» или пешком(10 минут) до территории Налогового городка" },
{ "title_path": "От станции метро «Тушинская», выход:5,", "path": " последний вагон из центра, автобусы №2, №210, №400Т, №741, №741к, №856, №436, №575 до остановки «пл. Трикотажная» или от станции МЦД «Тушинская» проехать одну остановку до станции МЦД «Трикотажная» и далее на автобусе 368 до остановки «Налоговый городок» или пешком(10 минут) до территории Налогового городка" },
{ "title_path": "От остановки автобуса «Храм Сергия Радонежского»", "path": " и далее пешком (10 минут) до территории Налоговго городка" },
],
work_times: [
{ "day": "Понедельник - Четверг", "time": "09:00 - 18:00" },
{ "day": "Пятница", "time": "09:00 - 16:45" },
{ "day": "Суббота - Воскресенье", "time": "Выходной" },
],
baseURL,
}
}
}
work_times: [
{ day: "Понедельник - Четверг", time: "09:00 - 18:00" },
{ day: "Пятница", time: "09:00 - 16:45" },
{ day: "Суббота - Воскресенье", time: "Выходной" },
],
baseURL,
};
},
};
</script>
<style>
.leaflet-control-attribution {
display: none;
display: none;
}
</style>
</style>
@@ -26,7 +26,7 @@
<v-row no-gutters class="gap">
<v-col lg="3" class="flex-column">
<v-row no-gutters class="gap flex-column h-100">
<v-col class="w100 ">
<v-col class="w100">
<v-card class="h-100">
<v-card-title class="text-h6 text-uppercase text-center">
Начальник инспекции</v-card-title
@@ -98,23 +98,50 @@
</v-col>
</v-row>
</v-col>
<v-col class="bg-yellow">
<v-col>
<!-- v-for="direction in " -->
<v-card class="h-100 flex-column d-flex">
<v-card-title class="text-h6 text-uppercase text-center ">
<v-card-title class="text-h6 text-uppercase text-center">
Основные направления деятельности инспекции
</v-card-title>
<v-divider class="pb-3"/>
<v-row no-gutters class=" gap justify-center ">
<!-- v-for="direction in directionworks" -->
<v-col
v-for="direction in 10"
:key="direction.id"
<v-divider class="pb-3" />
<v-row
no-gutters
class="gap"
:class="lgAndUp ? 'h-0 overflow-auto' : ''"
>
<v-col class="flex-column d-flex">
<v-col
class="px-3 py-2 flex-grow-0"
v-for="direction in directionworks"
:key="direction.id"
>
<v-card class="d-flex" :elevation="3">
<v-col class="d-flex align-center">
<v-avatar
class="elevation-10 text-teal-darken-4"
color="teal-lighten-5"
>
<v-icon :icon="direction.icon_name"></v-icon>
</v-avatar>
</v-col>
<v-col
class="d-flex align-center justify-start text-h6"
>
{{ direction.direction_title }}
</v-col>
</v-card>
</v-col>
</v-col>
<!-- <v-col
lg="12"
class="px-3"
v-for="direction in 10"
:key="direction.id"
>
<v-card class="d-flex" :elevation="3">
<v-col class="d-flex align-center justify-center">
<v-col class="d-flex align-center justify-center">
<v-avatar
class="elevation-10 text-teal-darken-4"
color="teal-lighten-5"
@@ -129,7 +156,7 @@
{{ direction.direction_title }}
</v-col>
</v-card>
</v-col>
</v-col> -->
</v-row>
</v-card>
</v-col>
@@ -145,9 +172,11 @@ import { ref } from "vue";
import { axiosApiInstance } from "@/utils/axios-api";
import { checkremote } from "@/utils/universal_functions";
import { spravURL, baseURL } from "@/utils/axios-api";
import { useDisplay } from "vuetify";
export default {
setup() {
const { lgAndUp } = useDisplay();
const userlinks = ref([]);
const getfactsize = ref({ factsize: 0, date_created: new Date() });
const getstatesize = ref({ statesize: 0, date_created: new Date() });
@@ -195,6 +224,7 @@ export default {
getfactsize,
spravURL,
baseURL,
lgAndUp,
date_now: new Date().toLocaleDateString("ru-RU"),
caCuratorLink: ref(
@@ -1,72 +1,121 @@
<template>
<div>
<v-row no-gutters class="gap h-100 flex-column">
<v-col lg="3" class="flex-column w100">
<structure-inspection-row :sText="'Руководство'">
<template v-slot:cardboss>
<v-col lg="3" class="flex-column d-flex align-center" v-for="structure in structures" :key="structure.id">
<v-card class="flex-column d-flex mr-1" :width="370" :elevation="10">
<v-card-text class="pa-0">
<v-row no-gutters class="h-100 gap">
<v-col class="flex-grow-0 d-flex d-sm-none d-lg-none d-xl-flex">
<v-row no-gutters class="flex-column">
<v-col lg="4">
<span class="vertext text-button my-1 pb-8">Руководство</span>
</v-col>
<v-col>
<span class="vertext text-button my-1 pb-13"
>Структурные подразделения</span
>
</v-col>
</v-row>
</v-col>
<v-col class="d-flex ">
<v-row no-gutters :class="smAndDown ? ' flex-column' : ''">
<v-col
:md="mdAndDown ? '12' : ''"
:lg="lgAndDown ? 6 : ''"
class="w100 flex-column d-flex"
v-for="structure in structures"
:key="structure.id"
>
<v-row no-gutters class="flex-grow-0">
<v-col class="flex-column d-flex">
<v-row no-gutters class="mb-2 mt-1 justify-center d-flex mx-1">
<v-card class="flex-column d-flex flex-grow-1" :elevation="10">
<v-card-text class="pa-0">
<v-col lg="12" class="pa-0">
<v-row no-gutters>
<v-col
class="d-flex py-3 justify-center align-center font-weight-medium text-uppercase"
>
{{ structure.post }}
</v-col>
</v-row>
</v-col>
<v-row no-gutters>
<v-col lg="4" class="pa-1 heightfoto">
<v-img
class="h-100"
:src="checkremote(`${spravURL}${structure.login}.jpg`)"
cover
/>
</v-col>
<v-col
class="text-center align-self-center font-weight-medium"
>
{{ structure.fio }}
</v-col>
</v-row>
</v-card-text>
</v-card> </v-row>
</v-col>
<!-- :class="mdAndDown ? 'flex-column gap' : ''" -->
</v-row>
<v-row no-gutters :class="lgAndDown ?'':'gap h-0 overflow-auto'">
<v-col lg=12 >
<v-row
no-gutters
class="gap mb-1"
v-for="boss in structure.deps"
:key="boss.id"
>
<v-col class="d-flex flex-column">
<v-card
class="flex-column d-flex flex-grow-1 mx-1"
:elevation="5"
>
<v-card-text class="pa-1 pt-3 px-3 flex-column">
<v-col lg="12" class="minh pa-0">
<v-row no-gutters>
<v-col class="d-flex h-75 justify-center align-center font-weight-medium text-uppercase">
{{ structure.post }}
<v-col
class="text-wrap text-center text-body-2 font-weight-medium text-uppercase"
>
{{ boss.name }}
</v-col>
<v-col class="flex-grow-0">
<v-tooltip location="top">
<template v-slot:activator="{ props }">
<span v-bind="props">
<v-icon
size="large"
color="green"
icon="mdi-arrow-top-right"
/>
</span>
</template>
<v-row>
<v-col> Перейти на страницу отдела </v-col>
</v-row>
</v-tooltip>
</v-col>
</v-row>
</v-col>
<v-row no-gutters>
<v-col lg="4" class="pa-1 heightfoto">
<v-img class="h-100" :src="checkremote(`${spravURL}${structure.login}.jpg`)" cover />
</v-col>
<v-col class="text-center align-self-center font-weight-medium">
{{ structure.fio }}
</v-col>
<list-user :author="boss.chief_deps" />
</v-row>
</v-card-text>
</v-card>
</v-col>
</template>
</structure-inspection-row>
</v-col>
<v-col>
<structure-inspection-row :sText="'Структурные подразделения'">
<template v-slot:cardboss>
<v-col class="flex-column d-flex align-center" v-for="bosses in structures" :key="bosses">
<div v-for="boss in bosses.deps" :key="boss.id">
<v-card class="flex-column d-flex mb-1 mr-1 width-subdeps" :elevation="5">
<v-card-text class="pa-1 pt-3 px-3 flex-column">
<v-col lg="12" class=" minh pa-0">
<v-row no-gutters>
<v-col class="text-wrap text-center text-body-2 font-weight-medium text-uppercase ">
{{ boss.name }}
</v-col>
<v-col class="flex-grow-0">
<v-tooltip location="top">
<template v-slot:activator="{ props }">
<span v-bind="props">
<v-icon size="large" color="green" icon="mdi-arrow-top-right" />
</span>
</template>
<v-row>
<v-col> Перейти на страницу отдела </v-col>
</v-row>
</v-tooltip>
</v-col>
</v-row>
</v-col>
<v-row no-gutters>
<list-user :author="boss.chief_deps" />
</v-col> </v-row>
</v-col>
</v-row>
<!-- -->
<!-- -->
</v-col>
</v-row>
</v-col>
</v-row>
</v-row>
</v-card-text>
</v-card>
</div>
</v-col>
</template>
</structure-inspection-row>
</v-col>
</v-row>
</div>
</template>
<script>
@@ -75,17 +124,18 @@ import { spravURL } from "@/utils/axios-api";
import { checkremote } from "@/utils/universal_functions";
import { axiosApiInstance } from "@/utils/axios-api";
import StructureInspectionRow from "./StructureInspectionRow.vue";
import ListUser from "../../UI/fiousercard/ListUser.vue";
import { useDisplay } from "vuetify";
export default {
components: { StructureInspectionRow, ListUser },
components: { StructureInspectionRow },
setup() {
const structures = ref([]);
const { smAndDown, mdAndDown, lgAndDown } = useDisplay();
const getStructure = () => {
axiosApiInstance.get("api/about_inspection/getstructure/").then((res) => {
structures.value = res.data;
console.log(structures.value)
console.log(structures.value);
});
};
@@ -94,12 +144,20 @@ export default {
structures,
checkremote,
spravURL,
mdAndDown,
lgAndDown,
smAndDown
};
},
};
</script>
<style>
.vertext {
writing-mode: vertical-rl;
transform: rotate(180deg);
}
.deps-title {
height: 90px;
}
@@ -108,12 +166,6 @@ export default {
transform: rotate(-90deg);
}
.page_block {
margin: 0px;
padding: 10px;
}
.minh {
min-height: 43px;
}
@@ -123,7 +175,7 @@ export default {
min-height: 140px;
}
.width-subdeps {
/* .width-subdeps {
width: 350px;
}
} */
</style>
@@ -38,8 +38,5 @@ export default {
</script>
<style>
.vertext {
writing-mode: vertical-rl;
transform: rotate(180deg);
}
</style>
@@ -84,7 +84,7 @@
</template>
<span> Сменить тему</span>
</v-tooltip>
<v-card class="text-lg-h6 text-md-h3 text-sm-caption text-red-lighten-2" width="50">1</v-card>
<v-card class="" width="50">{{name}}</v-card>
<v-tooltip location="bottom">
<template v-slot:activator="{ props }">
@@ -302,6 +302,7 @@ import VcardUser from '@/components/UI/fiousercard/vcardUser.vue'
import PageCounter from '@/components/UI/defaultportal/page-counter.vue'
import DefaultPortalMenuList from '@/layouts/default/DefaultPortalMenuList.vue'
import {getDevelopment} from '@/utils/universal_functions'
import { useDisplay } from 'vuetify'
export default {
@@ -317,8 +318,7 @@ export default {
mixins: [uf],
setup() {
const { name } = useDisplay()
const theme = useTheme();
const mainmenuStore = useMainmenuStore()
const accountStore = useAccountStore()
@@ -331,7 +331,10 @@ export default {
const alert = ref(false)
const burl = baseURL.slice(0,-1)
const scrimg = ref([])
const screenimg = () => {
if(!accountStore.cod2user){
@@ -484,7 +487,7 @@ export default {
// feedalert,
alert,
burl,
name,
closeinfo,
baseURL,
getDevelopment
+1 -187
View File
@@ -15,189 +15,14 @@
</v-window-item>
</template>
</pattern-tabs>
<!-- -->
<!-- <v-row no-gutters class="flex-column h-100 gap">
<v-col class="w100 bg-green flex-grow-0">
<v-card>
<v-tabs
v-model="tab"
bg-color="teal-darken-1"
slider-color="teal-lighten-3"
selected-class="active-tab"
: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 class="gap h-100" value="mainInfo">
<v-row>
<v-col class="bg-red">
1
</v-col>
</v-row> -->
<!-- <v-row class="ma-1">
<v-row no-gutters>
<v-col class="d-flex flex-column gap">
<v-card>
<v-card-text class="text-h6 text-center">
<p>
Межрегиональная инспекция Федеральной налоговой службы по
централизованной обработке данных №2
</p>
<p>
создана 01.02.2018 года в соответствии с приказом ФНС
России от 27.12.2017 №ММВ-7-4/1102
</p>
</v-card-text>
<v-card-text class="text-h6 text-center">
<a class="text-decoration-none" :href="caCuratorLink"
>Работа МИ ФНС России по ЦОД №2 координируется
заместителем руководителя ФНС России Будариным Андреем
Владимировичем</a
>
</v-card-text>
</v-card>
</v-col>
</v-row>
<v-row>
<v-col lg="3" class="d-flex flex-column gap">
<v-card>
<v-card-title class="text-h6 text-uppercase text-center">
Начальник инспекции</v-card-title
>
<v-divider></v-divider>
<div class="w-100 d-flex justify-center">
<v-avatar rounded="0" size="200">
<v-img
:src="checkremote(`${spravURL}${userlinks.login}.jpg`)"
></v-img>
</v-avatar>
</div>
<v-card-title class="text-h6 text-center">{{
userlinks.fio
}}</v-card-title>
<v-card-text class="text-center">
<p>{{ bossRank }}</p>
</v-card-text>
</v-card>
<v-card>
<v-card-title class="text-h6 text-center text-uppercase">
Штатная численность
</v-card-title>
<v-card-text class="text-h2 text-center ma-7">
<vue3-autocounter
ref="counter"
:startAmount="0"
:endAmount="getstatesize.statesize"
:duration="2"
/>
</v-card-text>
<v-card-subtitle class="text-center"
>по состоянию на
{{
new Date(getstatesize.date_created).toLocaleDateString(
"ru-RU"
)
}}
</v-card-subtitle>
<v-divider></v-divider>
<v-card-title class="text-h6 text-center text-uppercase">
Фактическая численность
</v-card-title>
<v-card-text class="text-h2 text-center ma-8">
<vue3-autocounter
ref="counter"
:startAmount="0"
:endAmount="getfactsize.factsize"
:duration="2"
/>
</v-card-text>
<v-card-subtitle class="text-center"
>по состоянию на
{{
new Date(getfactsize.date_created).toLocaleDateString(
"ru-RU"
)
}}
</v-card-subtitle>
</v-card>
</v-col>
<v-col lg="9">
<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 directionworks"
:key="direction.id"
lg="12"
>
<v-card class="ma-3 d-flex" :elevation="3" :height="104">
<v-col class="d-flex align-center justify-center">
<v-avatar
class="elevation-10 text-teal-darken-4"
color="teal-lighten-5"
>
<v-icon :icon="direction.icon_name"></v-icon>
</v-avatar>
</v-col>
<v-col
lg="11"
class="d-flex align-center justify-start text-h6"
>
{{ direction.direction_title }}
</v-col>
</v-card>
</v-col>
</v-row>
</v-card>
</v-col>
</v-row>
</v-row> -->
<!-- </v-window-item>
<v-window-item class="gap h-100" value="structureInspection">
<structure-inspection />
</v-window-item>
<v-window-item class="gap h-100" value="openVacancies">
<h1>Открытые вакансии</h1>
</v-window-item>
<v-window-item class="gap h-100" value="contactInfo">
<contact-info />
</v-window-item>
</v-window>
</v-col>
</v-row> -->
</template>
<script>
import { ref } from "vue";
import { axiosApiInstance } from "@/utils/axios-api";
import { spravURL, baseURL } from "@/utils/axios-api";
import StructureInspection from "@/components/about_inspection/structure/StructureInspection.vue";
import ContactInfo from "@/components/about_inspection/contacts/ContactInfo.vue";
import { pagecounter } from "@/utils/universal_functions";
import PatternTabs from "@/components/UI/PatternTabs.vue";
import GeneralInformation from '@/components/about_inspection/пeneral_information/GeneralInformation.vue';
import GeneralInformation from "@/components/about_inspection/general_information/GeneralInformation.vue";
export default {
components: {
@@ -208,19 +33,8 @@ export default {
},
setup() {
pagecounter();
return {
tabs_items: [
{ title: "Общая информация", value: "mainInfo" },
{ title: "Структура инспекции", value: "structureInspection" },