From babdf0124fb18c2884f9720ea35d6fd392d3d857 Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Sat, 14 Sep 2024 18:10:56 +0800
Subject: [PATCH] 综合查询字段调整
---
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx | 27 +--------------------------
1 files changed, 1 insertions(+), 26 deletions(-)
diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
index 6582b3e..25853bf 100644
--- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -50,32 +50,7 @@
}, [fakeData])
useEffect(() => {
- setFakeData(props.partyList?.map(item => {
- const fileInfoList = item.fileInfoList
- let file = [];//身份证明材料、企业登记材料
- let file1 = [];//法人、机构身份证明材料、代理人授权委托书
- if (fileInfoList && fileInfoList.length != 0) {
- fileInfoList.forEach(item => {
- if (item.ownerType == '22_00018-202' || item.ownerType == '22_00018-203') {
- file.push({
- name: item.fileList[0].trueName,
- uid: item.fileList[0].id,
- })
- }
- if (item.ownerType == '22_00018-204' || item.ownerType == '22_00018-207') {
- file1.push({
- name: item.fileList[0].trueName,
- uid: item.fileList[0].id,
- })
- }
- })
- }
- return {
- ...item,
- file,
- file1
- }
- }) || [])
+ setFakeData(props.partyList || [])
}, [props.partyList])
//获取当前时间
--
Gitblit v1.8.0