From 0d23da5814e16f2031404d9a763bb0c3a599e234 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 13 Sep 2024 21:06:35 +0800
Subject: [PATCH] fix: 工作台督办初始值问题
---
gz-customerSystem/src/views/register/index.less | 4 ++--
gz-customerSystem/src/views/register/index.jsx | 15 +++++++++++----
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/gz-customerSystem/src/views/register/index.jsx b/gz-customerSystem/src/views/register/index.jsx
index c1c0450..0fca04b 100644
--- a/gz-customerSystem/src/views/register/index.jsx
+++ b/gz-customerSystem/src/views/register/index.jsx
@@ -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,6 +1225,7 @@
}
setTabActivekey(key);
setTableTab(data.tabList)
+ getCountData();
}
//获取工作总览数据
@@ -1347,7 +1354,7 @@
</span>
}
>
- <Typography.Paragraph key={item.value}>
+ <Typography.Paragraph key={tabActivekey + item.value}>
{tabActivekey == '5' &&
<Radio.Group
type='button'
diff --git a/gz-customerSystem/src/views/register/index.less b/gz-customerSystem/src/views/register/index.less
index d1ba534..35027f2 100644
--- a/gz-customerSystem/src/views/register/index.less
+++ b/gz-customerSystem/src/views/register/index.less
@@ -952,7 +952,7 @@
height: 6px;
background: #F53F3F;
border-radius: 2px;
- margin: 0 5px 2px 0;
+ margin: 0 5px 3px 0;
}
&-tips {
@@ -981,7 +981,7 @@
height: 6px;
background: #00b42a;
border-radius: 2px;
- margin: 0 5px 2px 0;
+ margin: 0 5px 3px 0;
}
}
}
\ No newline at end of file
--
Gitblit v1.8.0