forked from Gitlink/forgeplus-react
Merge branch 'expert_review' of https://code.gitlink.org.cn/durian/forgeplus-react into dev_military_osredm
This commit is contained in:
commit
c4638abc9f
|
@ -66,7 +66,7 @@ function ReviewTasks({ showNotification, match, history, current_user }) {
|
|||
className: 'text-tooltip',
|
||||
render: (text, record) => {
|
||||
return text && text.map(item => {
|
||||
return <a key={item.id} className="link" onClick={() => { downFile(item.id) }}>{item.fileName}</a>
|
||||
return <p key={item.id} className="link" onClick={() => { downFile(item.id) }}>{item.fileName}</p>
|
||||
})
|
||||
}
|
||||
},
|
||||
|
@ -182,7 +182,7 @@ function ReviewTasks({ showNotification, match, history, current_user }) {
|
|||
gradesThree: '',
|
||||
gradesTwo: '',
|
||||
opsContent: item.paperDetail && item.paperDetail.content,
|
||||
opsFiles: item.paperDetail && item.paperDetail.busiAttachments && item.paperDetail.busiAttachments[0].id,
|
||||
opsFiles: item.paperDetail && item.paperDetail.files,
|
||||
opsFilesAttachments: item.paperDetail && item.paperDetail.busiAttachments,
|
||||
opsId: item.id,
|
||||
opsParentId: containerId,
|
||||
|
|
|
@ -102,5 +102,11 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.link{
|
||||
color: #4154f1;
|
||||
&:hover{
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue