试卷题库

dev_jupyter
杨树林 5 years ago
parent c54386c57d
commit 647ed7315f

@ -19,7 +19,7 @@ import PaperDeletModel from '../../question/component/PaperDeletModel';
import PaperDeletModels from '../../question/component/PaperDeletModels';
import Paperreview_itemModel from '../../question/component/Paperreview_itemModel';
import Paperreview_itemModels from '../../question/component/Paperreview_itemModels';
import Paperreview_items from '../../question/Paperreview_items';
import Paperlibraryseeid_itemsss from './Paperlibraryseeid_itemsss';
const reorder = (list, startIndex, endIndex) => {
@ -471,7 +471,7 @@ class Paperlibraryseeid_itemss extends Component {
{...provided.dragHandleProps}
>
<Paperreview_items
<Paperlibraryseeid_itemsss
key={index}
paperreviewsingleindex={this.state.paperreviewsingleindex}
paperreviewsinglename={this.state.paperreviewsinglename}
@ -485,7 +485,7 @@ class Paperlibraryseeid_itemss extends Component {
hideparagraphs={() => this.hideparagraphs()}
>
</Paperreview_items>
</Paperlibraryseeid_itemsss>
</div>
@ -563,7 +563,7 @@ class Paperlibraryseeid_itemss extends Component {
>
<Paperreview_items
<Paperlibraryseeid_itemsss
key={index}
paperreviewsingleindex={this.state.paperreviewsingleindex}
paperreviewsinglename={this.state.paperreviewsinglename}
@ -577,7 +577,7 @@ class Paperlibraryseeid_itemss extends Component {
hideparagraphs={() => this.hideparagraphs()}
>
</Paperreview_items>
</Paperlibraryseeid_itemsss>
</div>
)}
</Draggable>
@ -650,7 +650,7 @@ class Paperlibraryseeid_itemss extends Component {
>
<Paperreview_items
<Paperlibraryseeid_itemsss
key={index}
paperreviewsingleindex={this.state.paperreviewsingleindex}
paperreviewsinglename={this.state.paperreviewsinglename}
@ -664,7 +664,7 @@ class Paperlibraryseeid_itemss extends Component {
hideparagraphs={() => this.hideparagraphs()}
>
</Paperreview_items>
</Paperlibraryseeid_itemsss>
</div>
)}
</Draggable>
@ -742,7 +742,7 @@ class Paperlibraryseeid_itemss extends Component {
>
<Paperreview_items
<Paperlibraryseeid_itemsss
key={index}
paperreviewsingleindex={this.state.paperreviewsingleindex}
paperreviewsinglename={this.state.paperreviewsinglename}
@ -755,7 +755,7 @@ class Paperlibraryseeid_itemss extends Component {
object={object}
hideparagraphs={() => this.hideparagraphs()}
>
</Paperreview_items>
</Paperlibraryseeid_itemsss>
</div>
)}
</Draggable>

@ -0,0 +1,88 @@
import React, {Component} from "react";
import {Link, NavLink} from 'react-router-dom';
import {WordsBtn, ActionBtn, getImageUrl,markdownToHTML} from 'educoder';
import axios from 'axios';
import {
notification,
Spin,
Table,
Pagination,
Drawer,
Input,
Button,
Breadcrumb
} from "antd";
import '../../question/questioncss/questioncom.css';
import '../../tpm/newshixuns/css/Newshixuns.css';
import Paperreview_single from "../../question/Paperreview_single";
//判断题
//这不是唯一的 试题库还有Paperreview_items
class Paperlibraryseeid_itemsss extends Component {
constructor(props) {
super(props);
this.state = {
}
}
//初始化
componentDidMount() {
}
getdata = (data) => {
}
preservation = () => {
}
setitem_type = (item_type) => {
}
render() {
let {paperreviewsingleindex,paperreviewsinglename,typenames,indexs,object,typenamesn}=this.props;
return (
<div>
{
paperreviewsingleindex===indexs&&paperreviewsinglename===typenames?
<div className="xaxisreverseorder mt25 mr2">
<div className="scd xiaoshou" onClick={()=>this.props.showsetmodalsTypedels(object.id,true,1)}>删除</div>
<div className="szdfd xiaoshou" onClick={()=>this.props.Singlemagazines(true,object.id,typenamesn)}>设置得分</div>
</div>
: <div className="xaxisreverseorder mt25 ">
</div>
}
<Paperreview_single paperreviewsingleindex={paperreviewsingleindex}
name={typenames}
key={indexs}
showparagraphs={(e,name) => this.props.showparagraphs(e,name)}
objectsingle={object} key={indexs} indexx={indexs + 1}
indexxy={indexs}
hideparagraphs={() => this.props.hideparagraphs()}></Paperreview_single>
</div>
)
}
}
export default Paperlibraryseeid_itemsss
Loading…
Cancel
Save