diff --git a/src/military/expert/expertUser/reviewTasks/index.jsx b/src/military/expert/expertUser/reviewTasks/index.jsx index a470c0de..949f1007 100644 --- a/src/military/expert/expertUser/reviewTasks/index.jsx +++ b/src/military/expert/expertUser/reviewTasks/index.jsx @@ -5,11 +5,9 @@ import { formatDuring } from 'educoder'; import Paginationtable from "../../../components/paginationTable"; import { getExpertTasks } from "../../api"; import { taskType, expertTaskStatus } from "../../static"; -import { httpUrl } from '../../fetch'; import './index.scss'; import '../../index.scss'; -const { Search } = Input; const Option = Select.Option; function ReviewTasks({ form, showNotification, match, history }) { diff --git a/src/military/expert/expertUser/taskDetail/index.jsx b/src/military/expert/expertUser/taskDetail/index.jsx index 6ea3d478..9202ea24 100644 --- a/src/military/expert/expertUser/taskDetail/index.jsx +++ b/src/military/expert/expertUser/taskDetail/index.jsx @@ -62,6 +62,7 @@ function ReviewTasks({ showNotification, match, history, current_user }) { title: '附件下载', dataIndex: 'opsFilesAttachments', key: 'opsFilesAttachments', + className:'text-tooltip', render: (text, record) => { return text && text.map(item => { return { downFile(item.id) }}>{item.fileName} @@ -336,6 +337,7 @@ function ReviewTasks({ showNotification, match, history, current_user }) { if (res.message.indexOf("成功")) { showNotification("保存成功"); setReload(Math.random()); + setVisible(false); } else { showNotification(res.message); } @@ -396,7 +398,6 @@ function ReviewTasks({ showNotification, match, history, current_user }) { - diff --git a/src/military/expert/expertUser/taskDetail/index.scss b/src/military/expert/expertUser/taskDetail/index.scss index 53d43210..e7b0a3f7 100644 --- a/src/military/expert/expertUser/taskDetail/index.scss +++ b/src/military/expert/expertUser/taskDetail/index.scss @@ -83,4 +83,15 @@ font-size: .7rem; margin: .75rem 1.75rem; } + + .text-tooltip{ + max-width: 200px; + overflow: hidden; + span{ + display: block; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } } diff --git a/src/military/expert/fetch.js b/src/military/expert/fetch.js index 083a285a..2797e2a6 100644 --- a/src/military/expert/fetch.js +++ b/src/military/expert/fetch.js @@ -4,7 +4,6 @@ import javaFetch from '../javaFetch'; let settings=JSON.parse(localStorage.chromesetting); let actionUrl = settings.api_urls && settings.api_urls.expert ? settings.api_urls.expert :'http://117.50.100.12:8066'; -// http://10.47.38.39:8088 // http://117.50.100.12:8067/ const service = javaFetch(actionUrl); export const httpUrl = actionUrl; diff --git a/src/military/expert/index.scss b/src/military/expert/index.scss index da433e6d..3a7ec304 100644 --- a/src/military/expert/index.scss +++ b/src/military/expert/index.scss @@ -178,11 +178,4 @@ } } -.text-tooltip{ - span{ - width: 100%; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } -} + diff --git a/src/military/task/components/itemListPaper/index.jsx b/src/military/task/components/itemListPaper/index.jsx index 70c1f949..20351d8c 100644 --- a/src/military/task/components/itemListPaper/index.jsx +++ b/src/military/task/components/itemListPaper/index.jsx @@ -157,6 +157,8 @@ export default Form.create()((props) => { {timeAgo(item.createdAt)} {item.status === 2 ? 胜出 : {item.checkStatus !== 1 ? paperCheckStatus[item.checkStatus] : applyStatusAllNameArr[item.status]}} + + {[5,6,7,8].includes(detailStatus) && item &&评审得分:{item.reviewFinalGrades}}
  • {((item.needComplain && detailStatus === 3) || (detailStatus === 5 && item.publicTaskComplain && item.checkStatus === 1 && item.status !== 2)) && (current_user.login === item.user.login) && diff --git a/src/military/task/components/itemListPaper/index.scss b/src/military/task/components/itemListPaper/index.scss index 4458d140..4e38d474 100644 --- a/src/military/task/components/itemListPaper/index.scss +++ b/src/military/task/components/itemListPaper/index.scss @@ -20,11 +20,11 @@ .fileCommentsList { background: #fafafa; - padding-top: .25rem; + padding-top: 0.25rem; } -.comments-item{ - margin-top:1rem; +.comments-item { + margin-top: 1rem; } .comments-content { text-align: left; @@ -36,11 +36,21 @@ background-color: #fff; } -.small-head{ +.small-head { max-width: 2rem; } -.clickable:hover{ +.clickable:hover { color: #4cacff; cursor: pointer; -} \ No newline at end of file +} + +.paper-grades { + margin-left:4rem; + font-size: 1rem; + color: #333333; + + .paper-grades-num{ + color: #FF0000; + } +} diff --git a/src/military/task/fetch.js b/src/military/task/fetch.js index a8380db6..f0915367 100644 --- a/src/military/task/fetch.js +++ b/src/military/task/fetch.js @@ -3,8 +3,8 @@ import javaFetch from '../javaFetch'; let settings=JSON.parse(localStorage.chromesetting); -// let actionUrl = settings.api_urls? settings.api_urls.task :'https://task.osredm.com'; -let actionUrl = 'http://117.50.100.12:8066' +let actionUrl = settings.api_urls? settings.api_urls.task :'https://task.osredm.com'; +// let actionUrl = 'http://117.50.100.12:8066' const service = javaFetch(actionUrl); export const httpUrl = actionUrl;