|
|
@ -585,6 +585,8 @@ class CoursesNew extends Component {
|
|
|
|
if(addonAfterfour){
|
|
|
|
if(addonAfterfour){
|
|
|
|
addonAfteronelens4=String(addonAfterfour).length;
|
|
|
|
addonAfteronelens4=String(addonAfterfour).length;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<React.Fragment>
|
|
|
|
<React.Fragment>
|
|
|
|
|
|
|
|
|
|
|
@ -874,8 +876,8 @@ class CoursesNew extends Component {
|
|
|
|
<Checkbox value={"announcement"} className="fl">公告栏</Checkbox>
|
|
|
|
<Checkbox value={"announcement"} className="fl">公告栏</Checkbox>
|
|
|
|
<Checkbox value={"shixun_homework"} className="fl">实训作业</Checkbox>
|
|
|
|
<Checkbox value={"shixun_homework"} className="fl">实训作业</Checkbox>
|
|
|
|
<Checkbox value={"common_homework"} className="fl">普通作业</Checkbox>
|
|
|
|
<Checkbox value={"common_homework"} className="fl">普通作业</Checkbox>
|
|
|
|
<Checkbox value={"group_homework"} className="fl">分组作业</Checkbox>
|
|
|
|
{this.props.user&&this.props.user.main_site===true?<Checkbox value={"group_homework"} className="fl">分组作业</Checkbox>:""}
|
|
|
|
<Checkbox value={"graduation"} className="fl">毕业设计</Checkbox>
|
|
|
|
{this.props.user&&this.props.user.main_site===true?<Checkbox value={"graduation"} className="fl">毕业设计</Checkbox>:""}
|
|
|
|
<Checkbox value={"exercise"} className="fl">试卷</Checkbox>
|
|
|
|
<Checkbox value={"exercise"} className="fl">试卷</Checkbox>
|
|
|
|
<Checkbox value={"poll"} className="fl">问卷</Checkbox>
|
|
|
|
<Checkbox value={"poll"} className="fl">问卷</Checkbox>
|
|
|
|
<Checkbox value={"attachment"} className="fl">资源</Checkbox>
|
|
|
|
<Checkbox value={"attachment"} className="fl">资源</Checkbox>
|
|
|
|