Показатели
This commit is contained in:
1 parent
eb603f2577
commit
21019b96d1
3 files changed
+58
-22
No files matched your search
@@ -1,37 +1,37 @@
|
||||
<template>
|
||||
<v-card
|
||||
|
||||
class="text-center d-flex flex-column"
|
||||
height="150px"
|
||||
class="text-center d-flex h-100 flex-column"
|
||||
|
||||
>
|
||||
<v-card-text>
|
||||
<v-row no-gutters class="ma-0">
|
||||
<v-col class="text-h5">
|
||||
{{name}}
|
||||
|
||||
<v-row no-gutters class="flex-grow-0 mt-3">
|
||||
<v-col class="text-h5 ">
|
||||
{{indicator.title}}
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row no-gutters class="h-100 pb-5">
|
||||
<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 align-self-center">
|
||||
{{total}}
|
||||
<v-col class="text-h2 text-center font-weight-medium align-self-center">
|
||||
{{indicator.data}}
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card-text>
|
||||
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
name: {
|
||||
type: String,
|
||||
default: ''
|
||||
indicator: {
|
||||
type: Object,
|
||||
default: {}
|
||||
},
|
||||
|
||||
total: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
}
|
||||
}
|
||||
</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 class="w100 ">
|
||||
<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}}
|
||||
<!-- <my-helper :pretext="feedback"/> -->
|
||||
<!-- {{dataIndicators}} -->
|
||||
|
||||
</v-col>
|
||||
<v-col lg=4 class="d-flex flex-column">
|
||||
<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 ToolbarFilter from '@/components/UI/aboutportal/toolbar-filter.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 {
|
||||
components: {
|
||||
@@ -64,7 +75,9 @@ export default {
|
||||
LineChart,
|
||||
PortalTraffic,
|
||||
ToolbarFilter,
|
||||
RatingPage
|
||||
RatingPage,
|
||||
IndicatorsInfo,
|
||||
CardTotal
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user