feat(视图): Doris,StarRocks同环比支持周,季度

This commit is contained in:
junjun 2023-04-06 10:07:32 +08:00
parent ecd96fd35d
commit 2d4e0e71b5
3 changed files with 1392 additions and 1363 deletions

View File

@ -298,7 +298,10 @@ export default {
},
getDateExtStatus() {
if (this.chart) {
this.showDateExt = this.chart.datasourceType === 'mysql' && this.chart.datasetMode === 0
this.showDateExt = this.showDateExt = this.chart.datasourceType === 'mysql' ||
this.chart.datasourceType === 'ds_doris' ||
this.chart.datasourceType === 'StarRocks' ||
this.chart.datasetMode === 1
} else {
this.showDateExt = false
}

View File

@ -342,7 +342,10 @@ export default {
getDateExtStatus() {
if (this.chart) {
this.showDateExt = this.chart.datasourceType === 'mysql' && this.chart.datasetMode === 0
this.showDateExt = this.chart.datasourceType === 'mysql' ||
this.chart.datasourceType === 'ds_doris' ||
this.chart.datasourceType === 'StarRocks' ||
this.chart.datasetMode === 1
} else {
this.showDateExt = false
}