11
This commit is contained in:
1 parent
5f47f0682b
commit
9dc96dd514
2 files changed
+18
-6
No files matched your search
@@ -53,6 +53,11 @@ export default {
|
||||
period: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
},
|
||||
|
||||
filter: {
|
||||
type: String,
|
||||
default: 'd'
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -19,12 +19,18 @@
|
||||
</v-col>
|
||||
<v-col lg=9>
|
||||
|
||||
<line-chart :dataLineChart="dataLineChart" :period="{before:alldata.beforperiod,period:alldata.period}"/>
|
||||
<line-chart
|
||||
|
||||
:dataLineChart="dataLineChart"
|
||||
:period="{before:alldata.beforperiod,period:alldata.period}"
|
||||
:filter = filter
|
||||
|
||||
/>
|
||||
</v-col>
|
||||
<v-col >
|
||||
<v-btn block class="text-caption" @click="filter='year'">Год</v-btn>
|
||||
<v-btn block class="text-caption" @click="filter='month'">Месяц</v-btn>
|
||||
<v-btn block class="text-caption" @click="filter='day'">День</v-btn>
|
||||
<v-btn block class="text-caption" @click="filter='y'">Год</v-btn>
|
||||
<v-btn block class="text-caption" @click="filter='m'">Месяц</v-btn>
|
||||
<v-btn block class="text-caption" @click="filter='d'">День</v-btn>
|
||||
|
||||
{{filter}}
|
||||
</v-col>
|
||||
@@ -101,6 +107,7 @@ export default {
|
||||
|
||||
|
||||
setup(){
|
||||
|
||||
const dataLineChart = ref({})
|
||||
const cardtotal = ref(
|
||||
{
|
||||
@@ -485,7 +492,7 @@ setup(){
|
||||
return {
|
||||
alldata,
|
||||
cardtotal,
|
||||
dataLineChart
|
||||
dataLineChart,
|
||||
// visiting,
|
||||
// pages_count,
|
||||
// visitionreduce,
|
||||
@@ -498,7 +505,7 @@ setup(){
|
||||
// dataIndicators,
|
||||
// dataChart,
|
||||
// feedback,
|
||||
// filter
|
||||
filter: ref('d')
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user