|
|
|
@ -463,7 +463,7 @@ class PollDetailTabForthRules extends Component{
|
|
|
|
|
disabledTime={disabledDateTime}
|
|
|
|
|
disabledDate={disabledDate}
|
|
|
|
|
disabled={
|
|
|
|
|
this.props.isAdmin()===true?
|
|
|
|
|
this.props.isAdmin()===true?this.props.type==="Shixun"?false:
|
|
|
|
|
this.props.type==="Exercise"||this.props.type==="polls"?
|
|
|
|
|
rule.e_timeflag === undefined ? rule.publish_time === null ? false : moment(rule.end_time, dataformat) <= moment() ?this.props.isAdmin()?!flagPageEdit: true : !flagPageEdit : rule.e_timeflag == true ? this.props.isAdmin()?!flagPageEdit :true : !flagPageEdit:
|
|
|
|
|
rule.e_timeflag === undefined ? rule.publish_time === null ? false : moment(rule.end_time, dataformat) <= moment() ? true : !flagPageEdit : rule.e_timeflag == true ? true : !flagPageEdit:true
|
|
|
|
|