Комит для слива
This commit is contained in:
1 parent
a239de624f
commit
364812a492
3 files changed
+77
-72
No files matched your search
@@ -40,7 +40,7 @@ class StructureSerializer(ChiefsDepsSerializer):
|
||||
|
||||
|
||||
def get_deps(self, obj):
|
||||
return DepsSerializer(obj.deps_curator.all(), many=True).data
|
||||
return DepsSerializer(obj.deps_curator.filter(deleted=0).all(), many=True).data
|
||||
|
||||
|
||||
class DepsSerializer(serializers.ModelSerializer):
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<template>
|
||||
<v-row no-gutters>
|
||||
<!-- Начальник и курируемые им отделы -->
|
||||
|
||||
<v-col lg="3" v-for="structure in structures" :key="structure">
|
||||
|
||||
<v-card class="ma-2">
|
||||
|
||||
@@ -7,35 +7,38 @@
|
||||
<v-tab v-for="tabitem in tabs_items" :value="tabitem.value">{{ tabitem.title }}</v-tab>
|
||||
</v-tabs>
|
||||
</v-card>
|
||||
|
||||
<v-col>
|
||||
<v-window v-model="tab" class="h-100">
|
||||
<v-window-item value="mainInfo">
|
||||
<v-row>
|
||||
<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-window v-model="tab">
|
||||
<v-window-item class="gap h-100" value="mainInfo">
|
||||
<v-row class="ma-1">
|
||||
<v-row no-gutters>
|
||||
<v-col class="d-flex flex-column gap">
|
||||
<v-card>
|
||||
<v-card-text class="text-h6 text-center">
|
||||
<p>
|
||||
Межрегиональная инспекция Федеральной налоговой службы по централизованной
|
||||
обработке
|
||||
данных №2
|
||||
</p>
|
||||
<p>создана 01.02.2018 года в соответствии с приказом ФНС России от 27.12.2017
|
||||
№ММВ-7-4/1102
|
||||
</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 class="ml-1 pa-1">
|
||||
<v-card-text class="text-h6 text-center">
|
||||
<a class=" text-decoration-none" :href="caCuratorLink">Работа МИ ФНС
|
||||
России
|
||||
по ЦОД №2
|
||||
координируется заместителем
|
||||
руководителя ФНС
|
||||
России
|
||||
Будариным Андреем Владимировичем</a>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col lg="3" class="d-flex flex-column gap">
|
||||
<v-card>
|
||||
<v-card-title class="text-h6 text-uppercase text-center"> Начальник
|
||||
инспекции</v-card-title>
|
||||
@@ -49,71 +52,67 @@
|
||||
<v-card-text class="text-center">
|
||||
<p>{{ bossRank }}</p>
|
||||
</v-card-text>
|
||||
|
||||
</v-card>
|
||||
</v-col>
|
||||
|
||||
<v-col class="ma-1 pa-1">
|
||||
<v-card>
|
||||
<v-card-title class="text-h6 text-center text-uppercase">
|
||||
Штатная численность
|
||||
</v-card-title>
|
||||
<v-card-text class="text-h2 text-center ma-7">
|
||||
<vue3-autocounter ref='counter' :startAmount='0' :endAmount='getstatesize.statesize'
|
||||
:duration='2' />
|
||||
</v-card-text>
|
||||
|
||||
<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 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-text class="text-h2 text-center ma-8">
|
||||
<vue3-autocounter ref='counter' :startAmount='0' :endAmount='getfactsize.factsize'
|
||||
:duration='2' />
|
||||
</v-card-text>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
</v-col>
|
||||
<v-col lg="9">
|
||||
<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 text-teal-darken-4"
|
||||
color="teal-lighten-5">
|
||||
<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-col>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card>
|
||||
</v-col>
|
||||
|
||||
<v-col lg="9">
|
||||
<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" lg="12">
|
||||
<v-card class="ma-3 d-flex" :elevation="3" :height="104">
|
||||
<v-col class="d-flex align-center justify-center">
|
||||
<v-avatar class="elevation-10 text-teal-darken-4"
|
||||
color="teal-lighten-5">
|
||||
<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-col>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-row>
|
||||
|
||||
</v-window-item>
|
||||
<v-window-item no-gutters class="gap h-100" value="structureInspection">
|
||||
<v-window-item class="gap h-100" value="structureInspection">
|
||||
<structure-inspection />
|
||||
</v-window-item>
|
||||
<v-window-item no-gutters class="gap h-100" value="openVacancies">
|
||||
<v-window-item class="gap h-100" value="openVacancies">
|
||||
<h1>Открытые вакансии</h1>
|
||||
</v-window-item>
|
||||
<v-window-item class="gap h-100" value="contactInfo">
|
||||
@@ -146,6 +145,7 @@ export default {
|
||||
const getfactsize = ref({ 'factsize': 0, 'date_created': new Date() })
|
||||
const getstatesize = ref({ 'statesize': 0, 'date_created': new Date() })
|
||||
const directionworks = ref([])
|
||||
const caCuratorLink = ref('https://www.nalog.gov.ru/rn77/about_fts/fts/structure_fts/ca_fns/9515034/')
|
||||
|
||||
const infouser = () => {
|
||||
axiosApiInstance.get('api/accounts/getuser/?userlogin=9966-00-001').then(res => {
|
||||
@@ -186,12 +186,14 @@ export default {
|
||||
infouser()
|
||||
pagecounter()
|
||||
return {
|
||||
caCuratorLink,
|
||||
directionworks,
|
||||
getstatesize,
|
||||
getfactsize,
|
||||
spravURL,
|
||||
baseURL,
|
||||
checkremote,
|
||||
caCuratorLink,
|
||||
userlinks,
|
||||
tab: ref(null),
|
||||
date_now: new Date().toLocaleDateString("ru-RU"),
|
||||
@@ -200,7 +202,6 @@ export default {
|
||||
{ "title": "Структура инспекции", "value": "structureInspection" },
|
||||
{ "title": "Открытые вакансии", "value": "openVacancies" },
|
||||
{ "title": "Контактная информация", "value": "contactInfo" }],
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -216,4 +217,8 @@ export default {
|
||||
background-color: #E0F2F1;
|
||||
color: #004D40;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user