Browse Source

病害照片展示

dev
巴林闲侠 2 years ago
parent
commit
1b33d7f735
  1. 3
      web/client/src/sections/fillion/components/patrolTable.js

3
web/client/src/sections/fillion/components/patrolTable.js

@ -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>
}) : '暂无图片'
}

Loading…
Cancel
Save