Показатели
This commit is contained in:
1 parent
eb603f2577
commit
21019b96d1
3 files changed
+61
-25
No files matched your search
@@ -1,37 +1,37 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-card
|
<v-card
|
||||||
|
|
||||||
class="text-center d-flex flex-column"
|
class="text-center d-flex h-100 flex-column"
|
||||||
height="150px"
|
|
||||||
>
|
|
||||||
<v-card-text>
|
|
||||||
<v-row no-gutters class="ma-0">
|
|
||||||
<v-col class="text-h5">
|
|
||||||
{{name}}
|
|
||||||
</v-col>
|
|
||||||
</v-row>
|
|
||||||
<v-row no-gutters class="h-100 pb-5">
|
|
||||||
|
|
||||||
<v-col class="text-h2 text-center align-self-center">
|
>
|
||||||
{{total}}
|
|
||||||
|
<v-row no-gutters class="flex-grow-0 mt-3">
|
||||||
|
<v-col class="text-h5 ">
|
||||||
|
{{indicator.title}}
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card-text>
|
<v-row no-gutters class="flex-grow-0">
|
||||||
|
<v-col class="text-h5 font-weight-bold">
|
||||||
|
{{indicator.abb}}
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
<v-row no-gutters class="">
|
||||||
|
|
||||||
|
<v-col class="text-h2 text-center font-weight-medium align-self-center">
|
||||||
|
{{indicator.data}}
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
|
||||||
</v-card>
|
</v-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
name: {
|
indicator: {
|
||||||
type: String,
|
type: Object,
|
||||||
default: ''
|
default: {}
|
||||||
},
|
},
|
||||||
|
|
||||||
total: {
|
|
||||||
type: Number,
|
|
||||||
default: 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<my-helper :pretext="indicator"/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
|
||||||
|
indicator: {
|
||||||
|
type: Object,
|
||||||
|
default: {}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -14,10 +14,19 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="w100 ">
|
<v-col class="w100 ">
|
||||||
<v-row no-gutters class="h-100 gap">
|
<v-row no-gutters class="h-100 gap">
|
||||||
<v-col lg=2 class="bg-green">
|
<v-col lg=2 class="flex-column d-flex">
|
||||||
|
<v-row no-gutters class="flex-column gap" >
|
||||||
|
<v-col v-for="x in dataIndicators" :key=x>
|
||||||
|
<card-total :indicator=x />
|
||||||
|
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
<!-- <indicators-info
|
||||||
|
:indicator=dataIndicators
|
||||||
|
/> -->
|
||||||
|
|
||||||
|
<!-- {{dataIndicators}} -->
|
||||||
|
|
||||||
{{dataIndicators}}
|
|
||||||
<!-- <my-helper :pretext="feedback"/> -->
|
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col lg=4 class="d-flex flex-column">
|
<v-col lg=4 class="d-flex flex-column">
|
||||||
<rating-page :pages_count=pages_count />
|
<rating-page :pages_count=pages_count />
|
||||||
@@ -55,6 +64,8 @@ import LineChart from '@/components/UI/aboutportal/line-chart.vue'
|
|||||||
import PortalTraffic from '@/components/UI/aboutportal/portal-traffic.vue'
|
import PortalTraffic from '@/components/UI/aboutportal/portal-traffic.vue'
|
||||||
import ToolbarFilter from '@/components/UI/aboutportal/toolbar-filter.vue'
|
import ToolbarFilter from '@/components/UI/aboutportal/toolbar-filter.vue'
|
||||||
import RatingPage from '@/components/UI/aboutportal/rating-page.vue'
|
import RatingPage from '@/components/UI/aboutportal/rating-page.vue'
|
||||||
|
import IndicatorsInfo from '@/components/UI/aboutportal/indicators-info.vue'
|
||||||
|
import CardTotal from '@/components/UI/aboutportal/card-total.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -64,7 +75,9 @@ export default {
|
|||||||
LineChart,
|
LineChart,
|
||||||
PortalTraffic,
|
PortalTraffic,
|
||||||
ToolbarFilter,
|
ToolbarFilter,
|
||||||
RatingPage
|
RatingPage,
|
||||||
|
IndicatorsInfo,
|
||||||
|
CardTotal
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user