From 862311c4686345362fcbc60e92c969fb5cb3369d Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Mon, 09 Sep 2024 17:07:39 +0800
Subject: [PATCH] 工作台
---
gz-customerSystem/src/views/register/matterDetail/FileTable.jsx | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/gz-customerSystem/src/views/register/matterDetail/FileTable.jsx b/gz-customerSystem/src/views/register/matterDetail/FileTable.jsx
index a5812c4..84e9d1e 100644
--- a/gz-customerSystem/src/views/register/matterDetail/FileTable.jsx
+++ b/gz-customerSystem/src/views/register/matterDetail/FileTable.jsx
@@ -1,8 +1,7 @@
import React, { Fragment, useEffect, useState, useRef } from 'react';
import * as $$ from '@/utils/utility';
import ArcoUpload from '@/components/ArcoUpload';
-import NewFileCheck from '../../filesCheck/newFileCheck';
-import { IconLink } from '@arco-design/web-react/icon';
+import NewFileCheck from './NewFileCheck';
import { Row, Col, Button } from 'antd';
import { Form, Modal } from '@arco-design/web-react';
import {
@@ -114,6 +113,10 @@
{ value: '22_00018-102', label: '证据材料' },
]
+ useEffect(() => {
+ console.log(props.fileInfoList);
+ },[props.fileInfoList])
+
const personIconType = (v) => {
switch (v) {
case '22_00018-101':
@@ -134,7 +137,7 @@
const handleUpload = () => {
const newList = tableData.map(item => {
- if(item.ownerType == sourceType) {
+ if (item.ownerType == sourceType) {
const data = fileMap[sourceType]
return {
...item,
@@ -164,7 +167,7 @@
label=''
// editData={props.editData}
handleDelFile={handleDelFile}
- onFileListChange={(v) => {
+ onFileListChange={(v) => {
setFileMap({
'22_00018-101': v
})
@@ -188,7 +191,7 @@
label=''
// editData={props.editData}
handleDelFile={handleDelFile}
- onFileListChange={(v) => {
+ onFileListChange={(v) => {
setFileMap({
'22_00018-102': v
})
@@ -257,7 +260,16 @@
</div>
</Modal >
- <Modal style={{ width: '1200px' }} visible={filesCheck} onCancel={() => setFilesCheck(false)} footer={null} title='查看事件材料' centered>
+ <Modal
+ style={{ width: '1200px' }}
+ visible={filesCheck}
+ onCancel={() => setFilesCheck(false)}
+ footer={null}
+ title='查看事件材料'
+ centered
+ unmountOnExit={true}
+ maskClosable={false}
+ >
<div style={{ marginTop: '-16px' }}>
<NewFileCheck />
</div>
--
Gitblit v1.8.0