From cb04b8ed8a616c5b9fae9d432c093985b56f044c Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期四, 16 十月 2025 16:55:04 +0800
Subject: [PATCH] 任务导入+翻页修复

---
 src/views/statreport/sendrecord.vue |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/views/statreport/sendrecord.vue b/src/views/statreport/sendrecord.vue
index ec7fbb3..761294f 100644
--- a/src/views/statreport/sendrecord.vue
+++ b/src/views/statreport/sendrecord.vue
@@ -23,7 +23,7 @@
         </template>
           <template #menu-left>
             <div class="menuLeft">
-              <el-button type="primary" size="default" icon="el-icon-circle-plus" plain @click="handleExport">瀵煎嚭</el-button>
+              <el-button type="primary" size="default" icon="el-icon-download" plain @click="handleExport">瀵煎嚭</el-button>
               <el-button type="primary" size="default" icon="el-icon-compass" plain @click="preMonth">涓婃湀</el-button>
               <el-button type="primary" size="default" icon="el-icon-aim" plain @click="thisMonth">鏈湀</el-button>
             </div>
@@ -88,12 +88,12 @@
       },
       loading: true,
       mypage: {
-        size: 10,
-        current: 1,
+        pageSize: 10,
+        currentPage: 1,
         total: 0,
       },
       fileViewModel:false,
-      fileContent:'',
+      appContent:'',
       option: {
         index: true,
         addBtn: false,
@@ -144,7 +144,7 @@
   methods: {
     showContent(row) {
       this.fileViewModel = true;
-      this.fileContent = '';
+      this.appContent = '';
       axios({
         url: '/blade-mdm/ossfile/file-content',
         method: 'get',
@@ -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