P-28-fix
This commit is contained in:
1 parent
ef586d7bee
commit
f07311b315
2 files changed
+14
-4
No files matched your search
@@ -12,7 +12,7 @@
|
|||||||
<v-col class="w100 h-100">
|
<v-col class="w100 h-100">
|
||||||
<v-window v-model="tab" class="h-100">
|
<v-window v-model="tab" class="h-100">
|
||||||
<v-window-item no-gutters class="gap h-100" value="mainInfo">
|
<v-window-item no-gutters class="gap h-100" value="mainInfo">
|
||||||
<MainInfoSafety :formainpage="safetyData.mainpage_file"></MainInfoSafety>
|
<MainInfoSafety :formainpage="safetyData.mainpage_file" :responsibility="safetyData.type_resp"></MainInfoSafety>
|
||||||
</v-window-item>
|
</v-window-item>
|
||||||
<v-window-item value="document" class="h-100">
|
<v-window-item value="document" class="h-100">
|
||||||
<v-row no-gutters class="gap h-100 ">
|
<v-row no-gutters class="gap h-100 ">
|
||||||
@@ -126,7 +126,7 @@ function getSafety() {
|
|||||||
safetyData.value = result.data
|
safetyData.value = result.data
|
||||||
loading.value = true
|
loading.value = true
|
||||||
// pdfSource.value = burl + safetyData.value.categories[0].files[0].url
|
// pdfSource.value = burl + safetyData.value.categories[0].files[0].url
|
||||||
console.log(safetyData.value);
|
console.log(safetyData.value.type_resp);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,11 +21,16 @@
|
|||||||
<v-card-title class="text-wrap">Ответственные за противопожарную безопасность</v-card-title>
|
<v-card-title class="text-wrap">Ответственные за противопожарную безопасность</v-card-title>
|
||||||
<v-row class="ma-0 overflow-auto h-0">
|
<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 class="pa-1 overflow-y-auto flex-grow-1 flex-shrink-1 h-100">
|
||||||
<list-user
|
|
||||||
v-for="item in responsibility"
|
<div v-for="x in responsibility">
|
||||||
|
|
||||||
|
<list-user
|
||||||
|
v-for="item in x.resp.employee"
|
||||||
:key=item
|
:key=item
|
||||||
:author="item">
|
:author="item">
|
||||||
</list-user>
|
</list-user>
|
||||||
|
</div>
|
||||||
|
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card>
|
</v-card>
|
||||||
@@ -74,8 +79,13 @@ import { saveAs } from 'file-saver';
|
|||||||
defineProps(
|
defineProps(
|
||||||
{
|
{
|
||||||
formainpage: Object,
|
formainpage: Object,
|
||||||
|
responsibility: Array,
|
||||||
require:true
|
require:true
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
|
||||||
|
// require: true
|
||||||
|
// },
|
||||||
)
|
)
|
||||||
|
|
||||||
const downloadFile = (url, fileName) => {
|
const downloadFile = (url, fileName) => {
|
||||||
|
|||||||
Reference in new issue
Block a user