From 221546808c11df777199def992e4abbf1fc31b5a Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Sat, 14 Sep 2024 10:03:47 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master
---
gz-customerSystem/src/views/register/visit/component/applyDialog.jsx | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx b/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx
index 68546ba..e8e3603 100644
--- a/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx
@@ -30,7 +30,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 ApplyDialog(props) {
@@ -41,6 +41,7 @@
useEffect(() => {
if (props.editData) {
+ console.log(props.editData);
//编辑
formRef.current.setFieldsValue({
...props.editData
@@ -108,6 +109,7 @@
label='身份证明材料'
editData={props.editData}
handleDelFile={handleDelFile}
+ ownerType='22_00018-202'
/>
</Col>
<Col span={12}>
@@ -238,23 +240,25 @@
<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-203`,
}}
field='file'
label={isLegal ? '企业登记材料' : '机构登记材料'}
editData={props.editData}
handleDelFile={handleDelFile}
+ ownerType='22_00018-203'
/>
</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-204`,
}}
field='file1'
label={isLegal ? '法定代表人身份证明材料' : '机构代表人身份证明材料'}
editData={props.editData}
handleDelFile={handleDelFile}
+ ownerType='22_00018-204'
/>
</Col>
<Col span={12}>
@@ -328,7 +332,6 @@
formRef.current.validate(undefined, (errors, values) => {
if (!errors) {
const fieldValue = formRef.current.getFields()
- console.log(fieldValue);
if (props.editData) {
props.handleAddParty({
...fieldValue
@@ -384,6 +387,8 @@
layout='vertical'
requiredSymbol={false}
initialValues={{
+ extreme: 0,
+ nation:''
}}//默认值
scrollToFirstError
>
@@ -393,9 +398,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