Browse Source

文件导出修改

master
zmh 2 years ago
parent
commit
e9e5ddc406
  1. 4
      web/client/src/sections/metadataManagement/containers/filesTable.js

4
web/client/src/sections/metadataManagement/containers/filesTable.js

@ -252,10 +252,10 @@ const FilesTable = (props) => {
tableContent += `<tr>`;
tableContent += `<th style="font-weight:600"><div>${cd.name}</div></th>`;
tableContent += `<th style="font-weight:600"><div>${cd.description}</div></th>`;
tableContent += `<th style="font-weight:600"><div>${cd.type}</div></th>`;
tableContent += `<th style="font-weight:600"><div>${cd.fileName ? cd.type : ''}</div></th>`;
let tagName = cd.tagFiles.map(tagSet => tagSet.tag.name);
tableContent += `<th style="font-weight:600"><div>${tagName.join(',')}</div></th>`;
tableContent += `<th style="font-weight:600"><div>${cd.size ? getfilesize(cd.size) : ''}</div></th>`;
tableContent += `<th style="font-weight:600"><div>${cd.fileName && cd.size ? getfilesize(cd.size) : ''}</div></th>`;
tableContent += `<th style="font-weight:600"><div>${moment(cd.updateAt).format('YYYY-MM-DD HH:mm:ss')}</div></th>`;
tableContent += `</tr>`;
})

Loading…
Cancel
Save