Merge branch 'feature/create_app' of http://sulaco.nodered.ru:5223/COD2/PORTAL_COD2 into feature/create_app
This commit is contained in:
commit
f6b78a5240
2 files changed
+132
-8
No files matched your search
BIN
Binary file not shown.
@@ -5,10 +5,19 @@
|
|||||||
:elevation="2"
|
:elevation="2"
|
||||||
density="compact"
|
density="compact"
|
||||||
color="teal-darken-4"
|
color="teal-darken-4"
|
||||||
|
class="pl-4"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<v-icon
|
||||||
|
class="px-3"
|
||||||
|
size="20"
|
||||||
|
:icon="rail?'mdi-chevron-right':'mdi-chevron-left'"
|
||||||
|
@click="rail = !rail"
|
||||||
|
|
||||||
|
/>
|
||||||
<v-card
|
<v-card
|
||||||
|
|
||||||
class="bg-transparent"
|
class="bg-transparent py"
|
||||||
density="compact"
|
density="compact"
|
||||||
:prepend-avatar="imageSrc"
|
:prepend-avatar="imageSrc"
|
||||||
title="Портал МиФНС по ЦОД № 2"
|
title="Портал МиФНС по ЦОД № 2"
|
||||||
@@ -140,9 +149,107 @@
|
|||||||
<v-navigation-drawer
|
<v-navigation-drawer
|
||||||
:rail="rail"
|
:rail="rail"
|
||||||
permanent
|
permanent
|
||||||
@click="rail = !rail"
|
|
||||||
v-model="drawer"
|
v-model="drawer"
|
||||||
|
|
||||||
>
|
>
|
||||||
|
<v-row class="my-0 h-100">
|
||||||
|
<v-col class="flex-column d-flex">
|
||||||
|
<v-row><v-col>
|
||||||
|
<v-list
|
||||||
|
nav
|
||||||
|
density="compact">
|
||||||
|
|
||||||
|
<template v-for="(x, key) in navigations">
|
||||||
|
<v-list-item
|
||||||
|
v-if="!('submenu' in x)"
|
||||||
|
:key="x.key"
|
||||||
|
:title="x.name"
|
||||||
|
:value="x.name"
|
||||||
|
:href="x.link"
|
||||||
|
:to="x.path"
|
||||||
|
color="navigation"
|
||||||
|
>
|
||||||
|
<template v-slot:prepend>
|
||||||
|
<v-icon
|
||||||
|
|
||||||
|
:icon="x.ico"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</v-list-item>
|
||||||
|
<v-list-group
|
||||||
|
v-else
|
||||||
|
:key="key"
|
||||||
|
:value="x.name"
|
||||||
|
>
|
||||||
|
<template v-slot:activator="{ props }">
|
||||||
|
<v-list-item
|
||||||
|
v-bind="props"
|
||||||
|
:title="x.name"
|
||||||
|
:prepend-icon="x.ico"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
<v-list-item
|
||||||
|
v-for="(child, k) in x.submenu"
|
||||||
|
|
||||||
|
:href="child.link"
|
||||||
|
:key="k"
|
||||||
|
:value="child.name"
|
||||||
|
:title="child.name"
|
||||||
|
:to="child.path"
|
||||||
|
/>
|
||||||
|
</v-list-group>
|
||||||
|
</template>
|
||||||
|
</v-list>
|
||||||
|
<v-list
|
||||||
|
nav
|
||||||
|
density="compact"
|
||||||
|
>
|
||||||
|
<v-list-item v-for="x of mainmenuStore.portallinks"
|
||||||
|
:key="x.name"
|
||||||
|
:title="x.name"
|
||||||
|
:value="x.name"
|
||||||
|
:href="x.link"
|
||||||
|
color="teal-darken-4"
|
||||||
|
|
||||||
|
>
|
||||||
|
<template v-slot:prepend>
|
||||||
|
<v-icon
|
||||||
|
|
||||||
|
:icon="x.imagecode"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</v-list-item>
|
||||||
|
</v-list>
|
||||||
|
</v-col></v-row>
|
||||||
|
<v-row class="flex-grow-0">
|
||||||
|
<v-col class="py-0 pl-1">
|
||||||
|
<v-list>
|
||||||
|
|
||||||
|
<v-list-item class="text-caption font-weight-bold text-truncate">
|
||||||
|
<p >Посещений всего: {{ appStore.countvisitor.totalvisit }}</p>
|
||||||
|
<v-divider/>
|
||||||
|
<p>Посещений сегодня: {{ appStore.countvisitor.visittoday }}</p>
|
||||||
|
<v-divider/>
|
||||||
|
<p>Уникальных посещений: {{ appStore.countvisitor.uniqtoday }}</p>
|
||||||
|
<v-divider/>
|
||||||
|
|
||||||
|
</v-list-item>
|
||||||
|
</v-list>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</v-col>
|
||||||
|
<!-- <v-col class="pointer align-self-center flex-grow-0"
|
||||||
|
|
||||||
|
@click="rail = !rail">
|
||||||
|
<v-icon
|
||||||
|
|
||||||
|
size="20"
|
||||||
|
:icon="rail?'mdi-chevron-right':'mdi-chevron-left'"
|
||||||
|
|
||||||
|
|
||||||
|
/>
|
||||||
|
</v-col> -->
|
||||||
|
</v-row>
|
||||||
<!-- <div class="d-flex flex-column h-100">
|
<!-- <div class="d-flex flex-column h-100">
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
@@ -215,7 +322,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|
||||||
<v-row class="flex-grow-0 text-caption mb-1 font-weight-bold text-truncate">
|
<v-row class="flex-grow-0 mb-1 text-caption font-weight-bold text-truncate">
|
||||||
<v-col>
|
<v-col>
|
||||||
|
|
||||||
<v-list>
|
<v-list>
|
||||||
@@ -230,14 +337,26 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
</v-navigation-drawer>
|
</v-navigation-drawer>
|
||||||
<v-navigation-drawer
|
<!-- <v-navigation-drawer
|
||||||
:rail="rail"
|
:width="8"
|
||||||
permanent
|
|
||||||
|
class="btnNav pointer"
|
||||||
@click="rail = !rail"
|
@click="rail = !rail"
|
||||||
v-model="drawer"
|
|
||||||
>
|
>
|
||||||
</v-navigation-drawer>
|
<v-list>
|
||||||
|
<v-icon
|
||||||
|
|
||||||
|
size="10"
|
||||||
|
:icon="rail?'mdi-chevron-right':'mdi-chevron-left'"
|
||||||
|
|
||||||
|
|
||||||
|
/>
|
||||||
|
</v-list>
|
||||||
|
|
||||||
|
|
||||||
|
</v-navigation-drawer> -->
|
||||||
<v-main class="d-flex bg-main_theme">
|
<v-main class="d-flex bg-main_theme">
|
||||||
|
|
||||||
<router-view
|
<router-view
|
||||||
@@ -415,4 +534,9 @@
|
|||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
z-index: 1005;
|
z-index: 1005;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btnNav .v-navigation-drawer__content {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in new issue
Block a user