| | |
| | | Feng.error("搜索失败: " + (data.responseJSON?.message || '服务器异常')); // 错误提示优化 |
| | | }); |
| | | |
| | | console.log('请求参数222:', this.query.dateRange) |
| | | // 添加请求参数 |
| | | ajax.set({ |
| | | 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, |
| | | startTime: this.query.dateRange !=null && this.query.dateRange.length > 0 ? this.query.dateRange[0] : null, |
| | | endTime: this.query.dateRange !=null && this.query.dateRange.length > 0 ? this.query.dateRange[1] : null, |
| | | ...this.query |
| | | }); |
| | | ajax.start(); |