|
|
|
@ -211,6 +211,12 @@ class NewMyShixunModel extends Component {
|
|
|
|
|
}
|
|
|
|
|
this.callback(defaultActiveKeys);
|
|
|
|
|
}
|
|
|
|
|
if(prevProps.Contentdata !== this.props.Contentdata){
|
|
|
|
|
this.setState({
|
|
|
|
|
Contentdata:this.props.Contentdata,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//公共和我的
|
|
|
|
@ -949,7 +955,8 @@ class NewMyShixunModel extends Component {
|
|
|
|
|
let {
|
|
|
|
|
page, per_page, items_count, Headertop, visible, placement, modalsType, modalsTypes, basket_list,
|
|
|
|
|
completion_questions_count, judgement_questions_count, multiple_questions_count, practical_questions_count,
|
|
|
|
|
program_questions_count, single_questions_count, subjective_questions_count, selectionbools
|
|
|
|
|
program_questions_count, single_questions_count, subjective_questions_count,selectionbools,
|
|
|
|
|
modalsTypeInaudit,Contentdata
|
|
|
|
|
} = this.state;
|
|
|
|
|
|
|
|
|
|
const Datacount = completion_questions_count + judgement_questions_count
|
|
|
|
@ -958,6 +965,8 @@ class NewMyShixunModel extends Component {
|
|
|
|
|
+ single_questions_count
|
|
|
|
|
+ subjective_questions_count;
|
|
|
|
|
|
|
|
|
|
// console.log("弹出框");
|
|
|
|
|
// console.log(Contentdata)
|
|
|
|
|
return (
|
|
|
|
|
<div className="newMain clearfix " ref={this.saveContainer}>
|
|
|
|
|
|
|
|
|
@ -1027,22 +1036,23 @@ class NewMyShixunModel extends Component {
|
|
|
|
|
/>
|
|
|
|
|
{/*头部*/}
|
|
|
|
|
<Contentpart {...this.state} {...this.props}
|
|
|
|
|
exam_id={this.props.exam_id}
|
|
|
|
|
Isitapopup={"true"}
|
|
|
|
|
chakanjiexiboolindex={this.state.chakanjiexiboolindex}
|
|
|
|
|
chakanjiexibool={(e) => this.chakanjiexibool(e)}
|
|
|
|
|
getitem_basketss={(id) => this.getitem_basketss(id)}
|
|
|
|
|
selectallquestionsonthispage={() => this.selectallquestionsonthispage()}
|
|
|
|
|
getitem_baskets={(e) => this.getitem_baskets(e)}
|
|
|
|
|
setdatafuns={(e) => this.setdatafuns(e)}
|
|
|
|
|
setdatafunsval={(e) => this.setdatafunsval(e)}
|
|
|
|
|
handleVisibleChanges={(e) => this.handleVisibleChanges(e)}
|
|
|
|
|
handleVisibleChange={(e) => this.handleVisibleChange(e)}
|
|
|
|
|
showmodels={(e) => this.showmodels(e)}
|
|
|
|
|
showmodelysl={(e) => this.showmodelysl(e)}
|
|
|
|
|
callback={(e) => this.callback(e)}
|
|
|
|
|
setoj_status={(e) => this.setoj_status(e)}
|
|
|
|
|
showmodelsInaudit={(e) => this.showmodelsInaudit(e)}
|
|
|
|
|
Contentdata={Contentdata}
|
|
|
|
|
exam_id={this.props.exam_id}
|
|
|
|
|
Isitapopup={"true"}
|
|
|
|
|
chakanjiexiboolindex={this.state.chakanjiexiboolindex}
|
|
|
|
|
chakanjiexibool={(e)=>this.chakanjiexibool(e)}
|
|
|
|
|
getitem_basketss={(id)=>this.getitem_basketss(id)}
|
|
|
|
|
selectallquestionsonthispage={()=>this.selectallquestionsonthispage()}
|
|
|
|
|
getitem_baskets={(e)=>this.getitem_baskets(e)}
|
|
|
|
|
setdatafuns={(e) => this.setdatafuns(e)}
|
|
|
|
|
setdatafunsval={(e) => this.setdatafunsval(e)}
|
|
|
|
|
handleVisibleChanges={(e) => this.handleVisibleChanges(e)}
|
|
|
|
|
handleVisibleChange={(e) => this.handleVisibleChange(e)}
|
|
|
|
|
showmodels={(e) => this.showmodels(e)}
|
|
|
|
|
showmodelysl={(e) => this.showmodelysl(e)}
|
|
|
|
|
callback={(e) => this.callback(e)}
|
|
|
|
|
setoj_status={(e)=>this.setoj_status(e)}
|
|
|
|
|
showmodelsInaudit={(e)=>this.showmodelsInaudit(e)}
|
|
|
|
|
|
|
|
|
|
></Contentpart>
|
|
|
|
|
|
|
|
|
|