From f6efc465e8f5633313afc8da54c17988722073eb Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sat, 14 Sep 2024 15:55:07 +0800
Subject: [PATCH] fix: 审核页面逻辑调整、滚动调整

---
 gz-customerSystem/src/views/register/index.jsx |   34 +++++++++++++++++++++-------------
 1 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/gz-customerSystem/src/views/register/index.jsx b/gz-customerSystem/src/views/register/index.jsx
index 4ea13a9..8f5a353 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: '督办意见',
@@ -1122,6 +1122,7 @@
       $$.infoSuccess({ content: '签收成功' });
       getCountData();
       getTableData(tabActivekey)
+      navigate(`/mediate/visit/eventFlow?caseTaskId=${ownerId}&caseId=${caseId}`)
     }
   }
 
@@ -1150,7 +1151,7 @@
         break;
       case '4'://办理中
         const { status, ...most } = searchData
-        if (status && status === '0') {
+        if (status && status === '2') {
           res = await pageMyTaskBlzApi({
             ...pageData,
             ...most
@@ -1203,7 +1204,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,
@@ -1218,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)
     }
   }
@@ -1346,7 +1354,7 @@
                 </span>
               }
             >
-              <Typography.Paragraph key={item.value}>
+              <Typography.Paragraph key={tabActivekey + item.value}>
                 {tabActivekey == '5' &&
                   <Radio.Group
                     type='button'

--
Gitblit v1.8.0