From 200b3f9e47195b19484a9e8530079ee8e2c9aa5f Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sun, 15 Sep 2024 22:37:54 +0800
Subject: [PATCH] fix: 配合部门
---
gz-customerSystem/src/views/register/index.jsx | 45 ++++++++++++++++++++++++++++++---------------
1 files changed, 30 insertions(+), 15 deletions(-)
diff --git a/gz-customerSystem/src/views/register/index.jsx b/gz-customerSystem/src/views/register/index.jsx
index aa14970..31fb16e 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,
},
{
@@ -571,7 +571,7 @@
},
tabList: [
{
- value: '0',
+ value: '2',
label: '办理中',
columns: [
{
@@ -650,7 +650,7 @@
]
},
{
- value: '1',
+ value: '0',
label: '结案申请',
columns: [
{
@@ -722,7 +722,7 @@
]
},
{
- value: '2',
+ value: '1',
label: '已结案',
columns: [
{
@@ -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: '督办意见',
@@ -1151,7 +1151,7 @@
break;
case '4'://办理中
const { status, ...most } = searchData
- if (status && status === '0') {
+ if (status && status === '2') {
res = await pageMyTaskBlzApi({
...pageData,
...most
@@ -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({
@@ -1204,7 +1212,13 @@
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,
@@ -1219,13 +1233,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 +1362,7 @@
</span>
}
>
- <Typography.Paragraph key={item.value}>
+ <Typography.Paragraph key={tabActivekey + item.value}>
{tabActivekey == '5' &&
<Radio.Group
type='button'
@@ -1395,7 +1410,7 @@
setPageData({
...pageData,
page,
- pageSize
+ size: pageSize
})
},
}}
@@ -1457,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