|
|
@ -60,8 +60,7 @@ const FilesTable = (props) => { |
|
|
|
files: record.fileName ? [{ |
|
|
|
url: "\\assets\\files\\common\\" + record.fileName, name: record.fileName.split('_').pop() |
|
|
|
}] : [] |
|
|
|
}, |
|
|
|
// metadataModels: res.payload.data
|
|
|
|
} |
|
|
|
}); |
|
|
|
setModalVisible(true); |
|
|
|
} |
|
|
@ -210,7 +209,7 @@ const FilesTable = (props) => { |
|
|
|
<a style={{ marginLeft: 10 }} onClick={() => onEdit(record)}>编辑</a> |
|
|
|
<Popconfirm |
|
|
|
title="是否确认删除该元数据?" |
|
|
|
onConfirm={() => confirmDelete(record.id)} |
|
|
|
onConfirm={() => confirmDelete(record)} |
|
|
|
> <a style={{ marginLeft: 10 }}>删除</a></Popconfirm> |
|
|
|
<a style={{ marginLeft: 10 }} onClick={() => marking(record.id)}>打标</a> |
|
|
|
{resourceApplicationsRecords.length === 0 ? |
|
|
|