From a09205214e5cb6803563cb06c6d9f58d68916b73 Mon Sep 17 00:00:00 2001 From: xusd <hugeinfo123> Date: Mon, 16 Sep 2024 22:11:21 +0800 Subject: [PATCH] 调整网格调整,修正头部head数据传输逻辑 --- gz-customerSystem/src/views/register/index.jsx | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gz-customerSystem/src/views/register/index.jsx b/gz-customerSystem/src/views/register/index.jsx index 8f5a353..31fb16e 100644 --- a/gz-customerSystem/src/views/register/index.jsx +++ b/gz-customerSystem/src/views/register/index.jsx @@ -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