|
|
|
@ -61,9 +61,9 @@ class Immediatelypublish extends Component{
|
|
|
|
|
modalname:"立即发布",
|
|
|
|
|
modaltype:response.data.course_groups===null||response.data.course_groups.length===0?2:1,
|
|
|
|
|
OneSelftype:true,
|
|
|
|
|
Topval:"学生将立即收到问卷",
|
|
|
|
|
Topval:this.props.Exercisetype==="exercise"?"学生将立即收到试卷":"学生将立即收到问卷",
|
|
|
|
|
// Botvalleft:"暂不发布",
|
|
|
|
|
Botval:this.props.single ? "":`本操作只对"未发布"的问卷有效`,
|
|
|
|
|
Botval:this.props.single ? "":this.props.Exercisetype==="exercise"?`本操作只对"未发布"的试卷有效`:`本操作只对"未发布"的问卷有效`,
|
|
|
|
|
starttime:moment(moment(new Date())).format("YYYY-MM-DD HH:mm"),
|
|
|
|
|
starttimes:this.props.getNowFormatDates(1),
|
|
|
|
|
endtime:"截止时间:"+this.props.getNowFormatDates(2),
|
|
|
|
@ -88,9 +88,9 @@ class Immediatelypublish extends Component{
|
|
|
|
|
modalname:"立即发布",
|
|
|
|
|
modaltype:response.data.course_groups===null||response.data.course_groups.length===0?2:1,
|
|
|
|
|
OneSelftype:true,
|
|
|
|
|
Topval:"学生将立即收到问卷",
|
|
|
|
|
Topval:this.props.Exercisetype==="exercise"?"学生将立即收到试卷":"学生将立即收到问卷",
|
|
|
|
|
// Botvalleft:"暂不发布",
|
|
|
|
|
Botval:this.props.single ? "":`本操作只对"未发布"的问卷有效`,
|
|
|
|
|
Botval:this.props.single ? "":this.props.Exercisetype==="exercise"?`本操作只对"未发布"的试卷有效`:`本操作只对"未发布"的问卷有效`,
|
|
|
|
|
starttime:"发布时间:"+moment(moment(new Date())).format("YYYY-MM-DD HH:mm"),
|
|
|
|
|
starttimes:this.props.getNowFormatDates(1),
|
|
|
|
|
endtime:"截止时间:"+this.props.getNowFormatDates(2),
|
|
|
|
@ -143,9 +143,9 @@ class Immediatelypublish extends Component{
|
|
|
|
|
modalname:"立即发布",
|
|
|
|
|
modaltype:response.data.un_publish > 0 ? 1 : 2,
|
|
|
|
|
visible:true,
|
|
|
|
|
Topval:"学生将立即收到问卷",
|
|
|
|
|
Topval:this.props.Exercisetype==="exercise"?"学生将立即收到试卷":"学生将立即收到问卷",
|
|
|
|
|
// Botvalleft:"暂不发布",
|
|
|
|
|
Botval:this.props.single ? "":`本操作只对"未发布"的问卷有效`,
|
|
|
|
|
Botval:this.props.single ? "":this.props.Exercisetype==="exercise"?`本操作只对"未发布"的试卷有效`:`本操作只对"未发布"的问卷有效`,
|
|
|
|
|
starttime:"发布时间:"+moment(moment(new Date())).format("YYYY-MM-DD HH:mm"),
|
|
|
|
|
starttimes:this.props.getNowFormatDates(1),
|
|
|
|
|
endtime:"截止时间:"+this.props.getNowFormatDates(2),
|
|
|
|
@ -183,9 +183,9 @@ class Immediatelypublish extends Component{
|
|
|
|
|
modalname:"立即发布",
|
|
|
|
|
modaltype:response.data.un_publish > 0 ? 1 : 2,
|
|
|
|
|
visible:true,
|
|
|
|
|
Topval:"学生将立即收到问卷",
|
|
|
|
|
Topval:this.props.Exercisetype==="exercise"?"学生将立即收到试卷":"学生将立即收到问卷",
|
|
|
|
|
// Botvalleft:"暂不发布",
|
|
|
|
|
Botval:this.props.single ? "":`本操作只对"未发布"的问卷有效`,
|
|
|
|
|
Botval:this.props.single ? "":this.props.Exercisetype==="exercise"?`本操作只对"未发布"的试卷有效`:`本操作只对"未发布"的问卷有效`,
|
|
|
|
|
starttime:"发布时间:"+moment(moment(new Date())).format("YYYY-MM-DD HH:mm"),
|
|
|
|
|
starttimes:this.props.getNowFormatDates(1),
|
|
|
|
|
endtime:"截止时间:"+this.props.getNowFormatDates(2),
|
|
|
|
|