|
|
@ -13,6 +13,7 @@ import moment from 'moment'; |
|
|
|
|
|
|
|
const DetailForm = (props) => { |
|
|
|
const { visible, data, handleClose, loading } = props; |
|
|
|
const [qndmn] = useState(localStorage.getItem('qndmn')); |
|
|
|
const keyList = [ |
|
|
|
{ key: '编号', name: 'id' }, |
|
|
|
{ key: '工程类型', name: 'projectType' }, |
|
|
@ -38,7 +39,7 @@ const DetailForm = (props) => { |
|
|
|
{ |
|
|
|
data.scenePic && data.scenePic instanceof Array ? data.scenePic.map(imgSrc => { |
|
|
|
return <div style={{ width: '44%', margin: 6 }}> |
|
|
|
<Image src={imgSrc} width={'100%'} style={{ marginBottom: 4 }} /> |
|
|
|
<Image src={qndmn + '/' + imgSrc} width={'100%'} style={{ marginBottom: 4 }} /> |
|
|
|
</div> |
|
|
|
}) : '暂无图片' |
|
|
|
} |
|
|
|