|
|
|
@ -584,7 +584,7 @@ class PollDetailTabForth extends Component{
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<span className="mr15 fl mt10 font-16">截止时间:</span>
|
|
|
|
|
<div className="fl">
|
|
|
|
|
<Tooltip placement="bottom" title={un_change_end ? this.props.isAdmin()?"截止时间已过,不能再修改":"":""}>
|
|
|
|
|
<Tooltip placement="bottom" title={un_change_end ? this.props.isAdmin()?"":"截止时间已过,不能再修改":""}>
|
|
|
|
|
<span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
showToday={false}
|
|
|
|
@ -599,7 +599,7 @@ class PollDetailTabForth extends Component{
|
|
|
|
|
disabledTime={disabledDateTime}
|
|
|
|
|
onChange={this.onChangeTimeEnd}
|
|
|
|
|
value={ end_time && moment(end_time,dataformat) }
|
|
|
|
|
disabled={un_change_end == true ? true : !flagPageEdit }
|
|
|
|
|
disabled={un_change_end == true ? this.props.isAdmin()?!flagPageEdit:true : !flagPageEdit }
|
|
|
|
|
>
|
|
|
|
|
</DatePicker>
|
|
|
|
|
</span>
|
|
|
|
@ -619,6 +619,7 @@ class PollDetailTabForth extends Component{
|
|
|
|
|
{...this.state}
|
|
|
|
|
ref="pollDetailTabForthRules"
|
|
|
|
|
rules={rules}
|
|
|
|
|
type={"polls"}
|
|
|
|
|
course_group={course_group}
|
|
|
|
|
flagPageEdit={flagPageEdit}
|
|
|
|
|
rulesCheckInfo={(info)=>this.rulesCheckInfo(info)}
|
|
|
|
|