diff --git a/.gitignore b/.gitignore
index a85f0cd1e..88cb8ad16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,5 +2,5 @@ env/
/src/__pycache__/
/src/*/__pycache__/
/src/*/migrations/
-/src/portal/
+/src/front/public/Tiles/
/src/front/node_modules/
\ No newline at end of file
diff --git a/src/front/.gitignore b/src/front/.gitignore
index e2cbf3225..769b72f3f 100644
--- a/src/front/.gitignore
+++ b/src/front/.gitignore
@@ -3,6 +3,7 @@ front/node_modules/
+
# local env files
.env.local
.env.*.local
diff --git a/src/front/package-lock.json b/src/front/package-lock.json
index 64da56fc9..0d27d0467 100644
--- a/src/front/package-lock.json
+++ b/src/front/package-lock.json
@@ -45,9 +45,11 @@
"@storybook/vue3": "^7.4.6",
"@storybook/vue3-vite": "^7.4.6",
"@vitejs/plugin-vue": "^4.0.0",
+ "@vue-leaflet/vue-leaflet": "^0.10.1",
"eslint": "^8.22.0",
"eslint-plugin-storybook": "^0.6.14",
"eslint-plugin-vue": "^9.3.0",
+ "leaflet": "^1.9.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.2.0",
@@ -3781,6 +3783,24 @@
"vue": "^3.2.25"
}
},
+ "node_modules/@vue-leaflet/vue-leaflet": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/@vue-leaflet/vue-leaflet/-/vue-leaflet-0.10.1.tgz",
+ "integrity": "sha512-RNEDk8TbnwrJl8ujdbKgZRFygLCxd0aBcWLQ05q/pGv4+d0jamE3KXQgQBqGAteE1mbQsk3xoNcqqUgaIGfWVg==",
+ "dev": true,
+ "dependencies": {
+ "vue": "^3.2.25"
+ },
+ "peerDependencies": {
+ "@types/leaflet": "^1.5.7",
+ "leaflet": "^1.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/leaflet": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@vue/compiler-core": {
"version": "3.3.4",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.4.tgz",
@@ -10892,6 +10912,12 @@
"node": ">=14.0.0"
}
},
+ "node_modules/leaflet": {
+ "version": "1.9.4",
+ "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz",
+ "integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==",
+ "dev": true
+ },
"node_modules/levn": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
diff --git a/src/front/package.json b/src/front/package.json
index 13e9ea1dc..babd21641 100644
--- a/src/front/package.json
+++ b/src/front/package.json
@@ -47,9 +47,11 @@
"@storybook/vue3": "^7.4.6",
"@storybook/vue3-vite": "^7.4.6",
"@vitejs/plugin-vue": "^4.0.0",
+ "@vue-leaflet/vue-leaflet": "^0.10.1",
"eslint": "^8.22.0",
"eslint-plugin-storybook": "^0.6.14",
"eslint-plugin-vue": "^9.3.0",
+ "leaflet": "^1.9.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.2.0",
diff --git a/src/front/src/views/AboutInspectionPage.vue b/src/front/src/views/AboutInspectionPage.vue
index 79d8cc8f6..be3dcd007 100644
--- a/src/front/src/views/AboutInspectionPage.vue
+++ b/src/front/src/views/AboutInspectionPage.vue
@@ -22,11 +22,9 @@
{{ userlinks.fio }}
-
- Государственный советник
- Российской Федерации
- 2 класса
+
+ {{ bossRank }}
@@ -80,7 +78,15 @@
Открытые вакансии
- Контактная информация
+
+
+
+
+
+
+
+
+
@@ -92,22 +98,37 @@ import { ref } from 'vue'
import { axiosApiInstance } from '@/utils/axios-api'
import { checkremote } from '@/utils/universal_functions'
import { spravURL } 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 {
checkremote,
userlinks,
tab: ref(null),
+ bossRank: "Государственный советник Российской Федерации 2 класса",
tabs_items: [{ "title": "Общая информация", "value": "mainInfo" },
{ "title": "Структура инспекции", "value": "structureInspection" },
{ "title": "Открытые вакансии", "value": "openVacancies" },
@@ -129,4 +150,8 @@ export default {
-
\ No newline at end of file
+
\ No newline at end of file