|
|
@ -222,6 +222,11 @@ class ExamPaperAdd extends Component<any, States> { |
|
|
|
this.setState({ selectedQuestionList: newQuestion, selectedRowKeys: newSelectedRowKeys }); |
|
|
|
this.setState({ selectedQuestionList: newQuestion, selectedRowKeys: newSelectedRowKeys }); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 重置
|
|
|
|
|
|
|
|
handleReset = () => { |
|
|
|
|
|
|
|
this.formRefSub.current.resetFields(); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// 处理查询
|
|
|
|
// 处理查询
|
|
|
|
handleQuery = () => { |
|
|
|
handleQuery = () => { |
|
|
|
this.setState({ loading: true }); |
|
|
|
this.setState({ loading: true }); |
|
|
@ -583,7 +588,10 @@ class ExamPaperAdd extends Component<any, States> { |
|
|
|
label="题干条件:" |
|
|
|
label="题干条件:" |
|
|
|
name="questionContent" |
|
|
|
name="questionContent" |
|
|
|
> |
|
|
|
> |
|
|
|
<Input placeholder="请输入题干条件" style={{ width: 500 }}/> |
|
|
|
<Input placeholder="请输入题干条件" style={{ width: 400 }}/> |
|
|
|
|
|
|
|
</Form.Item> |
|
|
|
|
|
|
|
<Form.Item> |
|
|
|
|
|
|
|
<Button type="default" onClick={this.handleReset}>重置</Button> |
|
|
|
</Form.Item> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item> |
|
|
|
<Form.Item> |
|
|
|
<Button type="primary" onClick={this.handleQuery}>查询</Button> |
|
|
|
<Button type="primary" onClick={this.handleQuery}>查询</Button> |
|
|
|