| | |
| | | }, |
| | | /** 导出按钮操作 */ |
| | | handleExport() { |
| | | this.topqueryParams.pageNum = null; |
| | | const originalPageNum = this.topqueryParams.pageNum; |
| | | const originalPageSize = this.topqueryParams.pageSize; |
| | | this.topqueryParams.pageNum = null; |
| | | this.topqueryParams.pageSize = null; |
| | | this.download( |
| | | "smartor/serviceSubtask/patItemExport", |
| | | { |
| | | ...this.topqueryParams, |
| | | }, |
| | | `user_${new Date().getTime()}.xlsx`, |
| | | ); |
| | | `user_${new Date().getTime()}.xlsx` |
| | | ).finally(() => { |
| | | // 导出后恢复分页参数 |
| | | this.topqueryParams.pageNum = originalPageNum; |
| | | this.topqueryParams.pageSize = originalPageSize; |
| | | this.getList() |
| | | }); |
| | | }, |
| | | // 异常列渲染 |
| | | tableRowClassName({ row, rowIndex }) { |