diff --git a/src/military/expert/expertUser/taskDetail/index.jsx b/src/military/expert/expertUser/taskDetail/index.jsx index e589cc33..af948896 100644 --- a/src/military/expert/expertUser/taskDetail/index.jsx +++ b/src/military/expert/expertUser/taskDetail/index.jsx @@ -66,7 +66,7 @@ function ReviewTasks({ showNotification, match, history, current_user }) { className: 'text-tooltip', render: (text, record) => { return text && text.map(item => { - return { downFile(item.id) }}>{item.fileName} + return

{ downFile(item.id) }}>{item.fileName}

}) } }, @@ -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, diff --git a/src/military/expert/expertUser/taskDetail/index.scss b/src/military/expert/expertUser/taskDetail/index.scss index 2279abe6..31b5af86 100644 --- a/src/military/expert/expertUser/taskDetail/index.scss +++ b/src/military/expert/expertUser/taskDetail/index.scss @@ -102,5 +102,11 @@ overflow: hidden; text-overflow: ellipsis; } + .link{ + color: #4154f1; + &:hover{ + opacity: 0.8; + } + } } }