diff --git a/public/react/src/modules/question/Paperreview.js b/public/react/src/modules/question/Paperreview.js
index 959e67b89..c51cf6b93 100644
--- a/public/react/src/modules/question/Paperreview.js
+++ b/public/react/src/modules/question/Paperreview.js
@@ -37,7 +37,7 @@ class Paperreview extends Component {
myquestion_choicesco: [],
disciplinesdata: [],
knowledgepoints: [],
- disciplmy:[]
+ disciplmy: []
}
}
@@ -46,13 +46,43 @@ class Paperreview extends Component {
componentDidMount() {
-
+ var data = {}
+ this.getdata(data);
}
getdata = (data) => {
+ const url = `/item_baskets.json`;
+ this.setState({
+ booljupyterurls: true,
+ })
+ axios.get((url), {params: data}).then((response) => {
+ setTimeout(() => {
+ this.setState({
+ booljupyterurls: false,
+ })
+ }, 1000);
+ if (response === null || response === undefined) {
+
+ return
+ }
+ if (response.data.status === 403 || response.data.status === 401 || response.data.status === 500) {
+
+ } else {
+ }
+ ////console.log("item_banks");
+ ////console.log(response);
+ this.setState({
+ Contentdata: response.data,
+ })
+ }).catch((error) => {
+ ////console.log(error)
+ this.setState({
+ booljupyterurls: false,
+ })
+ });
}
getcontentMdRef = (Ref) => {
@@ -89,8 +119,6 @@ class Paperreview extends Component {
//保存试卷
-
-
}
@@ -118,34 +146,27 @@ class Paperreview extends Component {
`
}
-
+
题数:{questions}
总分:{totalscore}
-
+
+
+
拖动试题可调整排序
+
共{total}个试题
+
+
+ {/*单选题*/}
+
+
+
+
+
+
+
+
diff --git a/public/react/src/modules/question/Paperreview_judgment.js b/public/react/src/modules/question/Paperreview_judgment.js
new file mode 100644
index 000000000..6a8155f2a
--- /dev/null
+++ b/public/react/src/modules/question/Paperreview_judgment.js
@@ -0,0 +1,110 @@
+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 Itembankstop from "./component/Itembankstop";
+import NoneData from './component/NoneData';
+import './questioncss/questioncom.css';
+import '../tpm/newshixuns/css/Newshixuns.css';
+
+//判断题
+class Paperreview_judgment extends Component {
+ constructor(props) {
+ super(props);
+
+ this.state = {
+ questions:0,
+ totalscore:0,
+ total:0,
+
+ }
+
+ }
+
+ //初始化
+ componentDidMount() {
+
+
+
+
+ }
+
+
+ getdata = (data) => {
+
+ }
+
+ preservation = () => {
+
+
+
+
+ }
+
+
+ setitem_type = (item_type) => {
+
+
+ }
+
+ render() {
+ let {questions,totalscore,total,items} = this.state;
+ // //console.log(params);
+ return (
+
+
+
+ {/*顶部*/}
+
+ {/*内容*/}
+ {/*
*/}
+
+ {/*
*/}
+ {/* {*/}
+ {/* items.item_type==="JUDGMENT"?*/}
+ {/* items === undefined ||items === null? "" : items.choices.map((object, index) => {*/}
+ {/* return (*/}
+ {/*
*/}
+ {/* */}
+ {/* {object.choice_text}*/}
+ {/* */}
+ {/*
*/}
+ {/* )*/}
+ {/* })*/}
+ {/* :*/}
+ {/* items === undefined ||items === null? "" : items.choices.map((object, index) => {*/}
+ {/* return (*/}
+ {/*
*/}
+ {/* {tagArray[index]}*/}
+ {/*
*/}
+ {/* */}
+ {/* )*/}
+ {/* })*/}
+ {/* }*/}
+
+ {/* */}
+ {/*
*/}
+
+ )
+
+ }
+
+
+}
+
+export default Paperreview_judgment
+
+
diff --git a/public/react/src/modules/question/Paperreview_multlple.js b/public/react/src/modules/question/Paperreview_multlple.js
new file mode 100644
index 000000000..74f100f71
--- /dev/null
+++ b/public/react/src/modules/question/Paperreview_multlple.js
@@ -0,0 +1,110 @@
+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 Itembankstop from "./component/Itembankstop";
+import NoneData from './component/NoneData';
+import './questioncss/questioncom.css';
+import '../tpm/newshixuns/css/Newshixuns.css';
+
+//多选题
+class Paperreview_multlple extends Component {
+ constructor(props) {
+ super(props);
+
+ this.state = {
+ questions:0,
+ totalscore:0,
+ total:0,
+
+ }
+
+ }
+
+ //初始化
+ componentDidMount() {
+
+
+
+
+ }
+
+
+ getdata = (data) => {
+
+ }
+
+ preservation = () => {
+
+
+
+
+ }
+
+
+ setitem_type = (item_type) => {
+
+
+ }
+
+ render() {
+ let {questions,totalscore,total,items} = this.state;
+ // //console.log(params);
+ return (
+
+
+
+ {/*顶部*/}
+
+ {/*内容*/}
+ {/*
*/}
+
+ {/*
*/}
+ {/* {*/}
+ {/* items.item_type==="JUDGMENT"?*/}
+ {/* items === undefined ||items === null? "" : items.choices.map((object, index) => {*/}
+ {/* return (*/}
+ {/*
*/}
+ {/* */}
+ {/* {object.choice_text}*/}
+ {/* */}
+ {/*
*/}
+ {/* )*/}
+ {/* })*/}
+ {/* :*/}
+ {/* items === undefined ||items === null? "" : items.choices.map((object, index) => {*/}
+ {/* return (*/}
+ {/*
*/}
+ {/* {tagArray[index]}*/}
+ {/*
*/}
+ {/* */}
+ {/* )*/}
+ {/* })*/}
+ {/* }*/}
+
+ {/* */}
+ {/*
*/}
+
+ )
+
+ }
+
+
+}
+
+export default Paperreview_multlple
+
+
diff --git a/public/react/src/modules/question/Paperreview_program.js b/public/react/src/modules/question/Paperreview_program.js
new file mode 100644
index 000000000..c8f847dbe
--- /dev/null
+++ b/public/react/src/modules/question/Paperreview_program.js
@@ -0,0 +1,110 @@
+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 Itembankstop from "./component/Itembankstop";
+import NoneData from './component/NoneData';
+import './questioncss/questioncom.css';
+import '../tpm/newshixuns/css/Newshixuns.css';
+
+//编程题
+class Paperreview_program extends Component {
+ constructor(props) {
+ super(props);
+
+ this.state = {
+ questions:0,
+ totalscore:0,
+ total:0,
+
+ }
+
+ }
+
+ //初始化
+ componentDidMount() {
+
+
+
+
+ }
+
+
+ getdata = (data) => {
+
+ }
+
+ preservation = () => {
+
+
+
+
+ }
+
+
+ setitem_type = (item_type) => {
+
+
+ }
+
+ render() {
+ let {questions,totalscore,total,items} = this.state;
+ // //console.log(params);
+ return (
+
+
+
+ {/*顶部*/}
+
+ {/*内容*/}
+ {/*
*/}
+
+ {/*
*/}
+ {/* {*/}
+ {/* items.item_type==="JUDGMENT"?*/}
+ {/* items === undefined ||items === null? "" : items.choices.map((object, index) => {*/}
+ {/* return (*/}
+ {/*
*/}
+ {/* */}
+ {/* {object.choice_text}*/}
+ {/* */}
+ {/*
*/}
+ {/* )*/}
+ {/* })*/}
+ {/* :*/}
+ {/* items === undefined ||items === null? "" : items.choices.map((object, index) => {*/}
+ {/* return (*/}
+ {/*
*/}
+ {/* {tagArray[index]}*/}
+ {/*
*/}
+ {/* */}
+ {/* )*/}
+ {/* })*/}
+ {/* }*/}
+
+ {/* */}
+ {/*
*/}
+
+ )
+
+ }
+
+
+}
+
+export default Paperreview_program
+
+
diff --git a/public/react/src/modules/question/Paperreview_single.js b/public/react/src/modules/question/Paperreview_single.js
new file mode 100644
index 000000000..95eee0163
--- /dev/null
+++ b/public/react/src/modules/question/Paperreview_single.js
@@ -0,0 +1,110 @@
+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 Itembankstop from "./component/Itembankstop";
+import NoneData from './component/NoneData';
+import './questioncss/questioncom.css';
+import '../tpm/newshixuns/css/Newshixuns.css';
+
+//单选题
+class Paperreview_single extends Component {
+ constructor(props) {
+ super(props);
+
+ this.state = {
+ questions:0,
+ totalscore:0,
+ total:0,
+
+ }
+
+ }
+
+ //初始化
+ componentDidMount() {
+
+
+
+
+ }
+
+
+ getdata = (data) => {
+
+ }
+
+ preservation = () => {
+
+
+
+
+ }
+
+
+ setitem_type = (item_type) => {
+
+
+ }
+
+ render() {
+ let {questions,totalscore,total,items} = this.state;
+ // //console.log(params);
+ return (
+
+
+
+ {/*顶部*/}
+
+ {/*内容*/}
+ {/*
*/}
+
+ {/*
*/}
+ {/* {*/}
+ {/* items.item_type==="JUDGMENT"?*/}
+ {/* items === undefined ||items === null? "" : items.choices.map((object, index) => {*/}
+ {/* return (*/}
+ {/*
*/}
+ {/* */}
+ {/* {object.choice_text}*/}
+ {/* */}
+ {/*
*/}
+ {/* )*/}
+ {/* })*/}
+ {/* :*/}
+ {/* items === undefined ||items === null? "" : items.choices.map((object, index) => {*/}
+ {/* return (*/}
+ {/*
*/}
+ {/* {tagArray[index]}*/}
+ {/*
*/}
+ {/* */}
+ {/* )*/}
+ {/* })*/}
+ {/* }*/}
+
+ {/* */}
+ {/*
*/}
+
+ )
+
+ }
+
+
+}
+
+export default Paperreview_single
+
+
diff --git a/public/react/src/modules/question/questioncss/questioncom.css b/public/react/src/modules/question/questioncss/questioncom.css
index 530078a95..cecb24763 100644
--- a/public/react/src/modules/question/questioncss/questioncom.css
+++ b/public/react/src/modules/question/questioncss/questioncom.css
@@ -5,7 +5,12 @@
box-shadow:0px 6px 8px 0px rgba(0,0,0,0.03);
border-radius:2px;
}
-
+.w1200wuh{
+ width:1062px;
+ background:rgba(255,255,255,1);
+ box-shadow:0px 6px 8px 0px rgba(0,0,0,0.03);
+ border-radius:2px;
+}
.w1200dbl{
width:1062px;
min-height:60px;
@@ -134,6 +139,12 @@
margin-left: 20px;
min-height:150px;
}
+.borderwdswuh{
+ width: 1020px !important;
+ background: #FFFFFF;
+ border: 1px solid #DDDDDD;
+ min-height:150px;
+}
.borderwds283{
width: 1020px !important;
min-height:283px;
@@ -628,3 +639,55 @@
font-size: 14px;
}
+.pagertdstcolor{
+ color: #888888;
+ font-size: 12px;
+}
+
+.mb19{
+ margin-bottom: 19px;
+}
+
+.yldxtit{
+ color: #333333;
+ font-size: 14px;
+
+}
+.yldxtits{
+ color: #888888;
+ font-size: 14px;
+}
+.mt25{
+ margin-top: 25px;
+}
+
+.postitonrelati{
+ position: relative;
+}
+.postitonrelatis{
+ position: absolute;
+ right: 2px;
+ top: 11px;
+}
+
+.szdfd{
+ width:88px;
+ height:34px;
+ background:rgba(51,189,140,1);
+ border-radius:4px 4px 0px 0px;
+ text-align: center;
+ color: #ffffff;
+ line-height: 32px;
+ margin-right: 27px;
+}
+.scd{
+ width:88px;
+ height:34px;
+ background:#4CACFF;
+ border-radius:4px 4px 0px 0px;
+ text-align: center;
+ color: #ffffff;
+ line-height: 32px;
+
+
+}