feat(视图): ClickHouse, Oracle支持年季度、年周

This commit is contained in:
junjun
2024-03-18 14:14:16 +08:00
parent 712edaa064
commit 12e009ece8
5 changed files with 61 additions and 4 deletions

View File

@@ -335,6 +335,8 @@ export default {
this.showDateExt = (this.chart.datasourceType === 'mysql' ||
this.chart.datasourceType === 'ds_doris' ||
this.chart.datasourceType === 'StarRocks' ||
this.chart.datasourceType === 'ck' ||
this.chart.datasourceType === 'oracle' ||
this.chart.datasetMode === 1) && this.chart.type !== 'bar-time-range'
} else {
this.showDateExt = false

View File

@@ -356,6 +356,8 @@ export default {
this.showDateExt = this.chart.datasourceType === 'mysql' ||
this.chart.datasourceType === 'ds_doris' ||
this.chart.datasourceType === 'StarRocks' ||
this.chart.datasourceType === 'ck' ||
this.chart.datasourceType === 'oracle' ||
this.chart.datasetMode === 1
} else {
this.showDateExt = false