import React, { useCallback, useEffect } from 'react' import styles from './index.module.scss' import { Button, Modal } from 'antd' import { B2_APIgetInfo } from '@/store/action/B2exhiLog' type Props = { sId: number closeFu: () => void } const arr = [ { id: 1, name: '啊萨达萨达是', phone: '18702025050', identity: '421083199504071212' }, { id: 2, name: '王大锤', phone: '18702025050', identity: '421083199504071212' }, { id: 3, name: '小溺😥', phone: '18702025050', identity: '421083199504071212' } ] function B2look({ sId, closeFu }: Props) { const getInfoFu = useCallback(async (id: number) => { const res = await B2_APIgetInfo(id) if (res.code === 0) { // 待完善 接口数据不明确 console.log(123, res) } }, []) useEffect(() => { getInfoFu(sId) }, [getInfoFu, sId]) return (
申请时间:
2024-10-30 09:59:05
{/* 待完善 */} {/*
验证状态:
*/}
预约日期:
2024-10-30
预约时段:
08:00-09:00

{arr.map(item => (
参观人姓名:
{item.name}
参观人电话:
{item.phone}
身份证号:
{item.identity}
))}
) } const MemoB2look = React.memo(B2look) export default MemoB2look