Browse Source

1. 优化

MONSTER-ygh 11 months ago
parent
commit
3ed82d1b7c

+ 6 - 1
src/views/tourism/membershipManagement/electronicMembership/memberInformation.vue

@@ -331,8 +331,13 @@
       },
       /** 导出按钮操作 */
       handleExport() {
+        let params = JSON.parse(JSON.stringify({
+          ...this.queryParams,
+        }))
+        delete params.pageSize;
+        delete params.pageNum;
         this.downloadGet(this.configUrl.export, {
-          ...this.queryParams
+          ...params
         }, `${this.title }_${new Date().getTime()}.xlsx`)
       },
       /** 导入按钮操作 */

+ 2 - 0
src/views/tourism/orderManagement/ticketOrdersAll/ticketOrders.vue

@@ -370,6 +370,8 @@
         delete params.createTime;
         delete params.performTime;
         delete params.payTime;
+        delete params.pageSize;
+        delete params.pageNum;
         this.downloadGet(this.configUrl.export, {
           ...params
         }, `${this.title }_${new Date().getTime()}.xlsx`)