diff --git a/web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx b/web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx index 2d63471..479f7ac 100644 --- a/web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx +++ b/web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx @@ -57,6 +57,7 @@ const AddFirmwareModal = (props) => { .field('userId', userId||'') .field('firmwareName', res?.firmwareName||'') .field('comment',res?.remark||'') + .field('md5Value',res?.md5||'') .field('device_meta_name', options?.find(item=>item.value===res?.deviceName)?.label||'') .query({ version:res?.versionNo,device_meta_id: res?.deviceName,token:'22767e1f-db8d-4a1d-87d4-56347cf21247'}) .end((err, response) => { @@ -108,11 +109,13 @@ const AddFirmwareModal = (props) => { 'deviceName':recordRow?.device_meta_id, 'versionNo':recordRow?.versionNo, 'files':recordRow?[{ url: `${domain}/${recordRow?.filepath}`, name: recordRow?.filepath.split('/')[recordRow?.filepath.split('/')?.length-1] }]:[], - 'remark':recordRow?.remark + 'remark':recordRow?.remark, + 'md5Value':recordRow?.md5Value, }} getFormApi={formApi => api.current = formApi} labelCol={{ span: 7,offset:1}} wrapperCol={{span: 15,offset:1}} labelPosition='left' > + { + return -- + } +}, { title: '上传时间', dataIndex: 'uploadTime' @@ -77,6 +84,7 @@ let columns=[{ return {users?.find(item=>item.id==record.uploader)?.name||''} } }, + { title: '备注', dataIndex: 'comment'