Browse Source

添加路政图片预览

dev
dengyinhuan 1 year ago
parent
commit
00dd0ed88f
  1. 1
      web/client/src/sections/fillion/components/luzhengmodel.js
  2. 1
      web/client/src/sections/fillion/components/uploads.js
  3. 2
      web/client/src/sections/fillion/containers/luzheng.js

1
web/client/src/sections/fillion/components/luzhengmodel.js

@ -82,7 +82,6 @@ const LuzhengModel = ({ editData, check, visible, onCancel, dispatch }) => {
<Form.Item name="enforcementreslt" label="执法成果" rules={[{ required: true, message: '请填写' },{ max: 100, message: '不可超过一百个字符' }]}>
<Input/>
</Form.Item>
<Form.Item name="picfile" label="执法图片">
<Uploads
maxFilesNum={3}

1
web/client/src/sections/fillion/components/uploads.js

@ -261,6 +261,7 @@ class Uploads extends Component {
};
let fileList_ = fileList
// .map(f => {
// if (f.storageUrl) {
// let realName = f.storageUrl.split('/').pop()

2
web/client/src/sections/fillion/containers/luzheng.js

@ -106,8 +106,6 @@ function Assess(props) {
dataIndex: 'picfile',
key: 'picfile',
render:(t,r)=>{
return r?.picfile?.map(i=>{
return <span style={{marginRight:10}}>
<Image src={i?.url} width={80}/>

Loading…
Cancel
Save