Browse Source

feat:首页

liujt 1 day ago
parent
commit
d38be52ca6

+ 2 - 2
src/components/ChartBarLine/index.vue

@@ -95,12 +95,12 @@
             {
               type: 'value',
               name: this.barYAxisName,
-              axisLabel: { formatter: (v) => Math.round(v) }
+              minInterval: 1
             },
             {
               type: 'value',
               name: this.lineYAxisName,
-              axisLabel: { formatter: (v) => Math.round(v) + '%' }
+              minInterval: 1
             }
           ],
           series: [

+ 4 - 2
src/views/warehouseManagement/index/yuxin.vue

@@ -158,7 +158,8 @@ import chartBarLine from '@/components/ChartBarLine/index.vue';
           {
             title: '来煤累计数',
             key: 'coalInbound',
-            count: '吨',
+            count: '',
+            unit: '吨',
             icon: require('../../../assets/index/Vector@2x.png')
           },
           {
@@ -170,7 +171,8 @@ import chartBarLine from '@/components/ChartBarLine/index.vue';
           },
           {
             title: '煤库存数',
-            count: '吨',
+            count: '',
+            unit: '吨',
             key: 'coalInventory',
             icon: require('../../../assets/index/Vector@2x.png')
           },