|
|
|
@ -35,6 +35,7 @@ class Question extends Component {
|
|
|
|
|
titbool:false,
|
|
|
|
|
Contentdata:[],
|
|
|
|
|
difficulty:null,
|
|
|
|
|
visiblemys:false,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -158,13 +159,22 @@ class Question extends Component {
|
|
|
|
|
setdifficulty=(difficulty)=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
difficulty:difficulty,
|
|
|
|
|
visiblemys:false,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
var data={
|
|
|
|
|
public:this.state.defaultActiveKey,
|
|
|
|
|
difficulty:difficulty
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
this.getdata(data);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handleVisibleChange=(boll)=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
visiblemys:boll,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
let {page,limit,count,Headertop,visible,placement,modalsType}=this.state;
|
|
|
|
@ -180,6 +190,7 @@ class Question extends Component {
|
|
|
|
|
<Headplugselection ></Headplugselection>
|
|
|
|
|
{/*头部*/}
|
|
|
|
|
<Contentpart {...this.state} {...this.props}
|
|
|
|
|
handleVisibleChange={(e)=>this.handleVisibleChange(e)}
|
|
|
|
|
setdifficulty={(e)=>this.setdifficulty(e)}
|
|
|
|
|
showmodels={()=>this.showmodels()}
|
|
|
|
|
showmodelysl={()=>this.showmodelysl()}
|
|
|
|
|