|
|
|
@ -456,14 +456,14 @@ class Newshixuns extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
<div className="padding10-20 color-grey-3 clearfix">
|
|
|
|
|
<Form>
|
|
|
|
|
{this.props.user&&this.props.user.admin===true||this.props.user&&this.props.user.business===true?<Form.Item label="实训类型">
|
|
|
|
|
<Form.Item label="实训类型">
|
|
|
|
|
{getFieldDecorator('is_jupyter')(
|
|
|
|
|
<Radio.Group onChange={this.RadiovalueonChange} value={this.state.Radiovalue}>
|
|
|
|
|
<Radio value="1">普通实训</Radio>
|
|
|
|
|
<Radio value="2">Jupyter实训</Radio>
|
|
|
|
|
{this.props.user&&this.props.user.admin===true||this.props.user&&this.props.user.business===true?<Radio value="2" >Jupyter实训</Radio>:""}
|
|
|
|
|
</Radio.Group>,
|
|
|
|
|
)}
|
|
|
|
|
</Form.Item>:""}
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item
|
|
|
|
|
label="名称"
|
|
|
|
|
className="mt15"
|
|
|
|
|