Обновление карты и изменение положения фото ББ
This commit is contained in:
1 parent
5b5694a72a
commit
c6d43b0cc3
4 files changed
+96
-55
No files matched your search
@@ -0,0 +1,79 @@
|
||||
<template>
|
||||
<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]" :icon="icon_cod"> </l-marker>
|
||||
<l-marker :lat-lng="[55.83309, 37.39933]" :icon="icon_mcd"> </l-marker>
|
||||
<l-marker :lat-lng="[55.83463, 37.38335]" :icon="icon_metro"> </l-marker>
|
||||
<l-marker :lat-lng="[55.83213, 37.38247]" :icon="icon_mcd"> </l-marker>
|
||||
<l-marker :lat-lng="[55.82741, 37.43715]" :icon="icon_metro"> </l-marker>
|
||||
<l-marker :lat-lng="[55.82705, 37.4411]" :icon="icon_mcd"> </l-marker>
|
||||
<l-marker :lat-lng="[55.8496, 37.43925]" :icon="icon_metro"> </l-marker>
|
||||
<l-marker :lat-lng="[55.8252, 37.3853]" :icon="icon_metro"> </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>
|
||||
</template>
|
||||
<script>
|
||||
import { baseURL } from '@/utils/axios-api'
|
||||
import "leaflet/dist/leaflet.css";
|
||||
import { LMap, LTileLayer, LMarker } from "@vue-leaflet/vue-leaflet";
|
||||
import { L, icon } from "leaflet"
|
||||
|
||||
export default {
|
||||
components: {
|
||||
LMap,
|
||||
LTileLayer,
|
||||
LMarker,
|
||||
L,
|
||||
icon
|
||||
},
|
||||
setup() {
|
||||
return {
|
||||
icon_cod: icon({
|
||||
iconUrl: `${baseURL}media/map_icons/fns.png`,
|
||||
iconSize: [30, 30],
|
||||
iconAnchor: [16, 40]
|
||||
}),
|
||||
|
||||
icon_mcd: icon({
|
||||
iconUrl: `${baseURL}media/map_icons/mcd_d2.png`,
|
||||
iconSize: [32, 18],
|
||||
iconAnchor: [10, 20]
|
||||
}),
|
||||
|
||||
icon_metro: icon({
|
||||
iconUrl: `${baseURL}media/map_icons/mos_metro.png`,
|
||||
iconSize: [30, 25],
|
||||
iconAnchor: [10, 20]
|
||||
}),
|
||||
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/"
|
||||
},
|
||||
baseURL,
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.leaflet-control-attribution {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
@@ -18,14 +18,16 @@
|
||||
<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">
|
||||
<div class=" w-100 d-flex justify-center">
|
||||
<v-avatar class="ma-3" 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="mb-6 text-center">
|
||||
<p>{{ bossRank }}</p>
|
||||
</v-card-text>
|
||||
|
||||
</v-card>
|
||||
</v-col>
|
||||
|
||||
@@ -61,7 +63,7 @@
|
||||
</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" class=" mt-8 mb-8"
|
||||
<v-col v-for="direction in directionworks" :key="direction.id" class=" mt-8 mb-8"
|
||||
lg="10">
|
||||
|
||||
<v-banner class="text-h6" :icon="direction.icon_name">
|
||||
@@ -82,28 +84,7 @@
|
||||
<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>
|
||||
<contact-info />
|
||||
</v-window-item>
|
||||
</v-window>
|
||||
</v-col>
|
||||
@@ -115,18 +96,14 @@ 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'
|
||||
import StructureInspection from '@/components/StructureInspection.vue';
|
||||
import ContactInfo from '@/components/ContactInfo.vue';
|
||||
|
||||
|
||||
export default {
|
||||
components: {
|
||||
LMap,
|
||||
LTileLayer,
|
||||
LMarker,
|
||||
L,
|
||||
StructureInspection
|
||||
StructureInspection,
|
||||
ContactInfo,
|
||||
},
|
||||
|
||||
setup() {
|
||||
@@ -179,23 +156,12 @@ export default {
|
||||
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": "Построение и сопровождение процессов обработки обращений граждан" },
|
||||
// ],
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -206,8 +172,4 @@ export default {
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
.leaflet-control-attribution {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<style></style>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 60 KiB |
Reference in new issue
Block a user