|
@@ -202,7 +202,7 @@ export default {
|
|
|
{ prop: 'jian_ce_zhuang_ta', label: '检测状态' }
|
|
{ prop: 'jian_ce_zhuang_ta', label: '检测状态' }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
- startDate: '2022-1-1',
|
|
|
|
|
|
|
+ startDate: '',
|
|
|
endDate: '',
|
|
endDate: '',
|
|
|
chartData: [],
|
|
chartData: [],
|
|
|
pagination: { limit: 20, page: 1 },
|
|
pagination: { limit: 20, page: 1 },
|
|
@@ -383,6 +383,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
const initendDate = new Date();
|
|
const initendDate = new Date();
|
|
|
|
|
+ this.startDate = initendDate.getFullYear() + '-' + (initendDate.getMonth() + 1) + '-01'
|
|
|
this.endDate = initendDate.getFullYear() + '-' + (initendDate.getMonth() + 1) + '-' + initendDate.getDate()
|
|
this.endDate = initendDate.getFullYear() + '-' + (initendDate.getMonth() + 1) + '-' + initendDate.getDate()
|
|
|
this.monthValues = [new Date(this.startDate), new Date(initendDate.getFullYear() + '-' + (initendDate.getMonth() + 1) + '-' + initendDate.getDate())]
|
|
this.monthValues = [new Date(this.startDate), new Date(initendDate.getFullYear() + '-' + (initendDate.getMonth() + 1) + '-' + initendDate.getDate())]
|
|
|
this.chartLoading()
|
|
this.chartLoading()
|