From 4a25bd9ba57cf9b9985d93e85fab1e065a0911bc Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 28 Sep 2023 14:22:21 +0800
Subject: [PATCH] fix:立行立改

---
 src/views/toCarryOutLegislativeReforms/reform/index.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/views/toCarryOutLegislativeReforms/reform/index.vue b/src/views/toCarryOutLegislativeReforms/reform/index.vue
index df6afda..5af2319 100644
--- a/src/views/toCarryOutLegislativeReforms/reform/index.vue
+++ b/src/views/toCarryOutLegislativeReforms/reform/index.vue
@@ -241,7 +241,10 @@
       pageState: 'add',
       invalidReason: '',
       slectRow: {},
-      title: ''
+      title: '',
+      searchData: {
+        isInvalid: 0
+      }
     }
   },
 
@@ -376,11 +379,15 @@
       })
     },
     handleSearch(obj) {
+      this.searchData.isInvalid = 0
+      if (obj) {
+        this.searchData = obj
+      }
       this.$request({
         url: '/allocation/page',
         method: 'post',
         data: {
-          ...obj,
+          ...this.searchData,
           'page': this.pagination
         }
       }).then((res) => {
@@ -399,11 +406,13 @@
       this.pagination.PageSize = val
       // ���������������������������������������������������������������������������
       this.pagination.currentPage = 1
+      this.handleSearch()
     },
     // ���������������
     handleCurrentChange(val) {
       // ���������������������
       this.pagination.currentPage = val
+      this.handleSearch()
       // console.log(val)
     },
     openWorkOrdinDialog(row, type) {

--
Gitblit v1.8.0