From 288369dd7487adc61fe45f24d6d141152f5492df Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期三, 08 十月 2025 10:06:58 +0800
Subject: [PATCH] 翻页问题修复

---
 src/views/statreport/sendrecord.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/views/statreport/sendrecord.vue b/src/views/statreport/sendrecord.vue
index f8941c7..761294f 100644
--- a/src/views/statreport/sendrecord.vue
+++ b/src/views/statreport/sendrecord.vue
@@ -88,8 +88,8 @@
       },
       loading: true,
       mypage: {
-        size: 10,
-        current: 1,
+        pageSize: 10,
+        currentPage: 1,
         total: 0,
       },
       fileViewModel:false,
@@ -177,7 +177,7 @@
     },
     nodeClick(data) {
       //this.treeDeptId = data.id;
-      this.mypage.current = 1;
+      this.mypage.currentPage = 1;
       this.onLoad(this.page);
     },
     getQueryObj(){
@@ -187,6 +187,8 @@
           param.createTimeBegin = param.createTime[0];
           param.createTimeEnd = param.createTime[1];
         }
+        param.current = this.mypage.currentPage;
+        param.size = this.mypage.pageSize;
         return param;
     },
     handleExport() {
@@ -217,15 +219,15 @@
       //this.onLoad(this.mypage);
     },
     searchChange(params, done) {
-      this.mypage.current = 1;
+      this.mypage.currentPage = 1;
       this.onLoad();
       done();
     },
     currentChange(current) {
-      this.mypage.current = current;
+      this.mypage.currentPage = current;
     },
     sizeChange(size) {
-      this.mypage.size = size;
+      this.mypage.pageSize = size;
     },
     refreshChange() {
       

--
Gitblit v1.9.3