forked from Gitlink/forgeplus-react
修改issue
This commit is contained in:
parent
cce463ed43
commit
e7f992385c
|
@ -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 }) {
|
||||
|
|
|
@ -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 <a key={item.id} className="link" onClick={() => { downFile(item.id) }}>{item.fileName}</a>
|
||||
|
@ -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 }) {
|
|||
<Button className="mr10" type="primary" disabled={disabled} onClick={commitGrades}>提交评审结果</Button>
|
||||
<Button className="mr10" disabled={disabled} onClick={draft}>保存评审结果</Button>
|
||||
<Button className="butE3_border" onClick={cancel}>取消</Button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</TabPane>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -178,11 +178,4 @@
|
|||
}
|
||||
}
|
||||
|
||||
.text-tooltip{
|
||||
span{
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue