|
|
|
@ -21,6 +21,7 @@ class PollListItem extends Component{
|
|
|
|
|
|
|
|
|
|
const IsAdmin =this.props.isAdmin();
|
|
|
|
|
const isStudent = this.props.isStudent();
|
|
|
|
|
const isNotMember = this.props.isNotMember();
|
|
|
|
|
|
|
|
|
|
let t= item.end_time ? moment(item.end_time) - moment() : 0;
|
|
|
|
|
return(
|
|
|
|
@ -42,7 +43,7 @@ class PollListItem extends Component{
|
|
|
|
|
<Link to={`/courses/${coursesId}/polls/${item.id}/detail`} className="fl font-16 font-bd mt2 color-grey-3 task-hide" style={{"maxWidth":"600px"}} title={item.polls_name}>{item.polls_name}</Link>
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
item.lock_status === 0 ? <Tooltip title="私有属性,非课堂成员不能访问"><i className="iconfont icon-guansuo color-grey-c ml10 font-16 fl"></i></Tooltip>:""
|
|
|
|
|
item.lock_status === 0 ? <Tooltip title={`${courseType.user_permission == 0 ? "私有属性,非课堂成员不能访问" : "私有属性"}`}><i className="iconfont icon-guansuo color-grey-c ml10 font-16 fl"></i></Tooltip>:""
|
|
|
|
|
}
|
|
|
|
|
<CoursesListType typelist={[polls_status[`${item.polls_status}`]]} typesylename={""}></CoursesListType>
|
|
|
|
|
{
|
|
|
|
|