From 6ffddb4f427176d39bb41df21919d7038e5bf668 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Wed, 11 Sep 2024 15:27:19 +0800
Subject: [PATCH] feat: 修改样式

---
 gz-customerSystem/src/views/register/index.jsx |   39 ++++++++++++++++++++++-----------------
 1 files changed, 22 insertions(+), 17 deletions(-)

diff --git a/gz-customerSystem/src/views/register/index.jsx b/gz-customerSystem/src/views/register/index.jsx
index 8a94c92..844aef1 100644
--- a/gz-customerSystem/src/views/register/index.jsx
+++ b/gz-customerSystem/src/views/register/index.jsx
@@ -115,9 +115,7 @@
 
     },
   ]
-
   const [fakeData1, setFakeData1] = useState([])
-
   const [columnType, setColumnType] = useState([
     {
       title: '流转时间',
@@ -169,6 +167,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -230,6 +229,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -289,6 +289,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -347,6 +348,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -406,6 +408,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -465,6 +468,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -524,6 +528,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -532,8 +537,7 @@
       ),
     },
   ];
-
-  const [column, setColumn] = useState([
+  const column = [
     {
       title: '流转时间',
       dataIndex: 'turnaroundTime',
@@ -599,6 +603,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer', color: '#1A6FB8' }}>详情</div>
@@ -606,9 +611,8 @@
         </Space>
       ),
     },
-  ])
-
-  const [backColumn, setBackColumn] = useState([
+  ]
+  const backColumn = [
     {
       title: '回退时间',
       dataIndex: 'turnaroundTime',
@@ -662,6 +666,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -676,9 +681,9 @@
         </Space>
       ),
     },
-  ])
+  ]
 
-  const [mangeColumn, setMangeColumn] = useState([
+  const mangeColumn = [
     {
       title: '督办时间',
       dataIndex: 'turnaroundTime',
@@ -741,6 +746,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space>
           <div>回复</div>
@@ -748,7 +754,7 @@
         </Space>
       ),
     },
-  ])
+  ]
 
   //结案申请
   const caseResultApply = [
@@ -811,6 +817,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -880,6 +887,7 @@
       dataIndex: 'actions',
       key: 'actions',
       width: 180,
+      fixed: 'right',
       render: (text, record) => (
         <Space style={{ color: '#1A6FB8' }}>
           <div onClick={() => navigate(`/mediate/visit/fileMessage?caseTaskId=${record.ownerId}&caseId=${record.caseId}`)} style={{ cursor: 'pointer' }}>详情</div>
@@ -1120,10 +1128,7 @@
                 size="small"
                 rowKey="caseId"
                 bordered={true}
-                // style={{ marginBottom: '65px', marginTop: '-16px' }}
-                // rowSelection={{
-                //   type: 'Checkbox'
-                // }}
+                scroll={{ x: 1300 }}
               />
             </Typography.Paragraph>
           </TabPane>
@@ -1147,7 +1152,7 @@
                 size="small"
                 rowKey="id"
                 bordered={true}
-                // style={{ marginBottom: '65px', marginTop: '-16px' }}
+                scroll={{ x: 1300 }}
               />
             </Typography.Paragraph>
           </TabPane>
@@ -1167,7 +1172,7 @@
                   size="small"
                   rowKey="id"
                   bordered={true}
-                  // style={{ marginBottom: '65px', marginTop: '-16px' }}
+                  scroll={{ x: 1300 }}
                 />
               </Typography.Paragraph>
             </TabPane>
@@ -1180,7 +1185,7 @@
         群众来访接待
         <div style={{ display: 'flex', justifyContent: 'space-evenly',gap:'24px',marginTop:'16px' }}>
           <div className='bottomTab1' style={{ cursor: 'pointer' }}>
-            <div className='VisitWorkBench-bottom-title' onClick={() => navigate(`/mediate/visit`)} style={{ color: '#206BCD' }}>大厅来访</div>
+            <div className='VisitWorkBench-bottom-title' onClick={() => {navigate(`/mediate/visit`)}} style={{ color: '#206BCD' }}>大厅来访</div>
             {/* <img src={visitInto} alt='' className='VisitWorkBench-bottom-img' /> */}
           </div>
           <div className='bottomTab2' style={{ cursor: 'pointer' }}>

--
Gitblit v1.8.0