| | |
| | | * @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: 来访登记步骤条 |
| | | */ |
| | |
| | | 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'; |
| | | |
| | | /** |
| | |
| | | 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); |