From 0d40ce565cdc87668f83dbeddbf1246536986f9e Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Sat, 14 Sep 2024 18:02:36 +0800 Subject: [PATCH] fix: 样式、自行排查 --- gz-customerSystem/src/views/register/index.jsx | 27 +++++++++++++++++---------- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/gz-customerSystem/src/views/register/index.jsx b/gz-customerSystem/src/views/register/index.jsx index eb6690f..a73a734 100644 --- a/gz-customerSystem/src/views/register/index.jsx +++ b/gz-customerSystem/src/views/register/index.jsx @@ -1,8 +1,8 @@ /* * @Author: dminyi 1301963064@qq.com * @Date: 2024-09-08 15:14:12 - * @LastEditors: dminyi 1301963064@qq.com - * @LastEditTime: 2024-09-12 15:42:34 + * @LastEditors: lwh + * @LastEditTime: 2024-09-13 10:35:03 * @FilePath: \gzDyh\gz-customerSystem\src\views\register\index.jsx * @Description: 工作台 */ @@ -225,8 +225,8 @@ }, { title: '回退部门', - dataIndex: 'backUnit', - key: 'backUnit', + dataIndex: 'organizingUnit', + key: 'organizingUnit', width: 150, }, { @@ -954,7 +954,7 @@ title: '督办部门', dataIndex: 'caseGrade', key: 'caseGrade', - width: 80, + width: 110, }, { title: '督办意见', @@ -1020,7 +1020,7 @@ title: '督办部门', dataIndex: 'caseGrade', key: 'caseGrade', - width: 80, + width: 110, }, { title: '督办意见', @@ -1204,11 +1204,17 @@ status: '0', type: 1 }) - } else if (key == '4' || key == '6') { + } else if (key == '4') { setSearchData({ sortType: 1, sortColmn: 1, status: '2', + }) + } else if (key == '6') { + setSearchData({ + sortType: 1, + sortColmn: 1, + status: '0', }) } else { setSearchData({ @@ -1219,13 +1225,14 @@ } setTabActivekey(key); setTableTab(data.tabList) + getCountData(); } //获取工作总览数据 const getCountData = async () => { const res = await getCountListApi() if (res.type) { - const data = res.data + const data = res.data || {}; setCountData(data) } } @@ -1347,7 +1354,7 @@ </span> } > - <Typography.Paragraph key={item.value}> + <Typography.Paragraph key={tabActivekey + item.value}> {tabActivekey == '5' && <Radio.Group type='button' @@ -1457,7 +1464,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