From ef8aef09acb9940c9c3d772cf6620ad5ca1382dd Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 17 Jan 2022 16:25:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=88=91=E7=9A=84=E8=AF=84=E5=AE=A1?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E9=99=84=E4=BB=B6=E4=B8=8B=E8=BD=BDissue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/military/expert/expertUser/taskDetail/index.jsx | 5 +++-- src/military/expert/expertUser/taskDetail/index.scss | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/military/expert/expertUser/taskDetail/index.jsx b/src/military/expert/expertUser/taskDetail/index.jsx index 81e88656..4224b100 100644 --- a/src/military/expert/expertUser/taskDetail/index.jsx +++ b/src/military/expert/expertUser/taskDetail/index.jsx @@ -65,7 +65,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}

}) } }, @@ -169,6 +169,7 @@ function ReviewTasks({ showNotification, match, history, current_user }) { let dataArr = []; if (data && Array.isArray(data.rows)) { for (const item of data.rows) { + console.log(item); dataArr.push({ comments: "", expertId: current_user.expertId, @@ -179,7 +180,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; + } + } } } From d8c65edab9fd11ea89a20980a1e7c7305ab436a3 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 17 Jan 2022 16:27:10 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/military/expert/expertUser/taskDetail/index.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/military/expert/expertUser/taskDetail/index.jsx b/src/military/expert/expertUser/taskDetail/index.jsx index 4224b100..63a301aa 100644 --- a/src/military/expert/expertUser/taskDetail/index.jsx +++ b/src/military/expert/expertUser/taskDetail/index.jsx @@ -169,7 +169,6 @@ function ReviewTasks({ showNotification, match, history, current_user }) { let dataArr = []; if (data && Array.isArray(data.rows)) { for (const item of data.rows) { - console.log(item); dataArr.push({ comments: "", expertId: current_user.expertId,