diff --git a/public/react/src/modules/question/comthetestpaper/Comthetestpaperst.js b/public/react/src/modules/question/comthetestpaper/Comthetestpaperst.js
index b4a905fbd..47b906db1 100644
--- a/public/react/src/modules/question/comthetestpaper/Comthetestpaperst.js
+++ b/public/react/src/modules/question/comthetestpaper/Comthetestpaperst.js
@@ -538,7 +538,7 @@ class Comthetestpaperst extends Component {
)(
-
diff --git a/public/react/src/modules/testpaper/Paperlibraryeditid.js b/public/react/src/modules/testpaper/Paperlibraryeditid.js
index 6de67c161..000bb8990 100644
--- a/public/react/src/modules/testpaper/Paperlibraryeditid.js
+++ b/public/react/src/modules/testpaper/Paperlibraryeditid.js
@@ -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 {
试卷编辑
-
+ this.getJudquestio(ref)}
+ >