Browse Source

调整归档清单页面,使ArchiveOperationPanel区域内部出现滚动条

dengdx 2 months ago
parent
commit
1d3ef50c47
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/pages/patient/ArchiveList.tsx

+ 3 - 3
src/pages/patient/ArchiveList.tsx

@@ -11,7 +11,7 @@ const ArchivelistPage: React.FC = () => {
   const [drawerVisible, setDrawerVisible] = useState(false);
   const [drawerVisible, setDrawerVisible] = useState(false);
 
 
   return (
   return (
-    <div className="p-4">
+    <div className="h-full">
       {screens.xs ? (
       {screens.xs ? (
         <>
         <>
           <WorklistTable />
           <WorklistTable />
@@ -33,14 +33,14 @@ const ArchivelistPage: React.FC = () => {
           </Drawer>
           </Drawer>
         </>
         </>
       ) : (
       ) : (
-        <Row gutter={16}>
+        <Row className='h-full flex-1'>
           <Col span={screens.lg ? 18 : screens.md ? 20 : 24}>
           <Col span={screens.lg ? 18 : screens.md ? 20 : 24}>
             <WorklistTable />
             <WorklistTable />
             <div className="flex justify-center mt-4">
             <div className="flex justify-center mt-4">
               <Pagination defaultCurrent={1} total={50} />
               <Pagination defaultCurrent={1} total={50} />
             </div>
             </div>
           </Col>
           </Col>
-          <Col span={screens.lg ? 6 : screens.md ? 4 : 0}>
+          <Col span={screens.lg ? 6 : screens.md ? 4 : 0} className='h-full overflow-auto'>
             <ArchiveOperationPanel />
             <ArchiveOperationPanel />
           </Col>
           </Col>
         </Row>
         </Row>