| | |
| | | data() { |
| | | return { |
| | | query: { |
| | | name: '', |
| | | type: '', |
| | | huiMinName: '', |
| | | huiMinType: '', |
| | | dateRange: [], |
| | | status: '' |
| | | status: '', |
| | | huiMinStatus: '', |
| | | }, |
| | | loading: false, |
| | | currentPage: 1, |
| | |
| | | |
| | | // 添加请求参数 |
| | | ajax.set({ |
| | | pageNum: this.currentPage, |
| | | pageSize: this.pageSize, |
| | | current: this.currentPage, |
| | | size: this.pageSize, |
| | | startTime: this.query.dateRange.length > 0 ? this.query.dateRange[0] : null, |
| | | endTime: this.query.dateRange.length > 0 ? this.query.dateRange[1] : null, |
| | | ...this.query |
| | | }); |
| | | ajax.start(); |
| | |
| | | }, |
| | | handleSizeChange(val) { |
| | | this.pageSize = val |
| | | this.handleSearch() |
| | | }, |
| | | handleCurrentChange(val) { |
| | | this.currentPage = val |
| | | this.handleSearch() |
| | | }, |
| | | handleSelectionChange(selection) { |
| | | // 多选处理 |