mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
only show the types of categorical analysis
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
<f7-list-item :title="$t(dataType.name)"
|
<f7-list-item :title="$t(dataType.name)"
|
||||||
:key="dataType.type"
|
:key="dataType.type"
|
||||||
v-for="dataType in allChartDataTypes"
|
v-for="dataType in allChartDataTypes"
|
||||||
|
v-show="dataType.availableAnalysisTypes[analysisType]"
|
||||||
@click="setChartDataType(dataType.type)">
|
@click="setChartDataType(dataType.type)">
|
||||||
<template #after>
|
<template #after>
|
||||||
<f7-icon class="list-item-checked-icon" f7="checkmark_alt" v-if="query.chartDataType === dataType.type"></f7-icon>
|
<f7-icon class="list-item-checked-icon" f7="checkmark_alt" v-if="query.chartDataType === dataType.type"></f7-icon>
|
||||||
@@ -274,6 +275,7 @@ export default {
|
|||||||
loading: true,
|
loading: true,
|
||||||
loadingError: null,
|
loadingError: null,
|
||||||
reloading: false,
|
reloading: false,
|
||||||
|
analysisType: statisticsConstants.allAnalysisTypes.CategoricalAnalysis,
|
||||||
showChartDataTypePopover: false,
|
showChartDataTypePopover: false,
|
||||||
showSortingTypePopover: false,
|
showSortingTypePopover: false,
|
||||||
showDatePopover: false,
|
showDatePopover: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user