소스 검색

fix: 地图高度调整

cuiyalong 2 년 전
부모
커밋
db22e09194

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

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

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

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

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

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

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

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

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

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

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

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

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

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