From c25bde50c087f7814d88533b46772f94c3373c82 Mon Sep 17 00:00:00 2001 From: dminyi <1301963064@qq.com> Date: Wed, 11 Sep 2024 11:09:05 +0800 Subject: [PATCH] 修改 --- gz-customerSystem/src/views/register/visit/component/agentDialog.jsx | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx b/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx index 5329deb..c724510 100644 --- a/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx +++ b/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx @@ -18,7 +18,7 @@ } function delFile(id) { - return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'delete', service: 'sys', data: { id } }); + return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'get', service: 'sys', data: { id } }); } export default function AgentDialog(props) { @@ -117,6 +117,7 @@ layout='vertical' requiredSymbol={false} initialValues={{ + extreme: 0 }}//默认值 scrollToFirstError > @@ -131,16 +132,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}> @@ -318,9 +321,9 @@ </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> */} </Scrollbars> <div className='dialogFooter'> <Button -- Gitblit v1.8.0