Browse Source

type修改

dev
wenlele 2 years ago
parent
commit
1597d98a8d
  1. 4
      web/client/src/sections/means/containers/devOpsStandard.jsx
  2. 5
      web/client/src/sections/means/containers/faultInformation.jsx

4
web/client/src/sections/means/containers/devOpsStandard.jsx

@ -310,7 +310,7 @@ const Rest = (props) => {
editData={editData} editData={editData}
higherFile={higherFile} higherFile={higherFile}
pepProjectId={pepProjectId} pepProjectId={pepProjectId}
type={1} type={4}
close={() => { close={() => {
setIsFileModal(false) setIsFileModal(false)
setEditData({}) setEditData({})
@ -394,7 +394,7 @@ const Rest = (props) => {
style={{ display: 'inline-block' }} style={{ display: 'inline-block' }}
action="/_upload/attachments" action="/_upload/attachments"
accept={'.txt, .doc, .docx, .xls, .xlsx, .pdf, .png, .jpg, .rar, .zip'} accept={'.txt, .doc, .docx, .xls, .xlsx, .pdf, .png, .jpg, .rar, .zip'}
limit={4} limit={1}
maxSize={51200} maxSize={51200}
onRemove={() => { onRemove={() => {
setUploadData({}) setUploadData({})

5
web/client/src/sections/means/containers/faultInformation.jsx

@ -86,7 +86,6 @@ const Rest = (props) => {
}, [fileId]) }, [fileId])
const fileList = (id) => { const fileList = (id) => {
dispatch(means.fileList({ projectId: id, type: 3 })).then((res => { dispatch(means.fileList({ projectId: id, type: 3 })).then((res => {
if (res.success) { if (res.success) {
let data = res.payload.data let data = res.payload.data
@ -310,7 +309,7 @@ const Rest = (props) => {
editData={editData} editData={editData}
higherFile={higherFile} higherFile={higherFile}
pepProjectId={pepProjectId} pepProjectId={pepProjectId}
type={1} type={3}
close={() => { close={() => {
setIsFileModal(false) setIsFileModal(false)
setEditData({}) setEditData({})
@ -394,7 +393,7 @@ const Rest = (props) => {
style={{ display: 'inline-block' }} style={{ display: 'inline-block' }}
action="/_upload/attachments" action="/_upload/attachments"
accept={'.txt, .doc, .docx, .xls, .xlsx, .pdf, .png, .jpg, .rar, .zip'} accept={'.txt, .doc, .docx, .xls, .xlsx, .pdf, .png, .jpg, .rar, .zip'}
limit={3} limit={1}
maxSize={51200} maxSize={51200}
onRemove={() => { onRemove={() => {
setUploadData({}) setUploadData({})

Loading…
Cancel
Save