|
|
@ -179,7 +179,7 @@ const DatabaseTable = (props) => { |
|
|
|
width: '8%', |
|
|
|
render: (text, record) => { |
|
|
|
let resourceApplicationsRecords = metadataResourceApplications.filter(ra => |
|
|
|
ra.applyBy == user.id && ra.resourceName === record.name && ra.resourceId == record.id); |
|
|
|
ra.applyBy == user.id && ra.resourceName === record.name && ra.resourceId == record.id && !ra.approveRemarks); |
|
|
|
return <ButtonGroup> |
|
|
|
<a onClick={() => onView(record)}>查看</a> |
|
|
|
{!isAdmin ? null : |
|
|
|