|
|
@ -1,5 +1,5 @@
|
|
|
|
import React,{ Component } from "react";
|
|
|
|
import React,{ Component } from "react";
|
|
|
|
import { Modal,Checkbox,Select,Input,Spin,Icon,Radio,DatePicker} from "antd";
|
|
|
|
import { Modal,Checkbox,Select,Input,Spin,Icon,Radio,DatePicker,Tooltip} from "antd";
|
|
|
|
import locale from 'antd/lib/date-picker/locale/zh_CN';
|
|
|
|
import locale from 'antd/lib/date-picker/locale/zh_CN';
|
|
|
|
import axios from'axios';
|
|
|
|
import axios from'axios';
|
|
|
|
import {handleDateString} from 'educoder';
|
|
|
|
import {handleDateString} from 'educoder';
|
|
|
@ -421,6 +421,7 @@ class Selectresource extends Component{
|
|
|
|
<Radio style={radioStyle} value={0}>
|
|
|
|
<Radio style={radioStyle} value={0}>
|
|
|
|
立即发布
|
|
|
|
立即发布
|
|
|
|
</Radio>
|
|
|
|
</Radio>
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={"学生身份无延迟发布权限"} visible={this.props.isStudent()}>
|
|
|
|
<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>
|
|
|
|
<DatePicker
|
|
|
|
<DatePicker
|
|
|
@ -439,6 +440,7 @@ class Selectresource extends Component{
|
|
|
|
disabled={this.state.Radiovalue===1?false:true}
|
|
|
|
disabled={this.state.Radiovalue===1?false:true}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</Radio>
|
|
|
|
</Radio>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
<span className={"fl mt5 color-grey-c"}>(按照设置的时间定时发布)</span>
|
|
|
|
<span className={"fl mt5 color-grey-c"}>(按照设置的时间定时发布)</span>
|
|
|
|
</Radio.Group>
|
|
|
|
</Radio.Group>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|