|
|
|
@ -608,9 +608,9 @@ class Exercisesetting extends Component{
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// console.log(flagPageEdit===true?polls&&polls.exercise_status===1?3:2:1)
|
|
|
|
|
console.log("asdasdasda");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
console.log(this.props.Commonheadofthetestpaper);
|
|
|
|
|
// console.log("asdasdasda");
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(this.props.Commonheadofthetestpaper);
|
|
|
|
|
return(
|
|
|
|
|
<div>
|
|
|
|
|
<Modals
|
|
|
|
@ -654,7 +654,7 @@ class Exercisesetting extends Component{
|
|
|
|
|
<div className="clearfix" id={"publishtimeid"}>
|
|
|
|
|
<span className="font-16 mr15 fl mt6">发布时间:</span>
|
|
|
|
|
<div className="fl">
|
|
|
|
|
<Tooltip placement="bottom" title={publish_timetype===true?this.props.isAdmin()? "":"发布时间已过,不能再修改":""}>
|
|
|
|
|
<Tooltip placement="bottom" title={publish_timetype===true?this.props.isAdmin()? "发布时间已过,不能再修改":"":""}>
|
|
|
|
|
<DatePicker
|
|
|
|
|
dropdownClassName="hideDisable"
|
|
|
|
|
placeholder="请选择发布时间"
|
|
|
|
@ -667,7 +667,7 @@ class Exercisesetting extends Component{
|
|
|
|
|
disabledDate={disabledDate}
|
|
|
|
|
onChange={this.onChangeTimepublish}
|
|
|
|
|
value={publish_time && moment(publish_time,"YYYY-MM-DD HH:mm")}
|
|
|
|
|
disabled={ publish_timetype===true?this.props.isAdmin()?!flagPageEdit:true:!flagPageEdit }
|
|
|
|
|
disabled={ publish_timetype===true?true:!flagPageEdit }
|
|
|
|
|
></DatePicker>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
<p className="color-red lineh-25 clearfix" style={{height:"25px"}}>
|
|
|
|
@ -694,7 +694,7 @@ class Exercisesetting extends Component{
|
|
|
|
|
disabledDate={disabledDate}
|
|
|
|
|
onChange={this.onChangeTimeEnd}
|
|
|
|
|
value={end_time && moment(end_time,"YYYY-MM-DD HH:mm")}
|
|
|
|
|
disabled={ end_timetype===true?true:!flagPageEdit}
|
|
|
|
|
disabled={ end_timetype===true?this.props.isAdmin()?!flagPageEdit:true:!flagPageEdit}
|
|
|
|
|
>
|
|
|
|
|
</DatePicker>
|
|
|
|
|
<p className="color-red lineh-25 clearfix" style={{height:"25px"}}>
|
|
|
|
|