From 7885ddd27220c1e674450f23e4968ca4aed8a463 Mon Sep 17 00:00:00 2001 From: "DESKTOP-369JRHT\\12997" <9> Date: Thu, 11 Jul 2024 10:36:27 +0800 Subject: [PATCH] no message --- .../src/views/indexcomponents/bottom_z.vue | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/fuintAdmin/src/views/indexcomponents/bottom_z.vue b/fuintAdmin/src/views/indexcomponents/bottom_z.vue index d5460af55..06dedbad7 100644 --- a/fuintAdmin/src/views/indexcomponents/bottom_z.vue +++ b/fuintAdmin/src/views/indexcomponents/bottom_z.vue @@ -39,7 +39,7 @@ export default { } }, mounted() { - this.initChart() + // this.initChart() }, created() { this.getSalesByOilProduct() @@ -55,7 +55,7 @@ export default { let series = { type: 'bar', barCategoryGap: '40%' } this.rowData.push(series) } - // this.initChart() + this.initChart() this.Loading = false }) @@ -70,14 +70,15 @@ export default { legend: {}, tooltip: {}, dataset: { - source: [ - ['product', '92#', '95#', '98#'], - ['2024年第20周', 43.3, 85.8, 93.7], - ['2024年第21周', 83.1, 73.4, 55.1], - ['2024年第22周', 86.4, 65.2, 82.5], - ['2024年第23周', 72.4, 53.9, 39.1], - ['2024年第24周', 72.4, 53.9, 39.1] - ] + source:this.data + // [ + // ['product', '92#', '95#', '98#'], + // ['2024年第20周', 43.3, 85.8, 93.7], + // ['2024年第21周', 83.1, 73.4, 55.1], + // ['2024年第22周', 86.4, 65.2, 82.5], + // ['2024年第23周', 72.4, 53.9, 39.1], + // ['2024年第24周', 72.4, 53.9, 39.1] + // ] }, xAxis: { type: 'category' }, yAxis: {},