From b5aeb5f89a5af2af1ea8cc4a83a72b287916e710 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sun, 15 Sep 2024 16:27:42 +0800
Subject: [PATCH] fix: 首页页码问题、申请结案问题

---
 gz-customerSystem/src/views/register/index.jsx |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/gz-customerSystem/src/views/register/index.jsx b/gz-customerSystem/src/views/register/index.jsx
index 0fca04b..31fb16e 100644
--- a/gz-customerSystem/src/views/register/index.jsx
+++ b/gz-customerSystem/src/views/register/index.jsx
@@ -225,8 +225,8 @@
     },
     {
       title: '回退部门',
-      dataIndex: 'backUnit',
-      key: 'backUnit',
+      dataIndex: 'organizingUnit',
+      key: 'organizingUnit',
       width: 150,
     },
     {
@@ -1188,6 +1188,10 @@
 
   //改变tab
   const handleColumnType = (type) => {
+    setPageData({
+      page: 1,
+      size: 10,
+    })
     setSearchData({
       ...searchData,
       status: type
@@ -1196,6 +1200,10 @@
 
   //改变工作总览
   const tabActive = (key, data) => {
+    setPageData({
+      page: 1,
+      size: 10,
+    })
     //默认第一个tab
     if (key == '5') {
       setSearchData({
@@ -1402,7 +1410,7 @@
                       setPageData({
                         ...pageData,
                         page,
-                        pageSize
+                        size: pageSize
                       })
                     },
                   }}
@@ -1464,7 +1472,7 @@
             <div className='VisitWorkBench-bottom-title' style={{ color: '#206BCD' }}>大厅来访</div>
             {/* <img src={visitInto} alt='' className='VisitWorkBench-bottom-img' /> */}
           </div>
-          <div className='bottomTab2'>
+          <div className='bottomTab2' onClick={() => navigate(`/mediate/selfInspection`)}>
             <div className='VisitWorkBench-bottom-title' style={{ color: '#D46B08' }}>自行排查</div>
             {/* <img src={checkInto} alt='' className='VisitWorkBench-bottom-img' /> */}
           </div>

--
Gitblit v1.8.0