Заменены иконки в общей информации,, добавлена шапка с основанием и координатором
This commit is contained in:
1 parent
c6d43b0cc3
commit
7b0cb7ed8c
5 files changed
+89
-37
No files matched your search
@@ -10,28 +10,49 @@
|
||||
<v-col>
|
||||
<v-window v-model="tab" class="h-100">
|
||||
<v-window-item value="mainInfo">
|
||||
<v-row no-gutters class="mt-8">
|
||||
<v-row no-gutters>
|
||||
<v-col lg="3">
|
||||
<v-card class="ml-2 mb-2 mt-1">
|
||||
<v-card-text class="text-h6 text-center">
|
||||
<p>Работа МИ ФНС России по ЦОД №2 </p>
|
||||
<p> координируется заместителем руководителя ФНС России</p>
|
||||
<p>Будариным Андреем Владимировичем</p>
|
||||
</v-card-text>
|
||||
|
||||
</v-card>
|
||||
</v-col>
|
||||
<v-col lg="9">
|
||||
<v-card class="ml-3 mt-1 mr-1 pa-5">
|
||||
<v-card-text class="text-h6 text-center">
|
||||
<p>Межрегиональная инспекция Федеральной налоговой службы</p>
|
||||
<p>по централизованной обработке данных №2</p>
|
||||
<p> создана 01.02.2018 года.</p>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row no-gutters>
|
||||
|
||||
<v-col lg="3">
|
||||
<v-col>
|
||||
<v-col class="ml-1 pa-1">
|
||||
<v-card>
|
||||
<v-card-title class="text-h6 text-uppercase text-center"> Начальник
|
||||
инспекции</v-card-title>
|
||||
<v-divider></v-divider>
|
||||
<div class=" w-100 d-flex justify-center">
|
||||
<v-avatar class="ma-3" rounded="0" size="200">
|
||||
<div class="w-100 d-flex justify-center">
|
||||
<v-avatar 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">
|
||||
<v-card-text class="text-center">
|
||||
<p>{{ bossRank }}</p>
|
||||
</v-card-text>
|
||||
|
||||
</v-card>
|
||||
</v-col>
|
||||
|
||||
<v-col>
|
||||
<v-col class="ma-1 pa-1">
|
||||
<v-card>
|
||||
<v-card-title class="text-h6 text-center text-uppercase">
|
||||
Штатная численность
|
||||
@@ -39,16 +60,22 @@
|
||||
<v-card-subtitle class="text-center">по состоянию на
|
||||
{{ new Date(getstatesize.date_created).toLocaleDateString("ru-RU") }}
|
||||
</v-card-subtitle>
|
||||
<v-card-text class="text-h2 text-center mt-5 mb-5">
|
||||
{{ getstatesize.statesize }}
|
||||
<v-card-text class="text-h2 text-center ma-4">
|
||||
<vue3-autocounter ref='counter' :startAmount='0' :endAmount='getstatesize.statesize'
|
||||
:duration='2' />
|
||||
|
||||
</v-card-text>
|
||||
<v-divider></v-divider>
|
||||
<v-card-title class="text-h6 text-center text-uppercase">
|
||||
Фактическая численность
|
||||
</v-card-title>
|
||||
<v-card-subtitle class="text-center">по состоянию на {{ date_now }}</v-card-subtitle>
|
||||
<v-card-text class="text-h2 text-center mt-5 mb-5">
|
||||
{{ getfactsize.fact_size }}
|
||||
<v-card-subtitle class="text-center">по состоянию на
|
||||
{{ new Date(getfactsize.date_created).toLocaleDateString("ru-RU") }}
|
||||
</v-card-subtitle>
|
||||
<v-card-text class="text-h2 text-center ma-4">
|
||||
<vue3-autocounter ref='counter' :startAmount='0' :endAmount='getfactsize.factsize'
|
||||
:duration='2' />
|
||||
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</v-col>
|
||||
@@ -56,24 +83,28 @@
|
||||
|
||||
</v-col>
|
||||
<v-col lg="9">
|
||||
<v-col>
|
||||
<v-card>
|
||||
<v-card-title class=" text-h6 text-uppercase text-center">
|
||||
Основные направления деятельности инспекции
|
||||
</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"
|
||||
lg="10">
|
||||
|
||||
<v-banner class="text-h6" :icon="direction.icon_name">
|
||||
<v-card class="ml-3 mr-1 mt-1">
|
||||
<v-card-title class=" text-h6 text-uppercase text-center">
|
||||
Основные направления деятельности инспекции
|
||||
</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" lg="12">
|
||||
<v-card class="ma-3 d-flex" :elevation="3" :height="100">
|
||||
<v-col class="d-flex align-center justify-center">
|
||||
<v-avatar class="mt-1 ml-1 pa-0 elevation-10" color="blue-darken-2">
|
||||
<v-icon :icon="direction.icon_name"></v-icon>
|
||||
</v-avatar>
|
||||
</v-col>
|
||||
<v-col lg="11" class="d-flex align-center justify-start text-h6">
|
||||
{{ direction.direction_title }}
|
||||
</v-banner>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-col>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card>
|
||||
</v-col>
|
||||
|
||||
</v-row>
|
||||
|
||||
</v-window-item>
|
||||
@@ -98,6 +129,8 @@ import { checkremote } from '@/utils/universal_functions'
|
||||
import { spravURL, baseURL } from '@/utils/axios-api'
|
||||
import StructureInspection from '@/components/StructureInspection.vue';
|
||||
import ContactInfo from '@/components/ContactInfo.vue';
|
||||
import { pagecounter } from '@/utils/universal_functions'
|
||||
|
||||
|
||||
|
||||
export default {
|
||||
@@ -108,8 +141,8 @@ export default {
|
||||
|
||||
setup() {
|
||||
const userlinks = ref([])
|
||||
const getfactsize = ref('')
|
||||
const getstatesize = ref([])
|
||||
const getfactsize = ref({ 'factsize': 0, 'date_created': new Date() })
|
||||
const getstatesize = ref({ 'statesize': 0, 'date_created': new Date() })
|
||||
const directionworks = ref([])
|
||||
|
||||
const infouser = () => {
|
||||
@@ -131,6 +164,9 @@ export default {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
const getInspectionDirections = () => {
|
||||
axiosApiInstance.get('api/about_inspection/getinspectiondirections/').then(res => {
|
||||
directionworks.value = res.data
|
||||
@@ -146,6 +182,7 @@ export default {
|
||||
getStateSize()
|
||||
getFactSize()
|
||||
infouser()
|
||||
pagecounter()
|
||||
return {
|
||||
directionworks,
|
||||
getstatesize,
|
||||
|
||||
Reference in new issue
Block a user