| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2023-01-13 15:52:59 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-02-13 09:59:47 |
| | | * @LastEditTime: 2023-02-15 16:01:18 |
| | | * @FilePath: \srs-police-affairs\src\views\home\components\bottomContainer.vue |
| | | * @Description: |
| | | * |
| | |
| | | handleCurrentChange: function (currentPage) { |
| | | this.currentPage = currentPage |
| | | |
| | | this.getAlarmList({ current: this.currentPage }) |
| | | if (this.timetype == 0) { |
| | | |
| | | this.getAlarmList({ type: this.timetype, time: this.dateFormat(this.currentWeekTime), current: this.currentPage }) |
| | | |
| | | } else if (this.timetype == 1) { |
| | | |
| | | this.getAlarmList({ type: this.timetype, time: this.dateFormat(this.currentMonthTime), current: this.currentPage }) |
| | | |
| | | } else { |
| | | |
| | | const date = this.currentTime.map(item => { |
| | | return this.dateFormat(item) |
| | | }) |
| | | |
| | | this.getAlarmList({ start: date[0], end: date[1], current: this.currentPage }) |
| | | |
| | | } |
| | | |
| | | }, |
| | | |
| | | // 设置默认时间 |