From e978022eaa03c076b18c851a7c0852402e80fd1c Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 06 Sep 2024 16:38:42 +0800
Subject: [PATCH] feat: 识别文字

---
 gz-customerSystem/src/views/register/visit/component/applyDialog.jsx |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx b/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx
index c16b16e..1004661 100644
--- a/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx
@@ -16,6 +16,7 @@
 import KeyVisits from "@/components/personCard/KeyVisits";
 import SelectUnitDialog from "./selectUnitDialog";
 import ArcoUpload from '@/components/ArcoUpload';
+import { Scrollbars } from "react-custom-scrollbars";
 
 const FormItem = Form.Item;
 const Option = Select.Option;
@@ -97,7 +98,7 @@
       //自然人
       return (
         <>
-          <Col span={24}>
+          <Col span={24} className="doubleFile">
             <ArcoUpload
               params={{
                 action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-202`,
@@ -234,7 +235,7 @@
       let isLegal = type === '09_01001-2'
       return (
         <>
-          <Col span={24}>
+          <Col span={24} className="doubleFile">
             <ArcoUpload
               params={{
                 action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-202`,
@@ -245,7 +246,7 @@
               handleDelFile={handleDelFile}
             />
           </Col>
-          <Col span={24}>
+          <Col span={24} className="doubleFile">
             <ArcoUpload
               params={{
                 action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-202`,
@@ -355,7 +356,7 @@
 
   return (
     <div className="applyDialog">
-      <div style={{ height: '590px', overflowY: 'scroll' }}>
+      <Scrollbars style={{ height: '590px' }} autoHide>
         <div className="dialogTitle">当事人类型</div>
         <Row gutter={[16, 16]} style={{ margin: '0 2px 0 0' }}>
           {$$.options.personClass.map((x, t) => {
@@ -395,7 +396,7 @@
         <div style={{ width: 'calc(100% - 9px)', background: '#f2f3f5', marginBottom: '20px', padding: '12px' }}>
           <KeyVisits />
         </div>
-      </div>
+      </Scrollbars>
       <div className='dialogFooter'>
         <Button
           type="primary"

--
Gitblit v1.8.0