|
|
|
@ -20,21 +20,26 @@ import Bottomsubmit from "../../modules/modals/Bottomsubmit";
|
|
|
|
|
import Seeoagertit from "./component/Seeoagertit";
|
|
|
|
|
import Paperlibraryseeid_item from './component/Paperlibraryseeid_item';
|
|
|
|
|
import Comthetestpaperst from '../question/comthetestpaper/Comthetestpaperst';
|
|
|
|
|
import JudquestionEditor from "../question/component/JudquestionEditor";
|
|
|
|
|
//人工组卷预览
|
|
|
|
|
class Paperlibraryeditid extends Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props);
|
|
|
|
|
this.contentMdRef = React.createRef();
|
|
|
|
|
this.Judquestio = React.createRef();
|
|
|
|
|
this.state = {
|
|
|
|
|
paperlibrartdata:[],
|
|
|
|
|
disciplinesdata: [],
|
|
|
|
|
knowledgepoints: [],
|
|
|
|
|
disciplmy: [],
|
|
|
|
|
item_banksedit:[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getJudquestio = (Ref) => {
|
|
|
|
|
this.Judquestio = Ref;
|
|
|
|
|
}
|
|
|
|
|
//初始化
|
|
|
|
|
componentDidMount() {
|
|
|
|
|
console.log("Paperlibraryseeid");
|
|
|
|
@ -107,6 +112,7 @@ class Paperlibraryeditid extends Component {
|
|
|
|
|
if (response) {
|
|
|
|
|
this.setState({
|
|
|
|
|
paperlibrartdata: response.data,
|
|
|
|
|
item_banksedit:response.data.exam,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -177,7 +183,10 @@ class Paperlibraryeditid extends Component {
|
|
|
|
|
<Breadcrumb.Item className={"shubiao"}>试卷编辑</Breadcrumb.Item>
|
|
|
|
|
</Breadcrumb>
|
|
|
|
|
</div>
|
|
|
|
|
<Comthetestpaperst {...this.state} {...this.props}></Comthetestpaperst>
|
|
|
|
|
<Comthetestpaperst {...this.state} {...this.props}
|
|
|
|
|
item_banksedit={this.state.item_banksedit}
|
|
|
|
|
getanswerMdRef={(ref) => this.getJudquestio(ref)}
|
|
|
|
|
></Comthetestpaperst>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|