广州市综治平台前端
liuwh
2 days ago 1f3626ae3932c3460d8608255c03aa834a2b221a
fix:修改流转进度的附件word查看
1 files modified
10 ■■■■ changed files
src/components/ProgressStep/VisitStep.jsx 10 ●●●● patch | view | raw | blame | history
src/components/ProgressStep/VisitStep.jsx
@@ -2,7 +2,7 @@
 * @Author: dminyi 1301963064@qq.com
 * @Date: 2024-08-29 14:57:06
 * @LastEditors: lwh
 * @LastEditTime: 2025-01-02 16:14:02
 * @LastEditTime: 2025-06-24 16:38:35
 * @FilePath: \gzDyh\gz-customerSystem\src\components\ProgressStep\VisitStep.jsx
 * @Description: 来访登记步骤条
 */
@@ -11,7 +11,7 @@
import { Tooltip } from 'antd';
import { ledger_8, ledger_7, ledger_12, ledger_13, ledger_14 } from '../../assets/images';
import * as $$ from '../../utils/utility';
import PreviewImage from '@/components/PreviewImage';
import MyPDF from '@/components/MyPDF';
import './index.less';
/**
@@ -51,9 +51,9 @@
  const typeDom = (data) => {
    console.log(data);
    const dom = data.fileInfoList?.map((result, resIndex) => {
      return <div style={{ display: 'inline-block' }}>
        <PreviewImage name={result.name} src={result.showUrl} />
        {resIndex !== data.fileInfoList?.length - 1 && <>,</>}
      return <div key={resIndex}>
        <MyPDF name={result.name} fileUrl={result.showUrl} fileType={result.suffix} />
        {/* {resIndex !== data.fileInfoList?.length - 1 && <>,</>} */}
      </div>
    })
    console.log(dom);