chromesetting
杨树明 5 years ago
parent 03b02aec7e
commit feabdaf954

@ -402,28 +402,25 @@ class Sendresource extends Component{
<Tooltip placement="bottom" title={this.props.isStudent()===true?"不支持学生延迟发布":""}> <Tooltip placement="bottom" title={this.props.isStudent()===true?"不支持学生延迟发布":""}>
<Radio style={radioStyle} value={1} className={"fl"} disabled={this.props.isStudent()}> <Radio style={radioStyle} value={1} className={"fl"} disabled={this.props.isStudent()}>
<span className={"mr5"}>延期发布</span> <span className={"mr5"}>延期发布</span>
{this.props.course_groups.length===0? <DatePicker
<DatePicker
dropdownClassName="hideDisable" dropdownClassName="hideDisable"
showTime={{ format: 'HH:mm' }} showTime={{ format: 'HH:mm' }}
locale={locale} locale={locale}
format={dateFormat} format={dateFormat}
placeholder="请选择发布时间" placeholder="请选择发布时间"
id={"startime"} id={"startime"}
showToday={false} showToday={false}
width={"210px"} width={"210px"}
value={this.state.Radiovalue===1?datatime===undefined||datatime===""?undefined:moment(datatime, dateFormat):undefined} value={this.state.Radiovalue===1?datatime===undefined||datatime===""?undefined:moment(datatime, dateFormat):undefined}
onChange={(e,index)=>this.onChangeTimepublish(e,index,undefined,1)} onChange={(e,index)=>this.onChangeTimepublish(e,index,undefined,1)}
disabledTime={disabledDateTime} disabledTime={disabledDateTime}
disabledDate={disabledDate} disabledDate={disabledDate}
disabled={this.state.Radiovalue===1?false:true} disabled={this.state.Radiovalue===1?false:true}
/>:""} />
</Radio> </Radio>
</Tooltip> </Tooltip>
<span className={"fl mt5 color-grey-c"}>(按照设置的时间定时发布)</span> <span className={"fl mt5 color-grey-c"}>(按照设置的时间定时发布)</span>
</Radio.Group> </Radio.Group>
</div> </div>

Loading…
Cancel
Save