| | |
| | | * 生命周期 挂载前 |
| | | * */ |
| | | created() { |
| | | this.searchReset() |
| | | this.queryGroup() |
| | | this.getDriveTypeByApi() |
| | | this.initDictData('device_level') |
| | | this.initDictData('device_importance_level') |
| | | |
| | | }, |
| | | mounted() { |
| | | this.tableScroll = document.querySelector('.table2') |
| | | this.searchReset() |
| | | window.addEventListener('resize',this.handleWindowResize) |
| | | }, |
| | | beforeDestroy() { |
| | |
| | | } |
| | | this.queryParam = {} |
| | | this.dates = [moment().subtract('days', 8), moment().subtract('days', 1)] |
| | | this.requestAllDataSize = this.dates[1].diff(this.dates[0],'days') + 1 |
| | | this.queryParam.startDate = moment(this.dates[0]).format('YYYYMMDD') |
| | | this.queryParam.endDate = moment(this.dates[1]).format('YYYYMMDD') |
| | | this.queryParam.startTime = '00:00' |