Quellcode durchsuchen

堆叠图控制

jwyu vor 5 Monaten
Ursprung
Commit
9acabb8c0c
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. 5 1
      src/views/BI_manage/components/ChartBox.vue

+ 5 - 1
src/views/BI_manage/components/ChartBox.vue

@@ -127,7 +127,11 @@ export default {
       this.chartInfo.SeasonExtraConfig && (this.SeasonExtraConfig = JSON.parse(this.chartInfo.SeasonExtraConfig))
 
       if (!this.chartInfo.HaveOperaAuth) return
-
+      // 时序组合图控制是否堆叠
+      if(this.chartInfo.ChartType===6){
+        this.IsHeap=res.Data.DataResp.IsHeap===1?true:false
+      }
+      
       if ([1, 11, 12].includes(this.chartInfo.Source)) {
         //季节性图处理SeasonAverageConfig,SeasonRightEdbConfig
         if (this.chartInfo.ChartType === 2) {