From f6939b0ec6680da8416a3161b524e7b73a7a3db8 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Tue, 10 Sep 2024 16:55:34 +0800 Subject: [PATCH] fix: delete改回get请求 --- gz-customerSystem/src/views/register/visit/component/agentDialog.jsx | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx b/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx index 3419f2f..fb7cfe7 100644 --- a/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx +++ b/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx @@ -4,6 +4,7 @@ import KeyVisits from "@/components/personCard/KeyVisits"; import * as $$ from '@/utils/utility'; import ArcoUpload from '@/components/ArcoUpload'; +import { Scrollbars } from "react-custom-scrollbars"; const FormItem = Form.Item; const Option = Select.Option; @@ -108,7 +109,7 @@ return ( <div className="applyDialog"> - <div style={{ height: '590px', overflowY: 'scroll' }}> + <Scrollbars style={{ height: '590px' }} autoHide> <Row gutter={[16, 16]} style={{ margin: '0 2px 0 0' }}> <Col span={24}> <Form @@ -130,16 +131,18 @@ label='身份证明材料' editData={props.editData} handleDelFile={handleDelFile} + ownerType='22_00018-202' /> </Col> <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`, + action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.mainId}&ownerId=${id}&ownerType=22_00018-207`, }} field='file1' label='代理人委托书' editData={props.editData} + ownerType='22_00018-207' /> </Col> <Col span={12}> @@ -317,10 +320,10 @@ </Row> {/* 重复来访重点人员 */} - <div style={{ width: 'calc(100% - 9px)', background: '#f2f3f5', marginBottom: '20px', padding: '12px' }}> + {/* <div style={{ width: 'calc(100% - 9px)', background: '#f2f3f5', marginBottom: '20px', padding: '12px' }}> <KeyVisits /> - </div> - </div> + </div> */} + </Scrollbars> <div className='dialogFooter'> <Button type="primary" -- Gitblit v1.8.0