|
|
|
@ -19,6 +19,7 @@ import '../tpm/newshixuns/css/Newshixuns.css';
|
|
|
|
|
import Bottomsubmit from "../../modules/modals/Bottomsubmit";
|
|
|
|
|
import Seeoagertit from "./component/Seeoagertit";
|
|
|
|
|
import Paperlibraryseeid_item from './component/Paperlibraryseeid_item';
|
|
|
|
|
import QuestionModal from "../question/component/QuestionModal";
|
|
|
|
|
//人工组卷预览
|
|
|
|
|
class Paperlibraryseeid extends Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
@ -27,8 +28,10 @@ class Paperlibraryseeid extends Component {
|
|
|
|
|
this.state = {
|
|
|
|
|
paperlibrartdata:[],
|
|
|
|
|
defaultActiveKey:"0",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modalsType:false,
|
|
|
|
|
titilesm:"",
|
|
|
|
|
titiless:"",
|
|
|
|
|
boolok:"知道了"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -91,7 +94,11 @@ class Paperlibraryseeid extends Component {
|
|
|
|
|
}
|
|
|
|
|
preservation = () => {
|
|
|
|
|
//保存试卷
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsType: true,
|
|
|
|
|
titilesm: "功能正在内测中,敬请期待",
|
|
|
|
|
titiless: "",
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -109,13 +116,34 @@ class Paperlibraryseeid extends Component {
|
|
|
|
|
getcontentMdRef = (Ref) => {
|
|
|
|
|
this.contentMdRef = Ref;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
modalCancel =()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsType: false,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setDownload =()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsType: false,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let {paperlibrartdata,defaultActiveKey} = this.state;
|
|
|
|
|
let {paperlibrartdata,defaultActiveKey,titilesm,titiless,boolok,modalsType} = this.state;
|
|
|
|
|
const params = this.props && this.props.match && this.props.match.params;
|
|
|
|
|
// ////console.log(params);
|
|
|
|
|
let urlsysl=`/paperlibrary?defaultActiveKey=${defaultActiveKey}`;
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
{
|
|
|
|
|
modalsType===true?
|
|
|
|
|
<QuestionModal {...this.props}{...this.state} modalsType={modalsType} modalCancel={() => this.modalCancel()}
|
|
|
|
|
setDownload={() => this.setDownload()}></QuestionModal>
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
<div id={"Itembankstopid"} className="newMain clearfix intermediatecenter "
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|