|
|
@ -1,12 +1,14 @@
|
|
|
|
import React,{Component} from "React";
|
|
|
|
import React,{Component} from "React";
|
|
|
|
import { Form, Select, Input, Button,Checkbox,Upload,Icon,message,Modal,Tooltip} from "antd";
|
|
|
|
import { Form, Select, Input, Button,Checkbox,Upload,Icon,message,Modal,Tooltip} from "antd";
|
|
|
|
import {Link} from 'react-router-dom';
|
|
|
|
import {Link} from 'react-router-dom';
|
|
|
|
import TPMMDEditor from '../../tpm/challengesnew/TPMMDEditor';
|
|
|
|
|
|
|
|
import { WordsBtn, getUploadActionUrl, appendFileSizeToUploadFile, appendFileSizeToUploadFileAll } from 'educoder';
|
|
|
|
|
|
|
|
import axios from 'axios';
|
|
|
|
import axios from 'axios';
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
|
|
|
|
import _ from 'lodash'
|
|
|
|
import _ from 'lodash'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { WordsBtn, getUploadActionUrl, appendFileSizeToUploadFile, appendFileSizeToUploadFileAll } from 'educoder';
|
|
|
|
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
|
|
|
|
import TPMMDEditor from '../../tpm/challengesnew/TPMMDEditor';
|
|
|
|
|
|
|
|
import LeaderIcon from './common/LeaderIcon'
|
|
|
|
|
|
|
|
|
|
|
|
const Search = Input.Search;
|
|
|
|
const Search = Input.Search;
|
|
|
|
const CheckboxGroup = Checkbox.Group;
|
|
|
|
const CheckboxGroup = Checkbox.Group;
|
|
|
|
|
|
|
|
|
|
|
@ -753,6 +755,8 @@ render(){
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
white-space:nowrap
|
|
|
|
white-space:nowrap
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.members .leaderIcon {
|
|
|
|
|
|
|
|
}
|
|
|
|
`}</style>
|
|
|
|
`}</style>
|
|
|
|
<div className={"members fl"}>
|
|
|
|
<div className={"members fl"}>
|
|
|
|
|
|
|
|
|
|
|
@ -764,11 +768,14 @@ render(){
|
|
|
|
display:item.user_name===undefined?"none":""
|
|
|
|
display:item.user_name===undefined?"none":""
|
|
|
|
}}>
|
|
|
|
}}>
|
|
|
|
<Tooltip placement="bottom" title={item.user_nam}>
|
|
|
|
<Tooltip placement="bottom" title={item.user_nam}>
|
|
|
|
<div className={"fl ml5 fonthidden"} style={{width: '50px'}}>{item.user_name}</div>
|
|
|
|
<div className={"fl ml5 fonthidden"} style={{width: '68px'}}>{item.user_name}{item.is_leader && <LeaderIcon className="leaderIcon" small={true}></LeaderIcon>}</div>
|
|
|
|
</Tooltip>
|
|
|
|
</Tooltip>
|
|
|
|
<div className={"fl ml40 color-grey-9"}>{item.group_name}</div>
|
|
|
|
<div className={"fl ml40 color-grey-9"}>{item.group_name}</div>
|
|
|
|
<div className={"fl ml40 color-grey-9"}>{item.student_id}</div>
|
|
|
|
<div className={"fl ml40 color-grey-9"}>{item.student_id}</div>
|
|
|
|
{item.user_id != this.props.current_user.user_id ?<div className={"fr"}><i className={"iconfont icon-shanchudiao fl "} style={{marginTop:'-4px'}} onClick={()=>this.delecttask_status(item.user_id)}></i></div>:""}
|
|
|
|
{item.user_id != this.props.current_user.user_id ?
|
|
|
|
|
|
|
|
<div className={"fr"}><i className={"iconfont icon-shanchudiao fl "}
|
|
|
|
|
|
|
|
style={{marginTop:'-4px'}} onClick={()=>this.delecttask_status(item.user_id)}></i></div>:""}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|