| | |
| | | }; |
| | | }, |
| | | created() { |
| | | const date = new Date() |
| | | const year = date.getFullYear() |
| | | const month = date.getMonth() + 1 |
| | | const strDate = date.getDate() |
| | | this.query.startTime = `${year}-${month}-${strDate} 00:00:00` |
| | | this.query.endTime = `${year}-${month}-${strDate} 23:59:59` |
| | | // 默认时间查询 |
| | | // const date = new Date() |
| | | // const year = date.getFullYear() |
| | | // const month = date.getMonth() + 1 |
| | | // const strDate = date.getDate() |
| | | // this.query.startTime = `${year}-${month}-${strDate} 00:00:00` |
| | | // this.query.endTime = `${year}-${month}-${strDate} 23:59:59` |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission"]), |