|
|
|
@ -519,31 +519,28 @@ class Itembankstop extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<Form onSubmit={this.handleSubmit}>
|
|
|
|
|
|
|
|
|
|
<div className="sortinxdirection">
|
|
|
|
|
<Form.Item
|
|
|
|
|
label="课程"
|
|
|
|
|
>
|
|
|
|
|
{getFieldDecorator("rbkc",
|
|
|
|
|
{
|
|
|
|
|
{initialValue: this.state.rbkc,
|
|
|
|
|
rules: [{required: true, message: '请选择课程'}],
|
|
|
|
|
}
|
|
|
|
|
)(
|
|
|
|
|
<div className="sortinxdirection">
|
|
|
|
|
<InputGroup >
|
|
|
|
|
<Cascader style={{width: '270px'}} value={this.state.rbkc} options={options} onChange={this.handleFormzhishidian}
|
|
|
|
|
|
|
|
|
|
<Cascader style={{width: '270px'}} options={options} onChange={this.handleFormzhishidian}
|
|
|
|
|
placeholder="请选择..."/>
|
|
|
|
|
</InputGroup>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</div>
|
|
|
|
|
<Form.Item
|
|
|
|
|
label="知识点"
|
|
|
|
|
>
|
|
|
|
|
{getFieldDecorator("rbzsd"
|
|
|
|
|
)(
|
|
|
|
|
<div className="sortinxdirection">
|
|
|
|
|
<InputGroup >
|
|
|
|
|
<Select style={{width: '270px'}} value={undefined} onChange={this.handleFormkechen}
|
|
|
|
|
placeholder="请选择...">
|
|
|
|
|
{knowledgepoints2 && knowledgepoints2.map((object, index) => {
|
|
|
|
@ -552,11 +549,10 @@ class Itembankstop extends Component {
|
|
|
|
|
)
|
|
|
|
|
})}
|
|
|
|
|
</Select>
|
|
|
|
|
</InputGroup>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<img className=" ml22 zjzsdian xiaoshou" src={getImageUrl("/images/educoder/zjzsd.png")} onClick={()=>this.NewknTypedeldel(true)}/>
|
|
|
|
|
<img className=" ml22 zjzsdian xiaoshou" src={getImageUrl("images/educoder/zjzsd.png")} onClick={()=>this.NewknTypedeldel(true)}/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="sortinxdirection" style={{
|
|
|
|
@ -572,7 +568,7 @@ class Itembankstop extends Component {
|
|
|
|
|
}}>
|
|
|
|
|
<p className="w100s stestcen lh32">{object.name}</p>
|
|
|
|
|
|
|
|
|
|
<img className=" ml7 zjzsdian xiaoshou icondowncolorssy" onClick={() => this.deletesobject(object, index)} src={getImageUrl("/images/educoder/bzucha.png")}/>
|
|
|
|
|
<img className=" ml7 zjzsdian xiaoshou icondowncolorssy" onClick={() => this.deletesobject(object, index)} src={getImageUrl("images/educoder/bzucha.png")}/>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
@ -590,19 +586,18 @@ class Itembankstop extends Component {
|
|
|
|
|
label="题型"
|
|
|
|
|
>
|
|
|
|
|
{getFieldDecorator("rbtx",
|
|
|
|
|
{
|
|
|
|
|
{initialValue: this.state.rbtx,
|
|
|
|
|
rules: [{required: true, message: '请选择题型'}],
|
|
|
|
|
}
|
|
|
|
|
)(
|
|
|
|
|
<InputGroup >
|
|
|
|
|
<Select style={{width: '270px'}} value={this.state.rbtx} onChange={this.handleFormtixing}
|
|
|
|
|
<Select style={{width: '270px'}} onChange={this.handleFormtixing}
|
|
|
|
|
placeholder="请选择...">
|
|
|
|
|
<Option value="PROGRAM">编程题</Option>
|
|
|
|
|
<Option value="SINGLE">单选题</Option>
|
|
|
|
|
<Option value="MULTIPLE">多选题</Option>
|
|
|
|
|
<Option value="JUDGMENT">判断题</Option>
|
|
|
|
|
<Option value="PROGRAM">编程题</Option>
|
|
|
|
|
|
|
|
|
|
</Select>
|
|
|
|
|
</InputGroup>
|
|
|
|
|
)}
|
|
|
|
|
</Form.Item>
|
|
|
|
|
|
|
|
|
@ -663,11 +658,11 @@ class Itembankstop extends Component {
|
|
|
|
|
<div className="rbndclass">
|
|
|
|
|
<Form.Item label="难度">
|
|
|
|
|
{getFieldDecorator('rbnd',
|
|
|
|
|
{
|
|
|
|
|
{initialValue: this.state.rbnd,
|
|
|
|
|
rules: [{required: true, message: '请选择难度'}],
|
|
|
|
|
}
|
|
|
|
|
)(
|
|
|
|
|
<Radio.Group initialValue={this.state.rbnd} onChange={this.handleFormLayoutChange}>
|
|
|
|
|
<Radio.Group onChange={this.handleFormLayoutChange}>
|
|
|
|
|
<Radio.Button value="1">简单</Radio.Button>
|
|
|
|
|
<Radio.Button value="2">适中</Radio.Button>
|
|
|
|
|
<Radio.Button value="3">困难</Radio.Button>
|
|
|
|
|