|
|
|
@ -1,12 +1,14 @@
|
|
|
|
|
import React,{Component} from "React";
|
|
|
|
|
import { Form, Select, Input, Button,Checkbox,Upload,Icon,message,Modal,Tooltip} from "antd";
|
|
|
|
|
import {Link} from 'react-router-dom';
|
|
|
|
|
import TPMMDEditor from '../../tpm/challengesnew/TPMMDEditor';
|
|
|
|
|
import { WordsBtn, getUploadActionUrl, appendFileSizeToUploadFile, appendFileSizeToUploadFileAll } from 'educoder';
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
|
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 CheckboxGroup = Checkbox.Group;
|
|
|
|
|
|
|
|
|
@ -757,6 +759,8 @@ render(){
|
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
|
white-space:nowrap
|
|
|
|
|
}
|
|
|
|
|
.members .leaderIcon {
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
<div className={"members fl"}>
|
|
|
|
|
|
|
|
|
@ -768,15 +772,21 @@ render(){
|
|
|
|
|
display:item.user_name===undefined?"none":""
|
|
|
|
|
}}>
|
|
|
|
|
<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 || !this.isEdit && key==0) && <LeaderIcon className="leaderIcon" small={true}></LeaderIcon>}
|
|
|
|
|
</div>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
<div className={"fl ml40 color-grey-9 overflowHidden1"} style={{ maxWidth: '147px' }}
|
|
|
|
|
title={item.group_name && item.group_name.length > 9 ? item.group_name : ''}
|
|
|
|
|
>{item.group_name}</div>
|
|
|
|
|
<div className={"fl ml40 color-grey-9 overflowHidden1"} style={{ maxWidth: '84px' }}
|
|
|
|
|
title={item.student_id && item.student_id.length > 12 ? item.student_id : ''}
|
|
|
|
|
>{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>
|
|
|
|
|
)
|
|
|
|
|
})}
|
|
|
|
|