更新10.14

This commit is contained in:
许允枞 2024-10-14 18:28:46 +08:00
parent e52f64ab0d
commit c7609e2437

View File

@ -325,7 +325,10 @@ export default {
this.getDataCount() this.getDataCount()
}, },
mounted() { mounted() {
this.initChart() setTimeout(() => {
this.initChart();
}, 2000);
}, },
methods: { methods: {
goList() { goList() {
@ -364,7 +367,7 @@ export default {
console.log('dataAnalysisOilNumberList',this.dataAnalysisOilNumberList) console.log('dataAnalysisOilNumberList',this.dataAnalysisOilNumberList)
console.log('dataAnalysisIfOilList',this.dataAnalysisIfOilList) console.log('dataAnalysisIfOilList',this.dataAnalysisIfOilList)
console.log('dataAnalysisAllList',this.dataAnalysisAllList) console.log('dataAnalysisAllList',this.dataAnalysisAllList)
this.initChart() // this.initChart()
} }
}) })
}, },
@ -406,7 +409,7 @@ export default {
getStoreList() { getStoreList() {
selectStoreAmount(this.addDateRange({}, this.value2)).then(res => { selectStoreAmount(this.addDateRange({}, this.value2)).then(res => {
this.storeList = res.data this.storeList = res.data
this.initChart() // this.initChart()
}) })
}, },
// //
@ -445,7 +448,7 @@ export default {
getStoreAmount() { getStoreAmount() {
getDataBoard(this.addDateRange(this.queryParams, this.value1)).then(res => { getDataBoard(this.addDateRange(this.queryParams, this.value1)).then(res => {
this.storeAmount = res.data this.storeAmount = res.data
this.initChart() // this.initChart()
}) })
}, },
countPercentage(upNum, downNum) { countPercentage(upNum, downNum) {