|
|
|
@ -17,7 +17,7 @@ import NoneData from './component/NoneData';
|
|
|
|
|
import './questioncss/questioncom.css';
|
|
|
|
|
import '../tpm/newshixuns/css/Newshixuns.css';
|
|
|
|
|
import Paperreview_single from './Paperreview_single';
|
|
|
|
|
import {DragDropContext,Draggable, Droppable} from 'react-beautiful-dnd';
|
|
|
|
|
import {DragDropContext, Draggable, Droppable} from 'react-beautiful-dnd';
|
|
|
|
|
import PaperDeletModel from './component/PaperDeletModel';
|
|
|
|
|
import PaperDeletModels from './component/PaperDeletModels';
|
|
|
|
|
import Paperreview_itemModel from './component/Paperreview_itemModel';
|
|
|
|
@ -36,14 +36,19 @@ class Paperreview_item extends Component {
|
|
|
|
|
super(props);
|
|
|
|
|
|
|
|
|
|
this.state = {
|
|
|
|
|
questions:0,
|
|
|
|
|
totalscore:0,
|
|
|
|
|
total:0,
|
|
|
|
|
modalsTypedel:false,
|
|
|
|
|
modalsTypey:false,
|
|
|
|
|
modalsTypedels:false,
|
|
|
|
|
titilesm:"",
|
|
|
|
|
titilesms:"",
|
|
|
|
|
questions: 0,
|
|
|
|
|
totalscore: 0,
|
|
|
|
|
total: 0,
|
|
|
|
|
modalsTypedel: false,
|
|
|
|
|
modalsTypey: false,
|
|
|
|
|
modalsTypedels: false,
|
|
|
|
|
titilesm: "",
|
|
|
|
|
titilesms: "",
|
|
|
|
|
singlebool: false,
|
|
|
|
|
multiplebool: false,
|
|
|
|
|
judgmentbool: false,
|
|
|
|
|
programbool: false,
|
|
|
|
|
paperreviewsingleindex: "无"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -52,8 +57,6 @@ class Paperreview_item extends Component {
|
|
|
|
|
componentDidMount() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -64,8 +67,6 @@ class Paperreview_item extends Component {
|
|
|
|
|
preservation = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -73,14 +74,14 @@ class Paperreview_item extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
onDragEnd=(result)=>{
|
|
|
|
|
onDragEnd = (result) => {
|
|
|
|
|
|
|
|
|
|
const ids=this.props.single_questions.questions[result.source.index].id;
|
|
|
|
|
const positions=this.props.single_questions.questions[result.destination.index].position;
|
|
|
|
|
const ids = this.props.single_questions.questions[result.source.index].id;
|
|
|
|
|
const positions = this.props.single_questions.questions[result.destination.index].position;
|
|
|
|
|
|
|
|
|
|
const url=`/item_baskets/${ids}/adjust_position.json`
|
|
|
|
|
var data={
|
|
|
|
|
position:positions
|
|
|
|
|
const url = `/item_baskets/${ids}/adjust_position.json`
|
|
|
|
|
var data = {
|
|
|
|
|
position: positions
|
|
|
|
|
}
|
|
|
|
|
axios.post(url, data)
|
|
|
|
|
.then((result) => {
|
|
|
|
@ -93,13 +94,13 @@ class Paperreview_item extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onDragEnds=(result)=>{
|
|
|
|
|
onDragEnds = (result) => {
|
|
|
|
|
|
|
|
|
|
const ids=this.props.multiple_questions.questions[result.source.index].id;
|
|
|
|
|
const positions=this.props.multiple_questions.questions[result.destination.index].position;
|
|
|
|
|
const url=`/item_baskets/${ids}/adjust_position.json`
|
|
|
|
|
var data={
|
|
|
|
|
position:positions
|
|
|
|
|
const ids = this.props.multiple_questions.questions[result.source.index].id;
|
|
|
|
|
const positions = this.props.multiple_questions.questions[result.destination.index].position;
|
|
|
|
|
const url = `/item_baskets/${ids}/adjust_position.json`
|
|
|
|
|
var data = {
|
|
|
|
|
position: positions
|
|
|
|
|
}
|
|
|
|
|
axios.post(url, data)
|
|
|
|
|
.then((result) => {
|
|
|
|
@ -115,12 +116,12 @@ class Paperreview_item extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onDragEndss=(result)=>{
|
|
|
|
|
const ids=this.props.judgement_questions.questions[result.source.index].id;
|
|
|
|
|
const positions=this.props.judgement_questions.questions[result.destination.index].position;
|
|
|
|
|
const url=`/item_baskets/${ids}/adjust_position.json`
|
|
|
|
|
var data={
|
|
|
|
|
position:positions
|
|
|
|
|
onDragEndss = (result) => {
|
|
|
|
|
const ids = this.props.judgement_questions.questions[result.source.index].id;
|
|
|
|
|
const positions = this.props.judgement_questions.questions[result.destination.index].position;
|
|
|
|
|
const url = `/item_baskets/${ids}/adjust_position.json`
|
|
|
|
|
var data = {
|
|
|
|
|
position: positions
|
|
|
|
|
}
|
|
|
|
|
axios.post(url, data)
|
|
|
|
|
.then((result) => {
|
|
|
|
@ -134,13 +135,13 @@ class Paperreview_item extends Component {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onDragEndsss=(result)=>{
|
|
|
|
|
onDragEndsss = (result) => {
|
|
|
|
|
|
|
|
|
|
const ids=this.props.judgement_questions.questions[result.source.index].id;
|
|
|
|
|
const positions=this.props.judgement_questions.questions[result.destination.index].position;
|
|
|
|
|
const url=`/item_baskets/${ids}/adjust_position.json`
|
|
|
|
|
var data={
|
|
|
|
|
position:positions
|
|
|
|
|
const ids = this.props.judgement_questions.questions[result.source.index].id;
|
|
|
|
|
const positions = this.props.judgement_questions.questions[result.destination.index].position;
|
|
|
|
|
const url = `/item_baskets/${ids}/adjust_position.json`
|
|
|
|
|
var data = {
|
|
|
|
|
position: positions
|
|
|
|
|
}
|
|
|
|
|
axios.post(url, data)
|
|
|
|
|
.then((result) => {
|
|
|
|
@ -153,76 +154,78 @@ class Paperreview_item extends Component {
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
Singlemagazine=(name,bool)=>{
|
|
|
|
|
if(bool===true){
|
|
|
|
|
Singlemagazine = (name, bool) => {
|
|
|
|
|
if (bool === true) {
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsTypey:true,
|
|
|
|
|
titilesm:name
|
|
|
|
|
modalsTypey: true,
|
|
|
|
|
titilesm: name
|
|
|
|
|
})
|
|
|
|
|
}else {
|
|
|
|
|
} else {
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsTypey:false,
|
|
|
|
|
titilesm:""
|
|
|
|
|
modalsTypey: false,
|
|
|
|
|
titilesm: ""
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setDownloady=(fenshu)=>{
|
|
|
|
|
const url ="/item_baskets/batch_set_score.json";
|
|
|
|
|
var data ={
|
|
|
|
|
score:fenshu,
|
|
|
|
|
item_type:this.state.titilesm==="单选题"?"SINGLE":this.state.titilesm==="多选题"?"MULTIPLE":this.state.titilesm==="判断题"?"JUDGMENT":this.state.titilesm==="编程题"?"PROGRAM":'',
|
|
|
|
|
setDownloady = (fenshu) => {
|
|
|
|
|
const url = "/item_baskets/batch_set_score.json";
|
|
|
|
|
var data = {
|
|
|
|
|
score: fenshu,
|
|
|
|
|
item_type: this.state.titilesm === "单选题" ? "SINGLE" : this.state.titilesm === "多选题" ? "MULTIPLE" : this.state.titilesm === "判断题" ? "JUDGMENT" : this.state.titilesm === "编程题" ? "PROGRAM" : '',
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
axios.post(url, data)
|
|
|
|
|
.then((result) => {
|
|
|
|
|
if (result.data.status == 0) {
|
|
|
|
|
this.props.showNotification(`调分成功`);
|
|
|
|
|
this.props.getdata({});
|
|
|
|
|
this.Singlemagazine("",false);
|
|
|
|
|
this.Singlemagazine("", false);
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setmodalsTypedel=(bool,type,names)=>{
|
|
|
|
|
if(type===1){
|
|
|
|
|
setmodalsTypedel = (bool, type, names) => {
|
|
|
|
|
if (type === 1) {
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsTypedel:bool,
|
|
|
|
|
titilesms:names
|
|
|
|
|
modalsTypedel: bool,
|
|
|
|
|
titilesms: names
|
|
|
|
|
})
|
|
|
|
|
}else{
|
|
|
|
|
} else {
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsTypedel:bool,
|
|
|
|
|
modalsTypedels:true,
|
|
|
|
|
titilesms:names
|
|
|
|
|
modalsTypedel: bool,
|
|
|
|
|
modalsTypedels: true,
|
|
|
|
|
titilesms: names
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setmodalsTypedels=(bool,type)=>{
|
|
|
|
|
if(type===1){
|
|
|
|
|
setmodalsTypedels = (bool, type) => {
|
|
|
|
|
if (type === 1) {
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsTypedels:bool,
|
|
|
|
|
titilesms:""
|
|
|
|
|
modalsTypedels: bool,
|
|
|
|
|
titilesms: ""
|
|
|
|
|
})
|
|
|
|
|
}else {
|
|
|
|
|
} else {
|
|
|
|
|
//确定
|
|
|
|
|
const url=`/item_baskets/delete_item_type.json`;
|
|
|
|
|
axios.delete((url), { data: {
|
|
|
|
|
item_type:this.state.titilesms
|
|
|
|
|
}})
|
|
|
|
|
const url = `/item_baskets/delete_item_type.json`;
|
|
|
|
|
axios.delete((url), {
|
|
|
|
|
data: {
|
|
|
|
|
item_type: this.state.titilesms
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.data.status == 0) {
|
|
|
|
|
this.props.showNotification('删除成功');
|
|
|
|
|
this.props.getdata({});
|
|
|
|
|
this.setState({
|
|
|
|
|
titilesms:""
|
|
|
|
|
})
|
|
|
|
|
titilesms: ""
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(function (error) {
|
|
|
|
@ -230,298 +233,452 @@ class Paperreview_item extends Component {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
modalsTypedels:bool,
|
|
|
|
|
modalsTypedels: bool,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
hideparagraph = (name) => {
|
|
|
|
|
console.log("hideparagraph");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
hideparagraphs = () => {
|
|
|
|
|
this.setState({
|
|
|
|
|
singlebool: false,
|
|
|
|
|
multiplebool: false,
|
|
|
|
|
judgmentbool: false,
|
|
|
|
|
programbool: false,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
showparagraph = (name) => {
|
|
|
|
|
console.log("showparagraph");
|
|
|
|
|
if (name === "SINGLE") {
|
|
|
|
|
this.setState({
|
|
|
|
|
singlebool: true,
|
|
|
|
|
multiplebool: false,
|
|
|
|
|
judgmentbool: false,
|
|
|
|
|
programbool: false,
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
} else if (name === "MULTIPLE") {
|
|
|
|
|
this.setState({
|
|
|
|
|
singlebool: false,
|
|
|
|
|
multiplebool: true,
|
|
|
|
|
judgmentbool: false,
|
|
|
|
|
programbool: false,
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
} else if (name === "JUDGMENT") {
|
|
|
|
|
this.setState({
|
|
|
|
|
singlebool: false,
|
|
|
|
|
multiplebool: false,
|
|
|
|
|
judgmentbool: true,
|
|
|
|
|
programbool: false,
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
} else if (name === "PROGRAM") {
|
|
|
|
|
this.setState({
|
|
|
|
|
singlebool: false,
|
|
|
|
|
multiplebool: false,
|
|
|
|
|
judgmentbool: false,
|
|
|
|
|
programbool: true,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
jixuxuantioncli = () => {
|
|
|
|
|
this.props.history.replace("/question");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
showparagraphs = (e) => {
|
|
|
|
|
console.log("showparagraphs");
|
|
|
|
|
console.log(e);
|
|
|
|
|
this.setState({
|
|
|
|
|
paperreviewsingleindex: e,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let {questions,totalscore,total,modalsTypedel,modalsTypey,modalsTypedels} = this.state;
|
|
|
|
|
let {single_questions,multiple_questions,judgement_questions,program_questions,all_score}=this.props;
|
|
|
|
|
let {
|
|
|
|
|
questions, totalscore, total, modalsTypedel, modalsTypey, modalsTypedels,
|
|
|
|
|
singlebool,
|
|
|
|
|
multiplebool,
|
|
|
|
|
judgmentbool,
|
|
|
|
|
programbool,
|
|
|
|
|
paperreviewsingleindex
|
|
|
|
|
} = this.state;
|
|
|
|
|
let {single_questions, multiple_questions, judgement_questions, program_questions, all_score} = this.props;
|
|
|
|
|
return (
|
|
|
|
|
<div className=" clearfix educontent Contentquestionbankstyle w100s w1200wuh mt19">
|
|
|
|
|
{
|
|
|
|
|
modalsTypedel===true?
|
|
|
|
|
<PaperDeletModel {...this.state} {...this.props} setmodalsTypedel={(bool,type,name)=>this.setmodalsTypedel(bool,type,name)}></PaperDeletModel>
|
|
|
|
|
:""
|
|
|
|
|
modalsTypedel === true ?
|
|
|
|
|
<PaperDeletModel {...this.state} {...this.props}
|
|
|
|
|
setmodalsTypedel={(bool, type, name) => this.setmodalsTypedel(bool, type, name)}></PaperDeletModel>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
modalsTypey===true?
|
|
|
|
|
<Paperreview_itemModel {...this.state} {...this.props} setDownloady={(fs)=>this.setDownloady(fs)} Singlemagazine={(name,bool)=>this.Singlemagazine(name,bool)}></Paperreview_itemModel>
|
|
|
|
|
:""
|
|
|
|
|
modalsTypey === true ?
|
|
|
|
|
<Paperreview_itemModel {...this.state} {...this.props} setDownloady={(fs) => this.setDownloady(fs)}
|
|
|
|
|
Singlemagazine={(name, bool) => this.Singlemagazine(name, bool)}></Paperreview_itemModel>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
modalsTypedels===true?
|
|
|
|
|
<PaperDeletModels {...this.state} {...this.props} setmodalsTypedels={(bool,type)=>this.setmodalsTypedels(bool,type)}></PaperDeletModels>
|
|
|
|
|
:""
|
|
|
|
|
modalsTypedels === true ?
|
|
|
|
|
<PaperDeletModels {...this.state} {...this.props}
|
|
|
|
|
setmodalsTypedels={(bool, type) => this.setmodalsTypedels(bool, type)}></PaperDeletModels>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
<div className="w100s mt20 mb20 backgroudwhites" style={{
|
|
|
|
|
position:"relative",
|
|
|
|
|
}}>
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<p className="questionstishu">题数:{this.props.all_score}</p>
|
|
|
|
|
<p className="ml58 questionstotal">总分:{this.props.all_questions_count}</p>
|
|
|
|
|
<div className="w100s mt20 mb20 backgroudwhites" style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<div className="w70s sortinxdirection">
|
|
|
|
|
<p className="questionstishu lh34">题数:{this.props.all_score}</p>
|
|
|
|
|
<p className="ml58 questionstotal lh34">总分:{this.props.all_questions_count}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="w30s xaxisreverseorder">
|
|
|
|
|
<div className="jixuxuanti xiaoshou" onClick={() => this.jixuxuantioncli()}>
|
|
|
|
|
继续选题
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="questiontypeheng w100s mt19 mb19"></div>
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<div className="pagertdstcolor w50s sortinxdirection">拖动试题可调整排序</div>
|
|
|
|
|
<div className="pagertdstcolor w50s xaxisreverseorder">共{single_questions&&single_questions.questions_count}个试题</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/*单选题*/}
|
|
|
|
|
{
|
|
|
|
|
single_questions&&single_questions?
|
|
|
|
|
<div className="backgroudwhites" style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
|
|
<div className="w100s mt20 mb20 postitonrelati">
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<p className="yldxtit">一、单选题</p> <p className="ml15 yldxtits">(共{single_questions&&single_questions.questions_count}题;共{single_questions&&single_questions.questions_score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="postitonrelatis xaxisreverseorder">
|
|
|
|
|
<div className="scd xiaoshou" onClick={()=>this.setmodalsTypedel(true,1,"SINGLE")}>删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou" onClick={()=>this.Singlemagazine("单选题",true)} >设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
<DragDropContext onDragEnd={this.onDragEnd} >
|
|
|
|
|
<Droppable droppableId={"0"}>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.droppableProps}
|
|
|
|
|
className={""}
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
single_questions&&single_questions.questions.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<Draggable
|
|
|
|
|
key={object.id}
|
|
|
|
|
draggableId={object.id}
|
|
|
|
|
index={index}
|
|
|
|
|
className={""}
|
|
|
|
|
>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
key={index}
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.draggableProps}
|
|
|
|
|
{...provided.dragHandleProps}
|
|
|
|
|
>
|
|
|
|
|
<Paperreview_single objectsingle={object}></Paperreview_single>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Draggable>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Droppable>
|
|
|
|
|
</DragDropContext>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
multiple_questions&&multiple_questions?
|
|
|
|
|
<div className="backgroudwhites" style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
<div className="h20 lh20"></div>
|
|
|
|
|
<div className="w100s mb20 postitonrelati">
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<p className="yldxtit">{single_questions===null?"一":"二"}、多选题</p> <p className="ml15 yldxtits">(共{multiple_questions&&multiple_questions.questions_count}题;共{multiple_questions&&multiple_questions.questions_score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="postitonrelatis xaxisreverseorder">
|
|
|
|
|
<div className="scd xiaoshou" onClick={()=>this.setmodalsTypedel(true,1,"MULTIPLE")}>删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou" onClick={()=>this.Singlemagazine("多选题",true)}>设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<DragDropContext onDragEnd={this.onDragEnds} >
|
|
|
|
|
<Droppable droppableId={"0"}>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.droppableProps}
|
|
|
|
|
className={""}
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
multiple_questions&&multiple_questions.questions.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<Draggable
|
|
|
|
|
key={object.id}
|
|
|
|
|
draggableId={object.id}
|
|
|
|
|
index={index}
|
|
|
|
|
className={""}
|
|
|
|
|
>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
key={index}
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.draggableProps}
|
|
|
|
|
{...provided.dragHandleProps}
|
|
|
|
|
>
|
|
|
|
|
<Paperreview_single objectsingle={object}></Paperreview_single>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Draggable>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Droppable>
|
|
|
|
|
</DragDropContext>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
judgement_questions&&judgement_questions?
|
|
|
|
|
<div className="backgroudwhites" style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
|
|
<div className="w100s mt20 mb20 postitonrelati">
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<p className="yldxtit">{single_questions===null&&multiple_questions===null?"一":single_questions===null&&multiple_questions!==null?"二"
|
|
|
|
|
:single_questions!==null&&multiple_questions===null?"二"
|
|
|
|
|
:"三"}、判断题</p> <p className="ml15 yldxtits">(共{judgement_questions&&judgement_questions.questions_count}题;共{judgement_questions&&judgement_questions.questions_score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="postitonrelatis xaxisreverseorder">
|
|
|
|
|
<div className="scd xiaoshou" onClick={()=>this.setmodalsTypedel(true,1,"JUDGMENT")}>删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou" onClick={()=>this.Singlemagazine("判断题",true)}>设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<DragDropContext onDragEnd={this.onDragEndss} >
|
|
|
|
|
<Droppable droppableId={"0"}>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.droppableProps}
|
|
|
|
|
className={""}
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
judgement_questions&&judgement_questions.questions.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<Draggable
|
|
|
|
|
key={object.id}
|
|
|
|
|
draggableId={object.id}
|
|
|
|
|
index={index}
|
|
|
|
|
className={""}
|
|
|
|
|
>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
key={index}
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.draggableProps}
|
|
|
|
|
{...provided.dragHandleProps}
|
|
|
|
|
>
|
|
|
|
|
<Paperreview_single objectsingle={object}></Paperreview_single>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Draggable>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Droppable>
|
|
|
|
|
</DragDropContext>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
program_questions&&program_questions?
|
|
|
|
|
<div className="backgroudwhites" style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
|
|
<div className="w100s mt20 mb20 postitonrelati">
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<p className="yldxtit">
|
|
|
|
|
{single_questions===null&&multiple_questions===null&&program_questions===null?"一"
|
|
|
|
|
:single_questions===null&&multiple_questions===null&&program_questions!==null?"二"
|
|
|
|
|
:single_questions!==null&&multiple_questions===null&&program_questions===null?"二"
|
|
|
|
|
:single_questions===null&&multiple_questions!==null&&program_questions===null?"二"
|
|
|
|
|
:single_questions!==null&&multiple_questions!==null&&program_questions===null?"三"
|
|
|
|
|
:single_questions===null&&multiple_questions!==null&&program_questions!==null?"三"
|
|
|
|
|
:single_questions!==null&&multiple_questions==null&&program_questions!==null?"三":
|
|
|
|
|
"四"}
|
|
|
|
|
、编程题</p> <p className="ml15 yldxtits">(共{program_questions&&program_questions.questions_count}题;共{program_questions&&program_questions.questions_score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="postitonrelatis xaxisreverseorder">
|
|
|
|
|
<div className="scd xiaoshou" onClick={()=>this.setmodalsTypedel(true,1,"PROGRAM")}>删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou" onClick={()=>this.Singlemagazine("编程题",true)}>设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
<DragDropContext onDragEnd={this.onDragEndsss} >
|
|
|
|
|
<Droppable droppableId={"0"}>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.droppableProps}
|
|
|
|
|
className={""}
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
program_questions&&program_questions.questions.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<Draggable
|
|
|
|
|
key={object.id}
|
|
|
|
|
draggableId={object.id}
|
|
|
|
|
index={index}
|
|
|
|
|
className={""}
|
|
|
|
|
>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
key={index}
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.draggableProps}
|
|
|
|
|
{...provided.dragHandleProps}
|
|
|
|
|
>
|
|
|
|
|
<Paperreview_single objectsingle={object}></Paperreview_single>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Draggable>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Droppable>
|
|
|
|
|
</DragDropContext>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div className="questiontypeheng w100s mt19 mb19"></div>
|
|
|
|
|
<div className="w100s sortinxdirection">
|
|
|
|
|
<div className="pagertdstcolor w50s sortinxdirection">拖动试题可调整排序</div>
|
|
|
|
|
<div
|
|
|
|
|
className="pagertdstcolor w50s xaxisreverseorder">共{single_questions && single_questions.questions_count}个试题
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/*单选题*/}
|
|
|
|
|
{
|
|
|
|
|
single_questions && single_questions ?
|
|
|
|
|
<div className="backgroudwhites" style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
|
|
<div className="w100s mt20 mb20 postitonrelati">
|
|
|
|
|
<div
|
|
|
|
|
className={singlebool === true ? "w100s sortinxdirection borderwdswuhques intermediatecenterysls" : "w100s sortinxdirection intermediatecenterysls"}
|
|
|
|
|
onMouseEnter={() => this.showparagraph("SINGLE")} onMouseLeave={() => this.hideparagraph("SINGLE")}>
|
|
|
|
|
<p className={singlebool === true ? "ml18 yldxtit" : "yldxtit"}>一、单选题</p> <p
|
|
|
|
|
className="ml15 yldxtits">(共{single_questions && single_questions.questions_count}题;共{single_questions && single_questions.questions_score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
|
singlebool === true ?
|
|
|
|
|
<div className="postitonrelatiss xaxisreverseorder">
|
|
|
|
|
<div className="scd xiaoshou" onClick={() => this.setmodalsTypedel(true, 1, "SINGLE")}>删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou" onClick={() => this.Singlemagazine("单选题", true)}>批量设置得分</div>
|
|
|
|
|
</div> : ""
|
|
|
|
|
}
|
|
|
|
|
<DragDropContext onDragEnd={this.onDragEnd}>
|
|
|
|
|
<Droppable droppableId={"0"}>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.droppableProps}
|
|
|
|
|
className={""}
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
single_questions && single_questions.questions.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<Draggable
|
|
|
|
|
key={object.id}
|
|
|
|
|
draggableId={object.id}
|
|
|
|
|
index={index}
|
|
|
|
|
className={""}
|
|
|
|
|
>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
key={index}
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.draggableProps}
|
|
|
|
|
{...provided.dragHandleProps}
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="xaxisreverseorder mt25 mr2">
|
|
|
|
|
<div className="scd xiaoshou">删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou">设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<Paperreview_single paperreviewsingleindex={this.state.paperreviewsingleindex}
|
|
|
|
|
showparagraphs={(e) => this.showparagraphs(e)}
|
|
|
|
|
objectsingle={object} key={index} indexx={index + 1}
|
|
|
|
|
indexxy={index}
|
|
|
|
|
hideparagraphs={() => this.hideparagraphs()}></Paperreview_single>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Draggable>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Droppable>
|
|
|
|
|
</DragDropContext>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
multiple_questions && multiple_questions ?
|
|
|
|
|
<div className="backgroudwhites" style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
<div className="h20 lh20"></div>
|
|
|
|
|
<div className="w100s mb20 postitonrelati">
|
|
|
|
|
<div
|
|
|
|
|
className={multiplebool === true ? "w100s sortinxdirection mt10 borderwdswuhques intermediatecenterysls" : "w100s sortinxdirection intermediatecenterysls"}
|
|
|
|
|
onMouseEnter={() => this.showparagraph("MULTIPLE")}
|
|
|
|
|
onMouseLeave={() => this.hideparagraph("MULTIPLE")}>
|
|
|
|
|
<p
|
|
|
|
|
className={multiplebool === true ? "ml18 yldxtit" : "yldxtit"}>{single_questions === null ? "一" : "二"}、多选题</p>
|
|
|
|
|
<p
|
|
|
|
|
className="ml15 yldxtits">(共{multiple_questions && multiple_questions.questions_count}题;共{multiple_questions && multiple_questions.questions_score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
|
multiplebool === true ?
|
|
|
|
|
<div className="postitonrelatisss xaxisreverseorder ">
|
|
|
|
|
<div className="scd xiaoshou" onClick={() => this.setmodalsTypedel(true, 1, "MULTIPLE")}>删除
|
|
|
|
|
</div>
|
|
|
|
|
<div className="szdfd xiaoshou" onClick={() => this.Singlemagazine("多选题", true)}>批量设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<DragDropContext onDragEnd={this.onDragEnds}>
|
|
|
|
|
<Droppable droppableId={"0"}>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.droppableProps}
|
|
|
|
|
className={""}
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
multiple_questions && multiple_questions.questions.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<Draggable
|
|
|
|
|
key={object.id}
|
|
|
|
|
draggableId={object.id}
|
|
|
|
|
index={index}
|
|
|
|
|
className={""}
|
|
|
|
|
>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
key={index}
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.draggableProps}
|
|
|
|
|
{...provided.dragHandleProps}
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<div className="xaxisreverseorder mt25 mr2">
|
|
|
|
|
<div className="scd xiaoshou">删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou">设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
<Paperreview_single paperreviewsingleindex={this.state.paperreviewsingleindex}
|
|
|
|
|
objectsingle={object} key={index} indexx={index + 1}
|
|
|
|
|
indexxy={index}
|
|
|
|
|
hideparagraphs={() => this.hideparagraphs()}></Paperreview_single>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Draggable>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Droppable>
|
|
|
|
|
</DragDropContext>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
judgement_questions && judgement_questions ?
|
|
|
|
|
<div className={judgmentbool === true ? "backgroudwhites " : "backgroudwhites"} style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
<div className="h20 lh20"></div>
|
|
|
|
|
<div className="w100s mb20 postitonrelati">
|
|
|
|
|
<div
|
|
|
|
|
className={judgmentbool === true ? "w100s sortinxdirection borderwdswuhques mt10 intermediatecenterysls " : "w100s sortinxdirection intermediatecenterysls "}
|
|
|
|
|
onMouseEnter={() => this.showparagraph("JUDGMENT")}
|
|
|
|
|
onMouseLeave={() => this.hideparagraph("JUDGMENT")}>
|
|
|
|
|
<p
|
|
|
|
|
className={judgmentbool === true ? "ml18 yldxtit" : "yldxtit"}>{single_questions === null && multiple_questions === null ? "一" : single_questions === null && multiple_questions !== null ? "二"
|
|
|
|
|
: single_questions !== null && multiple_questions === null ? "二"
|
|
|
|
|
: "三"}、判断题</p> <p
|
|
|
|
|
className="ml15 yldxtits">(共{judgement_questions && judgement_questions.questions_count}题;共{judgement_questions && judgement_questions.questions_score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
|
judgmentbool === true ?
|
|
|
|
|
<div className="postitonrelatiss xaxisreverseorder">
|
|
|
|
|
<div className="scd xiaoshou" onClick={() => this.setmodalsTypedel(true, 1, "JUDGMENT")}>删除
|
|
|
|
|
</div>
|
|
|
|
|
<div className="szdfd xiaoshou" onClick={() => this.Singlemagazine("判断题", true)}>批量设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
: ""}
|
|
|
|
|
|
|
|
|
|
<DragDropContext onDragEnd={this.onDragEndss}>
|
|
|
|
|
<Droppable droppableId={"0"}>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.droppableProps}
|
|
|
|
|
className={""}
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
judgement_questions && judgement_questions.questions.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<Draggable
|
|
|
|
|
key={object.id}
|
|
|
|
|
draggableId={object.id}
|
|
|
|
|
index={index}
|
|
|
|
|
className={""}
|
|
|
|
|
>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
key={index}
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.draggableProps}
|
|
|
|
|
{...provided.dragHandleProps}
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<div className="xaxisreverseorder mt25 mr2">
|
|
|
|
|
<div className="scd xiaoshou">删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou">设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
<Paperreview_single paperreviewsingleindex={this.state.paperreviewsingleindex}
|
|
|
|
|
objectsingle={object} key={index} indexx={index + 1}
|
|
|
|
|
indexxy={index}
|
|
|
|
|
hideparagraphs={() => this.hideparagraphs()}></Paperreview_single>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Draggable>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Droppable>
|
|
|
|
|
</DragDropContext>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
program_questions && program_questions ?
|
|
|
|
|
<div className={programbool === true ? "backgroudwhites " : "backgroudwhites"} style={{
|
|
|
|
|
position: "relative",
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
|
|
<div className="h20 lh20"></div>
|
|
|
|
|
<div className="w100s mb20 postitonrelati">
|
|
|
|
|
<div
|
|
|
|
|
className={programbool === true ? "w100s sortinxdirection mt10 borderwdswuhques intermediatecenterysls " : "w100s sortinxdirection intermediatecenterysls"}
|
|
|
|
|
onMouseEnter={() => this.showparagraph("PROGRAM")}
|
|
|
|
|
onMouseLeave={() => this.hideparagraph("PROGRAM")}>
|
|
|
|
|
<p className={programbool === true ? "ml18 yldxtit" : "yldxtit"}>
|
|
|
|
|
{single_questions === null && multiple_questions === null && program_questions === null ? "一"
|
|
|
|
|
: single_questions === null && multiple_questions === null && program_questions !== null ? "二"
|
|
|
|
|
: single_questions !== null && multiple_questions === null && program_questions === null ? "二"
|
|
|
|
|
: single_questions === null && multiple_questions !== null && program_questions === null ? "二"
|
|
|
|
|
: single_questions !== null && multiple_questions !== null && program_questions === null ? "三"
|
|
|
|
|
: single_questions === null && multiple_questions !== null && program_questions !== null ? "三"
|
|
|
|
|
: single_questions !== null && multiple_questions == null && program_questions !== null ? "三" :
|
|
|
|
|
"四"}
|
|
|
|
|
、编程题</p> <p
|
|
|
|
|
className="ml15 yldxtits">(共{program_questions && program_questions.questions_count}题;共{program_questions && program_questions.questions_score}分)</p>
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
|
programbool === true ?
|
|
|
|
|
<div className="postitonrelatiss xaxisreverseorder">
|
|
|
|
|
<div className="scd xiaoshou" onClick={() => this.setmodalsTypedel(true, 1, "PROGRAM")}>删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou" onClick={() => this.Singlemagazine("编程题", true)}>批量设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<DragDropContext onDragEnd={this.onDragEndsss}>
|
|
|
|
|
<Droppable droppableId={"0"}>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.droppableProps}
|
|
|
|
|
className={""}
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
program_questions && program_questions.questions.map((object, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<Draggable
|
|
|
|
|
key={object.id}
|
|
|
|
|
draggableId={object.id}
|
|
|
|
|
index={index}
|
|
|
|
|
className={""}
|
|
|
|
|
>
|
|
|
|
|
{(provided, snapshot) => (
|
|
|
|
|
<div
|
|
|
|
|
key={index}
|
|
|
|
|
ref={provided.innerRef}
|
|
|
|
|
{...provided.draggableProps}
|
|
|
|
|
{...provided.dragHandleProps}
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<div className="xaxisreverseorder mt25 mr2">
|
|
|
|
|
<div className="scd xiaoshou">删除</div>
|
|
|
|
|
<div className="szdfd xiaoshou">设置得分</div>
|
|
|
|
|
</div>
|
|
|
|
|
<Paperreview_single paperreviewsingleindex={this.state.paperreviewsingleindex}
|
|
|
|
|
objectsingle={object} key={index} indexx={index + 1}
|
|
|
|
|
indexxy={index}
|
|
|
|
|
hideparagraphs={() => this.hideparagraphs()}></Paperreview_single>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Draggable>
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</Droppable>
|
|
|
|
|
</DragDropContext>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|