瀏覽代碼

fix: 地图高度调整

cuiyalong 2 年之前
父節點
當前提交
db22e09194

+ 1 - 4
src/views/analysisReport/components/MarketAreaScatter.vue

@@ -42,7 +42,7 @@ export default {
   data () {
     return {
       options: {
-        height: '780px',
+        height: '800px',
         colors: ['#05A6F3', '#0BD991', '#FF9F40'],
         config: this.configArea
       }
@@ -77,9 +77,6 @@ export default {
         }
         return tip
       }
-      options.series[0].aspectScale = 0.75
-      options.series[0].layoutCenter = ['50%', '50%']
-      options.series[0].layoutSize = 750
       return options
     }
   }

+ 1 - 1
src/views/customer/components/BuyerChart.vue

@@ -227,7 +227,7 @@ export default {
           customData: []
         },
         options: {
-          height: '570px',
+          height: '800px',
           colors: ['#05a6f3'],
           config: this.configArea
         }

+ 1 - 1
src/views/portrayal/components/AnalysisChart.vue

@@ -118,7 +118,7 @@ export default {
           rows: []
         },
         options: {
-          height: '750px',
+          height: '800px',
           colors: ['#05a6f3'],
           config: this.areaConfig
         }

+ 1 - 5
src/views/portrayal/components/EntChart.vue

@@ -119,8 +119,7 @@ export default {
           rows: []
         },
         options: {
-          width: '785px',
-          height: '750px',
+          height: '800px',
           colors: ['#05A6F3', '#0BD991', '#FF9F40'],
           config: this.areaFbConfig
         }
@@ -588,9 +587,6 @@ export default {
         }
         return string
       }
-      options.series[0].aspectScale = 0.8
-      options.series[0].roam = true
-      options.series[0].zoom = 1
       return options
     },
     // 各类型客户折扣率配置

+ 1 - 4
src/views/portrayal/components/EntSubVipChart.vue

@@ -113,7 +113,7 @@ export default {
           rows: []
         },
         options: {
-          height: '570px',
+          height: '800px',
           colors: ['#05A6F3', '#0BD991', '#FF9F40'],
           config: this.areaFbConfig
         }
@@ -566,9 +566,6 @@ export default {
         }
         return string
       }
-      options.series[0].aspectScale = 0.8
-      options.series[0].roam = true
-      options.series[0].zoom = 1
       return options
     },
     // 各类型客户折扣率配置

+ 1 - 4
src/views/portrayal/components/UnitChart.vue

@@ -237,7 +237,7 @@ export default {
           customData: []
         },
         options: {
-          height: '750px',
+          height: '800px',
           colors: ['#05a6f3'],
           config: this.configArea
         }
@@ -610,9 +610,6 @@ export default {
         }
         return tip
       }
-      options.series[0].aspectScale = 0.8
-      options.series[0].roam = true
-      options.series[0].zoom = 1
       return options
     },
     configBuyScaleFb (params) {

+ 2 - 12
src/views/reportData/pageMonth.vue

@@ -213,7 +213,7 @@ export default {
           rows: []
         },
         options: {
-          height: '750px',
+          height: '800px',
           config: this.mapScaleConfig
         }
       },
@@ -240,7 +240,7 @@ export default {
           rows: []
         },
         options: {
-          height: '600px',
+          height: '800px',
           config: this.mapRegConfig
         }
       },
@@ -728,10 +728,6 @@ export default {
       options.tooltip.formatter = (params) => {
         return this.formatMapTooltio(params)
       }
-      options.series[0].aspectScale = 0.75
-      options.series[0].layoutCenter = ['50%', '50%']
-      options.series[0].zoom = 1
-      options.series[0].layoutSize = 800
       return options
     },
     mapScaleConfig (options) {
@@ -744,9 +740,6 @@ export default {
       options.tooltip.formatter = (params) => {
         return this.formatMapTooltio(params)
       }
-      options.series[0].aspectScale = 0.8
-      options.series[0].roam = true
-      options.series[0].zoom = 1
       return options
     },
     // 本月中标企业注册地分布
@@ -760,9 +753,6 @@ export default {
       options.tooltip.formatter = (params) => {
         return this.formatMapTooltio(params)
       }
-      options.series[0].aspectScale = 0.8
-      options.series[0].roam = true
-      options.series[0].zoom = 1
       return options
     },
     // 本月中标企业中标项目数量分布配置