积分明细 默认显示七天数据
This commit is contained in:
		| @@ -138,6 +138,7 @@ | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| import dayjs from 'dayjs' | ||||
| import { mapState } from "vuex" | ||||
| import * as echarts from 'echarts'; | ||||
| export default { | ||||
| @@ -208,10 +209,14 @@ export default { | ||||
|     } | ||||
|   }, | ||||
|   created() { | ||||
|     this.time = [dayjs().subtract(7,'week').format('YYYY-MM-DD'),dayjs().format('YYYY-MM-DD')] | ||||
|     this.getTableData() | ||||
|     this.$dict.load('epidemicDangerousAreaLevel','integralType','integralRuleEvent','integralRuleEventType').then(() => { | ||||
|       this.getStatistics() | ||||
|       this.getGridList() | ||||
|       this.getRanking() | ||||
|       this.search.startTime = this.time?.[0] | ||||
|       this.search.endTime = this.time?.[1] | ||||
|       this.getTableData() | ||||
|     }) | ||||
|   }, | ||||
| @@ -402,7 +407,6 @@ export default { | ||||
|         ] | ||||
|       }, true); | ||||
|       window.addEventListener("resize", this.onResize2) | ||||
|       // this.extension(this.myChart2) | ||||
|     }, | ||||
|     onResize1() { | ||||
|       this.myChart1.resize() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user