Статичные план-схема, план-эвакуации
This commit is contained in:
1 parent
feeef63745
commit
f6c2952a43
4 files changed
+26
-33
No files matched your search
@@ -1,24 +1,16 @@
|
||||
<template>
|
||||
<v-card class="h-100">
|
||||
<my-helper :pretext = getSchemas />
|
||||
<v-row no-gutters class="h-100">
|
||||
<v-col cols="3" class="w100">
|
||||
<v-card class="h-100 d-flex flex-column">
|
||||
<v-card-title class="text-wrap">Ответственные за противопожарную безопасность</v-card-title>
|
||||
<v-row class="ma-0 overflow-auto h-0">
|
||||
<v-card class="pa-1 overflow-y-auto flex-grow-1 flex-shrink-1 h-100">
|
||||
</v-card>
|
||||
</v-row>
|
||||
</v-card>
|
||||
</v-col>
|
||||
<v-col cols="9">
|
||||
<v-card class="h-100 d-flex flex-column bg-red">
|
||||
<v-card class="h-100 d-flex flex-column">
|
||||
<v-row class="ma-0 overflow-auto h-0">
|
||||
<v-col cols="6">
|
||||
<v-col
|
||||
cols="6"
|
||||
class="h-100 gap">
|
||||
<v-card class="h-100">
|
||||
<v-img
|
||||
class="cursor-pointer"
|
||||
:src="`${burl}/media/newsimage/2024/02/01/wallpaperflare.com_wallpaper_2.jpg`"
|
||||
:src="`${burl}/media/safety/schemas/Схема1.jpg`"
|
||||
height="100%"
|
||||
@click="openFirstPlan = true">
|
||||
</v-img>
|
||||
@@ -33,7 +25,7 @@
|
||||
@click="openFirstPlan = false">
|
||||
</v-btn>
|
||||
<v-img
|
||||
:src="`${burl}/media/newsimage/2024/02/01/wallpaperflare.com_wallpaper_2.jpg`"
|
||||
:src="`${burl}/media/safety/schemas/Схема1.jpg`"
|
||||
class="cursor-pointer"
|
||||
height="100%"
|
||||
width="100%"
|
||||
@@ -43,10 +35,12 @@
|
||||
</v-row>
|
||||
</v-dialog>
|
||||
</v-col>
|
||||
<v-col cols="6">
|
||||
<v-col
|
||||
cols="6"
|
||||
class="h-100 gap">
|
||||
<v-card class="h-100">
|
||||
<v-img
|
||||
:src="`${burl}/media/newsimage/2024/02/01/wallpaperflare.com_wallpaper_2.jpg`"
|
||||
:src="`${burl}/media/safety/schemas/Схема2.jpg`"
|
||||
class="cursor-pointer"
|
||||
height="100%"
|
||||
@click="openSecondPlan = true">
|
||||
@@ -61,7 +55,7 @@
|
||||
@click="openSecondPlan = false">
|
||||
</v-btn>
|
||||
<v-img
|
||||
:src="`${burl}/media/newsimage/2024/02/01/wallpaperflare.com_wallpaper_2.jpg`"
|
||||
:src="`${burl}/media/safety/schemas/Схема2.jpg`"
|
||||
class="cursor-pointer"
|
||||
height="100%"
|
||||
width="100%"
|
||||
@@ -74,13 +68,13 @@
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="ma-0 overflow-auto h-0">
|
||||
<v-col >
|
||||
<v-col class="h-100 gap">
|
||||
<v-card class="h-100">
|
||||
<v-img
|
||||
:src="`${burl}/media/newsimage/2024/02/01/wallpaperflare.com_wallpaper_1.jpg`" @click="openImg = true"
|
||||
:src="`${burl}/media/safety/schemas/План.jpg`" @click="openImg = true"
|
||||
class="cursor-pointer"
|
||||
height="380"
|
||||
cover>
|
||||
height="100%"
|
||||
width="100%">
|
||||
</v-img>
|
||||
<v-dialog v-model="openImg" :width="900" height="100%">
|
||||
<v-row class="ma-0 overflow-auto h-0">
|
||||
@@ -92,7 +86,7 @@
|
||||
@click="openImg = false">
|
||||
</v-btn>
|
||||
<v-img
|
||||
:src="`${burl}/media/newsimage/2024/02/01/wallpaperflare.com_wallpaper_1.jpg`"
|
||||
:src="`${burl}/media/safety/schemas/План.jpg`"
|
||||
class="cursor-pointer"
|
||||
height="100%"
|
||||
width="100%"
|
||||
@@ -106,12 +100,21 @@
|
||||
</v-row>
|
||||
</v-card>
|
||||
</v-col>
|
||||
<v-col cols="3" class="w100">
|
||||
<v-card class="h-100 d-flex flex-column">
|
||||
<v-card-title class="text-wrap">Ответственные за противопожарную безопасность</v-card-title>
|
||||
<v-row class="ma-0 overflow-auto h-0">
|
||||
<v-card class="pa-1 overflow-y-auto flex-grow-1 flex-shrink-1 h-100">
|
||||
</v-card>
|
||||
</v-row>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { baseURL, axiosApiInstance } from '@/utils/axios-api'
|
||||
import { baseURL } from '@/utils/axios-api'
|
||||
import { ref } from 'vue';
|
||||
|
||||
const burl = baseURL.slice(0,-1)
|
||||
@@ -119,14 +122,4 @@ const openImg = ref(false)
|
||||
const openFirstPlan = ref(false)
|
||||
const openSecondPlan = ref(false)
|
||||
|
||||
const getSchemas = ref([])
|
||||
|
||||
function getData() {
|
||||
axiosApiInstance.get(`api/safety/files/?chapter_id=fire_safety`).then(result => {
|
||||
getSchemas.value = result.data
|
||||
})
|
||||
}
|
||||
|
||||
getData()
|
||||
|
||||
</script>
|
||||
Reference in new issue
Block a user