29 lines
899 B
Vue
29 lines
899 B
Vue
<template>
|
|
<v-container fluid>
|
|
<v-row>
|
|
<v-col v-for="person in selectedDep.persons" cols="4">
|
|
<v-card>
|
|
<v-avatar :image="checkremote(`${spravURL}.jpg`)" rounded="0" size="130"></v-avatar>
|
|
<v-card-item>
|
|
<v-card-title>{{ person.familyname }} {{ person.name }} {{ person.parentname }}</v-card-title>
|
|
<v-card-title class="text-subtitle-1">{{ person.post }}</v-card-title>
|
|
<v-card-subtitle>{{ person.tel }}</v-card-subtitle>
|
|
</v-card-item>
|
|
</v-card>
|
|
</v-col>
|
|
</v-row>
|
|
</v-container>
|
|
|
|
</template>
|
|
|
|
<script setup>
|
|
import { checkremote } from "@/utils/universal_functions";
|
|
import { spravURL } from "@/utils/axios-api";
|
|
|
|
defineProps({
|
|
selectedDep: {
|
|
name: String,
|
|
}
|
|
})
|
|
|
|
</script> |