no message

This commit is contained in:
DESKTOP-369JRHT\12997 2024-07-11 10:36:27 +08:00
parent 1fda3fd5b2
commit 7885ddd272

View File

@ -39,7 +39,7 @@ export default {
} }
}, },
mounted() { mounted() {
this.initChart() // this.initChart()
}, },
created() { created() {
this.getSalesByOilProduct() this.getSalesByOilProduct()
@ -55,7 +55,7 @@ export default {
let series = { type: 'bar', barCategoryGap: '40%' } let series = { type: 'bar', barCategoryGap: '40%' }
this.rowData.push(series) this.rowData.push(series)
} }
// this.initChart() this.initChart()
this.Loading = false this.Loading = false
}) })
@ -70,14 +70,15 @@ export default {
legend: {}, legend: {},
tooltip: {}, tooltip: {},
dataset: { dataset: {
source: [ source:this.data
['product', '92#', '95#', '98#'], // [
['2024年第20周', 43.3, 85.8, 93.7], // ['product', '92#', '95#', '98#'],
['2024年第21周', 83.1, 73.4, 55.1], // ['202420', 43.3, 85.8, 93.7],
['2024年第22周', 86.4, 65.2, 82.5], // ['202421', 83.1, 73.4, 55.1],
['2024年第23周', 72.4, 53.9, 39.1], // ['202422', 86.4, 65.2, 82.5],
['2024年第24周', 72.4, 53.9, 39.1] // ['202423', 72.4, 53.9, 39.1],
] // ['202424', 72.4, 53.9, 39.1]
// ]
}, },
xAxis: { type: 'category' }, xAxis: { type: 'category' },
yAxis: {}, yAxis: {},